This commit is contained in:
jay 2026-03-21 11:25:39 +08:00
parent c2377c584e
commit a4faab3db1

View File

@ -39,12 +39,13 @@ output * bg /home/jay/.config/sway/wallpaper.png fill
# #
# 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 -t get_outputs
exec --no-startup-id dbus-update-activation-environment --all exec systemctl --user import-environment
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
# exec_always xdg-desktop-portal -r # exec_always xdg-desktop-portal -r
# exec_always /usr/libexec/xdg-desktop-portal-wlr # exec_always /usr/libexec/xdg-desktop-portal-wlr
# exec env XDG_CONFIG_HOME=/home/jay/.config gentoo-pipewire-launcher restart & # exec env XDG_CONFIG_HOME=/home/jay/.config gentoo-pipewire-launcher restart &
exec_always kanshi exec_always kanshi
exec dex -a -e sway exec dex -a -e sway -s /etc/xdg/autostart/:~/.config/autostart/
exec mako exec mako
exec udiskie --smart-tray exec udiskie --smart-tray
@ -127,8 +128,8 @@ input type:touchpad {
bindsym XF86AudioNext exec playerctl next bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous bindsym XF86AudioPrev exec playerctl previous
bindsym XF86MonBrightnessUp exec "xbacklight -inc 5" bindsym XF86MonBrightnessUp exec "brightnessctl set 5%+"
bindsym XF86MonBrightnessDown exec "xbacklight -dec 5" bindsym XF86MonBrightnessDown exec "brightnessctl set 5%-"
# #
# Moving around: # Moving around:
# #
@ -244,8 +245,8 @@ mode "resize" {
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
# show sov # show sov
bindsym --no-repeat $mod+Shift+w exec "echo 1 > /tmp/sovpipe" #bindsym --no-repeat $mod+Shift+w exec "echo 1 > /tmp/sovpipe"
bindsym --release $mod+Shift+w exec "echo 0 > /tmp/sovpipe" #bindsym --release $mod+Shift+w exec "echo 0 > /tmp/sovpipe"
# show bindsym help # show bindsym help
bindsym $mod+Ctrl+h exec cat ~/.config/sway/config |grep bindsym |grep -v "#"| sed 's/^[[:space:]]*//'| wofi --dmenu bindsym $mod+Ctrl+h exec cat ~/.config/sway/config |grep bindsym |grep -v "#"| sed 's/^[[:space:]]*//'| wofi --dmenu