diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/awesome/rc.lua | 18 | ||||
-rw-r--r-- | config/awesome/themes/weasel/theme.lua | 2 |
2 files changed, 13 insertions, 7 deletions
diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index 362786a..11fca5e 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -195,7 +195,7 @@ for s = 1, screen.count() do -- Widgets that are aligned to the left local left_layout = wibox.layout.fixed.horizontal() - left_layout:add(mylauncher) + --left_layout:add(mylauncher) left_layout:add(mytaglist[s]) left_layout:add(mypromptbox[s]) @@ -292,8 +292,6 @@ globalkeys = awful.util.table.join( awful.key({ modkey, "Shift" }, "m", function () awful.util.spawn_with_shell("xterm-mail-cosy") end), awful.key({ modkey }, "i", function () awful.util.spawn_with_shell("xterm-irc") end), - awful.key({ "Control", "Mod1"}, "l", function () awful.util.spawn_with_shell("xscreensaver-command -lock") end), - awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer -q -D default sset Master 5%+", false) end), awful.key({ }, "XF86AudioLowerVolume", function () @@ -305,6 +303,11 @@ globalkeys = awful.util.table.join( awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer -q -D default sset Master toggle", false) end), + -- awful.key({ "Control", "Mod1"}, "End", function () awful.util.spawn_with_shell("xscreensaver-command -lock; sleep 1; systemctl suspend") end), + --awful.key({ "Control", "Mod1"}, "l", function () awful.util.spawn_with_shell("xscreensaver-command -lock") end), + -- awful.key({ "Control", "Mod1"}, "l", function () awful.util.spawn("xdg-screensaver lock") end), + awful.key({ "Control", "Mod1"}, "l", function () awful.util.spawn("loginctl lock-session") end), + awful.key({ "Control", "Mod1"}, "End", function () awful.util.spawn_with_shell("systemctl suspend -i; xdg-screensaver reset; loginctl unlock-session") end), -- awful.key( {"Ctrl"}, "Tab", revelation), @@ -455,8 +458,8 @@ client.connect_signal("manage", function (c, startup) awful.placement.no_offscreen(c) end - -- local titlebars_enabled = false - local titlebars_enabled = true + local titlebars_enabled = false + -- local titlebars_enabled = true if titlebars_enabled and (c.type == "normal" or c.type == "dialog") then -- buttons for the titlebar local buttons = awful.util.table.join( @@ -508,6 +511,9 @@ client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_n terminal = "urxvt" awful.util.spawn("nm-applet") -awful.util.spawn("xscreensaver -no-splash") +-- awful.util.spawn("xscreensaver -no-splash") +awful.util.spawn("X-screensaver") awful.util.spawn_with_shell("pkill -x -f clipit; clipit") awful.util.spawn_with_shell("pkill -x -f 'alsa-volume-monitor hw:0'; alsa-volume-monitor hw:0") + +-- vim:set softtabstop=2:ts=2:shiftwidth=2: diff --git a/config/awesome/themes/weasel/theme.lua b/config/awesome/themes/weasel/theme.lua index d491bd5..c88a704 100644 --- a/config/awesome/themes/weasel/theme.lua +++ b/config/awesome/themes/weasel/theme.lua @@ -19,7 +19,7 @@ theme.border_width = 1 theme.border_normal = "#222222" theme.border_focus = "#009966" -theme.tasklist_bg_urgent = "#662222" +theme.tasklist_bg_urgent = "#773333" theme.tasklist_bg_focus = "#363d4c" theme.wallpaper = "/usr/share/wallpapers/joy/contents/images/1920x1200.png" |