diff --git a/dotfiles/.Xresources b/dotfiles/.Xresources index 038b4a1..ee2b158 100644 --- a/dotfiles/.Xresources +++ b/dotfiles/.Xresources @@ -4,3 +4,4 @@ XTerm.vt100.saveLines: 4096 XTerm.vt100.scrollBar: true XTerm.vt100.scrollBar.width: 8 XTerm.vt100.faceName: Terminus Regular:size=10:antialias=false +Xterm.vt100.selectToClipboard: true diff --git a/dotfiles/.config/awesome/rc.lua b/dotfiles/.config/awesome/rc.lua index 353452c..df55a66 100644 --- a/dotfiles/.config/awesome/rc.lua +++ b/dotfiles/.config/awesome/rc.lua @@ -280,6 +280,8 @@ globalkeys = gears.table.join( {description = "flameshot", group = "launcher"}), awful.key({ modkey, }, "space", function () mykeyboardlayout.next_layout() end, {description = "next layout", group = "keyboard"}), + awful.key({ modkey }, "l", function () awful.spawn("sh -c 'sleep 0.3 && xset dpms force off && slock' &") end, + {description = "screen lock", group = "dpms"}), awful.key({ modkey, "Control" }, "r", awesome.restart, {description = "reload awesome", group = "awesome"}),