Sway updates
New swayidle behaviour (testing) Change lock/blank bindings No longer docking, so running displays.pl is safe.
This commit is contained in:
parent
d131e4f49d
commit
db00a05a9a
|
@ -4,13 +4,17 @@
|
|||
# Background utilities
|
||||
################################################################################
|
||||
|
||||
# Custom SwayIdle script
|
||||
#exec swayidle -w timeout 500 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' &
|
||||
exec ${HOME}/scripts/sway/idle.sh start &
|
||||
|
||||
# SSH Add - Should be started by profile instead
|
||||
# exec eval `ssh-agent -a ${SSH_AUTH_SOCK}`
|
||||
exec ssh-add &
|
||||
|
||||
# Automatically restore last used output configuration
|
||||
# TODO: Need to add fail-safe to script in case the outputs are unavailable
|
||||
#exec $HOME/scripts/sway/displays.pl &
|
||||
exec $HOME/scripts/sway/displays.pl &
|
||||
|
||||
# Enable automatic color temperature change
|
||||
exec ${HOME}/scripts/sway/gammastep.pl &
|
||||
|
|
|
@ -264,10 +264,10 @@ bindsym $mod+Shift+Backspace move container to workspace back_and_forth
|
|||
|
||||
### Function row
|
||||
|
||||
# Escape: Blank screen
|
||||
bindsym $mod+Escape exec /usr/bin/sh -c 'sleep 1 ; /usr/bin/kill -USR1 swayidle'
|
||||
# Add Shift: Lock
|
||||
#bindsym $mod+Escape exec ~/.config/sway/swaylock.sh
|
||||
# Escape: Lock
|
||||
bindsym $mod+Escape swaylock -c 000000
|
||||
# Add Shift: Blank screen
|
||||
bindsym $mod+Shift+Escape exec /usr/bin/sh -c "sleep 1 ; /usr/bin/kill -USR1 $(pgrep swayidle)"
|
||||
|
||||
# F1: Mute Audio
|
||||
bindsym $mod+F1 $HOME/scripts/audio/mute.sh
|
||||
|
|
|
@ -89,9 +89,6 @@ include $HOME/.dotfiles/sway/bindings
|
|||
# Behaviour
|
||||
################################################################################
|
||||
|
||||
# Custom SwayIdle script
|
||||
exec swayidle -w timeout 500 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' &
|
||||
|
||||
# Allow movement of floating windows with Left Click+Drag
|
||||
floating_modifier $mod
|
||||
|
||||
|
|
Loading…
Reference in New Issue