From e86a5927836b2bda995891de3dabc403a58e477d Mon Sep 17 00:00:00 2001 From: cool-mist Date: Mon, 5 Aug 2024 11:58:54 +0530 Subject: [PATCH] Update screensaver to 1 hour --- private_dot_config/awesome/rc.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/private_dot_config/awesome/rc.lua b/private_dot_config/awesome/rc.lua index 5bc8c97..77b471b 100644 --- a/private_dot_config/awesome/rc.lua +++ b/private_dot_config/awesome/rc.lua @@ -251,10 +251,10 @@ globalkeys = gears.table.join( -- Volume awful.key({ modkey }, "]", - function() awful.spawn.with_shell('pactl set-sink-volume (pactl get-default-sink) +5%') end, + function() awful.spawn.with_shell('pactl set-sink-volume `pactl get-default-sink` +5%') end, { description = "increase the volume", group = "volume" }), awful.key({ modkey }, "[", - function() awful.spawn.with_shell('pactl set-sink-volume (pactl get-default-sink) -5%') end, + function() awful.spawn.with_shell('pactl set-sink-volume `pactl get-default-sink` -5%') end, { description = "decrease the volume", group = "volume" }), -- Lock screen @@ -500,4 +500,5 @@ client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_n awful.spawn.with_shell('picom') awful.spawn.with_shell('nitrogen --restore') awful.spawn.with_shell('polybar') +awful.spawn.with_shell('xset s 3600 3600') -- set screen saver timeout to 1 hour -- awful.spawn.with_shell('pcloud')