dotfiles update

This commit is contained in:
Simonas Narbutas
2018-12-20 12:57:56 +01:00
parent 4209643fd1
commit 70827f776a
5 changed files with 6 additions and 2 deletions

View File

@@ -364,7 +364,7 @@ globalkeys = gears.table.join(
-- Extend monitor
awful.key({ "Control", "Mod4" }, "e", function () awful.util.spawn("/home/snarbutas/.bin/multimonitor", false) end),
-- Lock computer
awful.key({ "Control", "Mod4" }, "l", function () awful.util.spawn("i3lock -c 000000 -i /home/snarbutas/Pictures/spiral1.png") end),
awful.key({ "Control", "Mod4" }, "l", function () awful.util.spawn("loginctl lock-session") end),
awful.key({ "Control", "Mod4", "Shift" }, "l",
function ()
awful.util.spawn("i3lock -c 000000 -i /home/snarbutas/Pictures/spiral1.png")
@@ -416,7 +416,7 @@ globalkeys = gears.table.join(
end),
awful.key({ "Control", "Mod4" }, "s",
function ()
awful.util.spawn_with_shell("sleep .1 && scrot -s '%d-%m-%y_%H:%M:%s_scrot.png' -e 'mv $f ~/Pictures/scrots/'", naughty.notify {text = "scrot complete", timeout = 0.5, bg = "#ad11c7"})
awful.util.spawn_with_shell("sleep .1 && scrot -s '%d-%m-%y_%H_%M_scrot.png' -e 'mv $f ~/Pictures/scrots/'", naughty.notify {text = "scrot complete", timeout = 0.5, bg = "#ad11c7"})
end),
awful.key({ modkey, "Control" }, "n",

View File

@@ -1,3 +1,4 @@
xss-lock -- i3lock -c 000000 -i /home/snarbutas/Pictures/spiral1.png &
xmodmap ~/.Xmodmap 2>~/.Xmodlog
ssh-agent -s > ~/.ssh/agent
exec awesome