fix sway config

This commit is contained in:
askiiart 2025-01-16 14:11:37 -06:00
parent 13719b00da
commit 1e1cb49269
Signed by untrusted user who does not match committer: askiiart
GPG key ID: 6A32977DAF31746A
2 changed files with 3 additions and 1 deletions
fish/conf.d
sway

View file

@ -60,3 +60,5 @@ exit(subprocess.getstatusoutput(f'git remote set-url {remote} {new_url}')[0])\""
alias venv="if ! test -d ./.venv/; python3 -m venv .venv; end; source ./.venv/bin/activate.fish" alias venv="if ! test -d ./.venv/; python3 -m venv .venv; end; source ./.venv/bin/activate.fish"
alias py-dep="pip install -r requirements.txt" alias py-dep="pip install -r requirements.txt"
alias sway="sway --unsupported-gpu"

View file

@ -31,7 +31,7 @@ set $mode_system System (l) lock, (e) logout, (r) reboot, (s) shutdown, (u) susp
mode "$mode_system" { mode "$mode_system" {
bindsym l exec --no-startup-id $lockwall, mode "default" bindsym l exec --no-startup-id $lockwall, mode "default"
bindsym e exec --no-startup-id swaymsg exit, mode "default" bindsym e exec --no-startup-id swaymsg exit, mode "default"
bindsym r exec --no-startup-id reboot, mode "default" bindsym r exec --no-startup-id systemctl reboot, mode "default"
bindsym s exec --no-startup-id shutdown now, mode "default" bindsym s exec --no-startup-id shutdown now, mode "default"
bindsym u exec --no-startup-id "swaylock -i ~/.config/sway/backgrounds/2560x1440.png -f; systemctl suspend", mode "default" bindsym u exec --no-startup-id "swaylock -i ~/.config/sway/backgrounds/2560x1440.png -f; systemctl suspend", mode "default"