aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-06-28 14:36:17 +0100
committerYann Herklotz <git@yannherklotz.com>2023-06-28 14:36:57 +0100
commit13885e75508d63bdceab27f88f67791351112ebb (patch)
tree5e783abcfb5a4237f467ed1058a33edd22b2d318
parent64d3bcf7719c96dc3f4eb37feebe18e21532e976 (diff)
downloaddotfiles-13885e75508d63bdceab27f88f67791351112ebb.tar.gz
dotfiles-13885e75508d63bdceab27f88f67791351112ebb.zip
Fix some sway options
-rw-r--r--sway/.config/sway/config10
1 files changed, 6 insertions, 4 deletions
diff --git a/sway/.config/sway/config b/sway/.config/sway/config
index 255b5a8..6377413 100644
--- a/sway/.config/sway/config
+++ b/sway/.config/sway/config
@@ -38,9 +38,9 @@ output * bg $HOME/Pictures/san-fran-bridge.jpg fill
# Example configuration:
#
exec swayidle -w \
- timeout 300 'swaylock -f -c 000000' \
- timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
- before-sleep 'swaylock -f -c 000000'
+ timeout 300 'swaylock -f --image DP-1:~/Dropbox/backgrounds/starry-night-church-blurred.jpg --image DP-2:~/Dropbox/backgrounds/starry-night-closeup-sun-blurred.jpg' \
+ timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
+ before-sleep 'swaylock -f --image DP-1:~/Dropbox/backgrounds/starry-night-church-blurred.jpg --image DP-2:~/Dropbox/backgrounds/starry-night-closeup-sun-blurred.jpg'
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
@@ -218,6 +218,8 @@ mode "resize" {
}
bindsym $mod+r mode "resize"
+bindsym $mod+l exec swaylock -f --image DP-1:~/Dropbox/backgrounds/starry-night-church-blurred.jpg --image DP-2:~/Dropbox/backgrounds/starry-night-closeup-sun-blurred.jpg
+
#
# Status Bar:
#
@@ -241,7 +243,7 @@ exec /usr/bin/nm-applet --indicator
include /etc/sway/config.d/*
-client.focused #00c266 #00c266 #000000 #99644c #00c266
+client.focused #00c266 #00c266 #000000 #00c266 #00c266
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
client.unfocused #333333 #222222 #888888 #292d2e #222222
client.urgent #2f343a #900000 #ffffff #900000 #900000