From fc723e1ce615a3d1685b2f209c10cdeaa4e81747 Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Sat, 13 Nov 2021 14:39:33 +0300 Subject: [PATCH] [~] Refactor --- dotfiles/.Xresources | 1 + dotfiles/.config/awesome/rc.lua | 2 ++ 2 files changed, 3 insertions(+) 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"}),