[feat] update
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
# Read `man 5 sway` for a complete reference.
|
||||
|
||||
font JetBrainsMono Nerd Font 10
|
||||
font JetBrainsMono Nerd Font 12
|
||||
|
||||
### Variables
|
||||
#
|
||||
@@ -43,6 +43,7 @@ exec_always /usr/libexec/xdg-desktop-portal-wlr
|
||||
exec_always kanshi
|
||||
exec dex -a -e sway
|
||||
exec mako
|
||||
exec udiskie --smart-tray
|
||||
|
||||
# for sway overview
|
||||
# exec_always rm -f /tmp/sovpipe && mkfifo /tmp/sovpipe && tail -f /tmp/sovpipe | sov -t 100
|
||||
@@ -52,9 +53,9 @@ exec mako
|
||||
# Example configuration:
|
||||
#
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaylock -f -i ~/.config/swaylock/bg.png -s fill' \
|
||||
timeout 300 'swaylock -f -i ~/.config/sway/bg2.png -s fill' \
|
||||
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||
before-sleep 'swaylock -f -i ~/.config/swaylock/bg.png -s fill'
|
||||
before-sleep 'swaylock -f -i ~/.config/sway/bg2.png -s fill'
|
||||
|
||||
# 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
|
||||
@@ -106,7 +107,7 @@ input type:touchpad {
|
||||
# Reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
|
||||
bindsym $mod+Shift+x exec swaylock -f -i ~/.config/swaylock/bg.png -s fill
|
||||
bindsym $mod+Shift+x exec swaylock -f -i ~/.config/sway/bg2.png -s fill
|
||||
|
||||
# Exit sway (logs you out of your Wayland session)
|
||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
|
||||
|
||||
Reference in New Issue
Block a user