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
|
# 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
|
# SSH Add - Should be started by profile instead
|
||||||
# exec eval `ssh-agent -a ${SSH_AUTH_SOCK}`
|
# exec eval `ssh-agent -a ${SSH_AUTH_SOCK}`
|
||||||
exec ssh-add &
|
exec ssh-add &
|
||||||
|
|
||||||
# Automatically restore last used output configuration
|
# Automatically restore last used output configuration
|
||||||
# TODO: Need to add fail-safe to script in case the outputs are unavailable
|
# 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
|
# Enable automatic color temperature change
|
||||||
exec ${HOME}/scripts/sway/gammastep.pl &
|
exec ${HOME}/scripts/sway/gammastep.pl &
|
||||||
|
|
|
@ -264,10 +264,10 @@ bindsym $mod+Shift+Backspace move container to workspace back_and_forth
|
||||||
|
|
||||||
### Function row
|
### Function row
|
||||||
|
|
||||||
# Escape: Blank screen
|
# Escape: Lock
|
||||||
bindsym $mod+Escape exec /usr/bin/sh -c 'sleep 1 ; /usr/bin/kill -USR1 swayidle'
|
bindsym $mod+Escape swaylock -c 000000
|
||||||
# Add Shift: Lock
|
# Add Shift: Blank screen
|
||||||
#bindsym $mod+Escape exec ~/.config/sway/swaylock.sh
|
bindsym $mod+Shift+Escape exec /usr/bin/sh -c "sleep 1 ; /usr/bin/kill -USR1 $(pgrep swayidle)"
|
||||||
|
|
||||||
# F1: Mute Audio
|
# F1: Mute Audio
|
||||||
bindsym $mod+F1 $HOME/scripts/audio/mute.sh
|
bindsym $mod+F1 $HOME/scripts/audio/mute.sh
|
||||||
|
|
|
@ -89,9 +89,6 @@ include $HOME/.dotfiles/sway/bindings
|
||||||
# Behaviour
|
# 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
|
# Allow movement of floating windows with Left Click+Drag
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue