From 55207e8ed59254474f25aafd987d9cda4ae68e01 Mon Sep 17 00:00:00 2001 From: Simonas Narbutas Date: Sun, 10 Feb 2019 18:52:39 +0100 Subject: [PATCH] vimrc rc.lua changes --- .vimrc | 1 + .yadm/alt/.config/awesome/rc.lua##Linux.epiphanius | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index c8240f1..3d5d54d 100644 --- a/.vimrc +++ b/.vimrc @@ -157,3 +157,4 @@ let g:go_highlight_build_constraints = 1 " YouCompleteMe extra_conf whitelist/blacklist let g:ycm_extra_conf_globlist = ['~/dev/*','~/sync/dev/*','!~/*'] +au BufNewFile,BufRead /dev/shm/gopass.* setlocal noswapfile nobackup noundofile diff --git a/.yadm/alt/.config/awesome/rc.lua##Linux.epiphanius b/.yadm/alt/.config/awesome/rc.lua##Linux.epiphanius index 65e0d17..3e9072c 100644 --- a/.yadm/alt/.config/awesome/rc.lua##Linux.epiphanius +++ b/.yadm/alt/.config/awesome/rc.lua##Linux.epiphanius @@ -45,7 +45,7 @@ end -- {{{ Variable definitions -- Themes define colours, icons, font and wallpapers. beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua") -beautiful.wallpaper = "/home/snarbutas/Pictures/loveyourlegs.jpg" +beautiful.wallpaper = "/home/snarbutas/Pictures/pineapple_wp.jpg" -- This is used later as the default terminal and editor to run. terminal = "termite" editor = os.getenv("EDITOR") or "nano" @@ -353,6 +353,12 @@ globalkeys = gears.table.join( awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end, {description = "select previous", group = "layout"}), + -- Rofi gopass + awful.key({ modkey, "Shift" }, "p", + function () + awful.util.spawn("/home/snarbutas/.bin/rofipass") + end , + {description = "Show pass", group = "launcher"}), -- Display Brightness awful.key({}, "XF86MonBrightnessUp", function ()