Use long option names
This commit is contained in:
parent
38bf705a3c
commit
82cd587d18
7 changed files with 23 additions and 23 deletions
|
|
@ -32,15 +32,15 @@ include /etc/sway/config-vars.d/*
|
|||
#
|
||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||
#
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
# You can get the names of your outputs by running: swaymsg --type get_outputs
|
||||
|
||||
### Idle configuration
|
||||
#
|
||||
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaylock -f -c 000000' \
|
||||
timeout 300 'swaylock --daemonize --color 000000' \
|
||||
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'swaylock -f -c 000000'
|
||||
before-sleep 'swaylock --daemonize --color 000000'
|
||||
|
||||
# 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
|
||||
|
|
@ -58,7 +58,7 @@ input type:touchpad {
|
|||
tap enabled
|
||||
}
|
||||
|
||||
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||
# You can get the names of your inputs by running: swaymsg --type get_inputs
|
||||
# Read `man 5 sway-input` for more information about this section.
|
||||
|
||||
### Key bindings
|
||||
|
|
@ -99,9 +99,9 @@ input type:touchpad {
|
|||
|
||||
# Lock screen
|
||||
# Black
|
||||
bindsym $wm_mod+l exec swaylock -f -c 000000
|
||||
bindsym $wm_mod+l exec swaylock --daemonize --color 000000
|
||||
# Random color
|
||||
bindsym $wm_mod+semicolon exec swaylock -f -c $(dd if=/dev/urandom bs=1 count=3 2>/dev/null | hexdump -e '"%02x"')
|
||||
bindsym $wm_mod+semicolon exec swaylock --daemonize --color $(dd if=/dev/urandom bs=1 count=3 2>/dev/null | hexdump --format '"%02x"')
|
||||
|
||||
# Exit sway (logs you out of your Wayland session)
|
||||
bindsym $wm_mod+Delete exec leave
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue