vimrc rc.lua changes

This commit is contained in:
Simonas Narbutas
2019-02-10 18:52:39 +01:00
parent 3575af324b
commit 55207e8ed5
2 changed files with 8 additions and 1 deletions

1
.vimrc
View File

@@ -157,3 +157,4 @@ let g:go_highlight_build_constraints = 1
" YouCompleteMe extra_conf whitelist/blacklist " YouCompleteMe extra_conf whitelist/blacklist
let g:ycm_extra_conf_globlist = ['~/dev/*','~/sync/dev/*','!~/*'] let g:ycm_extra_conf_globlist = ['~/dev/*','~/sync/dev/*','!~/*']
au BufNewFile,BufRead /dev/shm/gopass.* setlocal noswapfile nobackup noundofile

View File

@@ -45,7 +45,7 @@ end
-- {{{ Variable definitions -- {{{ Variable definitions
-- Themes define colours, icons, font and wallpapers. -- Themes define colours, icons, font and wallpapers.
beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua") 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. -- This is used later as the default terminal and editor to run.
terminal = "termite" terminal = "termite"
editor = os.getenv("EDITOR") or "nano" 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, awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end,
{description = "select previous", group = "layout"}), {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 -- Display Brightness
awful.key({}, "XF86MonBrightnessUp", awful.key({}, "XF86MonBrightnessUp",
function () function ()