Window transparency effects
This commit is contained in:
parent
ca31d026d4
commit
a84afb1d65
|
@ -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 &
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue