aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlista Kanjo2023-02-04 00:34:01 -0500
committerBlista Kanjo2023-02-04 00:34:01 -0500
commitfaa49ca4c1d6e10288eb10b93dc6d36c3681660f (patch)
tree6dbe7120cac0e14b5fbf685a1e26b40cbfcbfaa3
parent291fe90e10eb8da2386206d3fcbc7dd488a31dba (diff)
refactor: updated xset menu descriptions to match actual commands and migrated to i3lock-fancy
-rwxr-xr-x.config/awesome/autorun.sh4
-rw-r--r--.config/awesome/rc.lua58
2 files changed, 31 insertions, 31 deletions
diff --git a/.config/awesome/autorun.sh b/.config/awesome/autorun.sh
index 26e8284..042a31f 100755
--- a/.config/awesome/autorun.sh
+++ b/.config/awesome/autorun.sh
@@ -8,7 +8,7 @@ run () {
}
#run picom --experimental-backends
-run picom
+run picom -b
run nitrogen --restore
run volumeicon
# run lxsession
@@ -34,7 +34,7 @@ run /usr/bin/gnome-keyring-daemon --start --components=pkcs11
run /usr/bin/gnome-keyring-daemon --start --components=secrets
run /usr/bin/gnome-keyring-daemon --start --components=ssh
# run xfce4-power-manager
-run xss-lock slock
+run xss-lock i3lock-fancy
run dunst
run ~/.config/awesome/xinput-daemon.sh
run ~/.config/awesome/keymapper.sh
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index 9425c36..008c5cc 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -63,38 +63,38 @@ awful.layout.layouts = {
-- Create a launcher widget and a main menu
s_menu = {
{ "off", function() awful.spawn.easy_async_with_shell("xset s off") end },
- { "10 # seconds", function() awful.spawn.easy_async_with_shell("xset s 10") end },
- { "30 # seconds", function() awful.spawn.easy_async_with_shell("xset s 30") end },
- { "60 # seconds", function() awful.spawn.easy_async_with_shell("xset s 60") end },
- { "3 # minutes", function() awful.spawn.easy_async_with_shell("xset s 180") end },
- { "5 # minutes", function() awful.spawn.easy_async_with_shell("xset s 300") end },
- { "10 # minutes", function() awful.spawn.easy_async_with_shell("xset s 600") end },
- { "15 # minutes", function() awful.spawn.easy_async_with_shell("xset s 900") end },
- { "30 # minutes", function() awful.spawn.easy_async_with_shell("xset s 1800") end },
- { "45 # minutes", function() awful.spawn.easy_async_with_shell("xset s 2700") end },
- { "60 # minutes", function() awful.spawn.easy_async_with_shell("xset s 3600") end },
- { "2 # hours", function() awful.spawn.easy_async_with_shell("xset s 7200") end },
- { "3 # hours", function() awful.spawn.easy_async_with_shell("xset s 10800") end },
- { "4 # hours", function() awful.spawn.easy_async_with_shell("xset s 14400") end },
- { "6 # hours", function() awful.spawn.easy_async_with_shell("xset s 21600") end },
+ { "10 # 10s", function() awful.spawn.easy_async_with_shell("xset s 10") end },
+ { "30 # 30s", function() awful.spawn.easy_async_with_shell("xset s 30") end },
+ { "60 # 1m", function() awful.spawn.easy_async_with_shell("xset s 60") end },
+ { "180 # 3m", function() awful.spawn.easy_async_with_shell("xset s 180") end },
+ { "300 # 5m", function() awful.spawn.easy_async_with_shell("xset s 300") end },
+ { "600 # 10m", function() awful.spawn.easy_async_with_shell("xset s 600") end },
+ { "900 # 15m", function() awful.spawn.easy_async_with_shell("xset s 900") end },
+ { "1800 # 30m", function() awful.spawn.easy_async_with_shell("xset s 1800") end },
+ { "2700 # 45m", function() awful.spawn.easy_async_with_shell("xset s 2700") end },
+ { "3600 # 1h", function() awful.spawn.easy_async_with_shell("xset s 3600") end },
+ { "7200 # 2h", function() awful.spawn.easy_async_with_shell("xset s 7200") end },
+ { "10800 # 3h", function() awful.spawn.easy_async_with_shell("xset s 10800") end },
+ { "14400 # 4h", function() awful.spawn.easy_async_with_shell("xset s 14400") end },
+ { "21600 # 6h", function() awful.spawn.easy_async_with_shell("xset s 21600") end },
}
dpms_menu = {
{ "off", function() awful.spawn.easy_async_with_shell("xset -dpms") end },
- { "10 # seconds", function() awful.spawn.easy_async_with_shell("xset dpms 10") end },
- { "30 # seconds", function() awful.spawn.easy_async_with_shell("xset dpms 30") end },
- { "60 # seconds", function() awful.spawn.easy_async_with_shell("xset dpms 60") end },
- { "3 # minutes", function() awful.spawn.easy_async_with_shell("xset dpms 180") end },
- { "5 # minutes", function() awful.spawn.easy_async_with_shell("xset dpms 300") end },
- { "10 # minutes", function() awful.spawn.easy_async_with_shell("xset dpms 600") end },
- { "15 # minutes", function() awful.spawn.easy_async_with_shell("xset dpms 900") end },
- { "30 # minutes", function() awful.spawn.easy_async_with_shell("xset dpms 1800") end },
- { "45 # minutes", function() awful.spawn.easy_async_with_shell("xset dpms 2700") end },
- { "60 # minutes", function() awful.spawn.easy_async_with_shell("xset dpms 3600") end },
- { "2 # hours", function() awful.spawn.easy_async_with_shell("xset dpms 7200") end },
- { "3 # hours", function() awful.spawn.easy_async_with_shell("xset dpms 10800") end },
- { "4 # hours", function() awful.spawn.easy_async_with_shell("xset dpms 14400") end },
- { "6 # hours", function() awful.spawn.easy_async_with_shell("xset dpms 21600") end },
+ { "10 # 10s", function() awful.spawn.easy_async_with_shell("xset dpms 10") end },
+ { "30 # 30s", function() awful.spawn.easy_async_with_shell("xset dpms 30") end },
+ { "60 # 1m", function() awful.spawn.easy_async_with_shell("xset dpms 60") end },
+ { "180 # 3m", function() awful.spawn.easy_async_with_shell("xset dpms 180") end },
+ { "300 # 5m", function() awful.spawn.easy_async_with_shell("xset dpms 300") end },
+ { "600 # 10m", function() awful.spawn.easy_async_with_shell("xset dpms 600") end },
+ { "900 # 15m", function() awful.spawn.easy_async_with_shell("xset dpms 900") end },
+ { "1800 # 30m", function() awful.spawn.easy_async_with_shell("xset dpms 1800") end },
+ { "2700 # 45m", function() awful.spawn.easy_async_with_shell("xset dpms 2700") end },
+ { "3600 # 1h", function() awful.spawn.easy_async_with_shell("xset dpms 3600") end },
+ { "7200 # 2h", function() awful.spawn.easy_async_with_shell("xset dpms 7200") end },
+ { "10800 # 3h", function() awful.spawn.easy_async_with_shell("xset dpms 10800") end },
+ { "14400 # 4h", function() awful.spawn.easy_async_with_shell("xset dpms 14400") end },
+ { "21600 # 6h", function() awful.spawn.easy_async_with_shell("xset dpms 21600") end },
}
myawesomemenu = {
@@ -116,7 +116,7 @@ myawesomemenu = {
{ "stagnate", function() awful.spawn.easy_async_with_shell("sh -c 'systemctl hibernate'") end},
{ "suspend", function() awful.spawn.easy_async_with_shell("sh -c 'systemctl suspend'") end},
{ "logout", function () awful.spawn("sh -c 'pkill -9 -u $USER'") end },
- { "lock", function() awful.spawn.easy_async_with_shell("sh -c 'slock'") end},
+ { "lock", function() awful.spawn.easy_async_with_shell("sh -c 'i3lock-fancy'") end},
}