Window transparency effects

This commit is contained in:
John Mertz 2022-09-23 22:36:35 -04:00
parent ca31d026d4
commit a84afb1d65
2 changed files with 5 additions and 2 deletions

View File

@ -4,6 +4,9 @@
# Background utilities
################################################################################
# Window transparency
exec ${HOME}/scripts/sway/window-transparency.py
# Custom SwayIdle script
exec swayidle -w timeout 500 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' &
#exec ${HOME}/scripts/sway/idle.sh start &

View File

@ -274,9 +274,9 @@ bindsym $mod+Shift+Backspace move container to workspace back_and_forth
### Function row
# Escape: Lock
bindsym $mod+Escape swaylock -c 000000
bindsym $mod+Escape exec /usr/bin/kill -SIGUSR1 `cat ${HOME}/.spool/sway-transparency`
# Add Shift: Blank screen
bindsym $mod+Shift+Escape exec /usr/bin/sh -c "sleep 1 ; /usr/bin/kill -USR1 $(pgrep swayidle)"
bindsym $mod+Shift+Escape exec /usr/bin/sh -c "sleep 1 ; /usr/bin/kill -SIGUSR1 $(pgrep swayidle)"
# F1: Mute Audio
bindsym $mod+F1 $HOME/scripts/audio/mute.sh