sway: add gaps, add swaylock
This commit is contained in:
parent
fd797568b0
commit
1e7376fcfd
|
@ -22,7 +22,7 @@ set $MON1 "HDMI-A-1"
|
||||||
# Note: it's recommended that you pass the final command to sway
|
# Note: it's recommended that you pass the final command to sway
|
||||||
#set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
#set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||||
#set $menu wofi --show drun -p Search -n -i -I -W 66% -s $HOME/.config/wofi.css
|
#set $menu wofi --show drun -p Search -n -i -I -W 66% -s $HOME/.config/wofi.css
|
||||||
set $menu tofi-drun --num-results 7 | xargs swaymsg exec --
|
set $menu tofi-drun | xargs swaymsg exec --
|
||||||
set $dmenu tofi-run | xargs swaymsg exec --
|
set $dmenu tofi-run | xargs swaymsg exec --
|
||||||
|
|
||||||
#xwayland disable
|
#xwayland disable
|
||||||
|
@ -56,6 +56,11 @@ output eDP-1 scale 1.2
|
||||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
# 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
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
# resumed. It will also lock your screen before your computer goes to sleep.
|
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||||
|
exec swayidle -w \
|
||||||
|
timeout 300 'swaylock -f -c 000000' \
|
||||||
|
timeout 600 'swaymsg "output * dpms off"' \
|
||||||
|
resume 'swaymsg "output * dpms on"' \
|
||||||
|
before-sleep 'swaylock -f -c 000000'
|
||||||
|
|
||||||
### Input configuration
|
### Input configuration
|
||||||
#
|
#
|
||||||
|
@ -78,6 +83,7 @@ input "1003:8258:MNT_Reform_Keyboard" {
|
||||||
|
|
||||||
default_border pixel 2
|
default_border pixel 2
|
||||||
hide_edge_borders both
|
hide_edge_borders both
|
||||||
|
gaps inner 8
|
||||||
|
|
||||||
### Key bindings
|
### Key bindings
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue