fix sway config
This commit is contained in:
parent
13719b00da
commit
1e1cb49269
2 changed files with 3 additions and 1 deletions
|
@ -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"
|
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue