AutoYADM commit: 2025-01-22 13:40:07
This commit is contained in:
parent
b91869e839
commit
e0a4daea1f
2 changed files with 254 additions and 0 deletions
|
@ -18,6 +18,7 @@ set $menu tofi-run | xargs swaymsg exec --
|
|||
set $drun tofi-drun --drun-launch=true
|
||||
set $wallpaper ~/Pictures/wallpapers/sidonia-blurred.png
|
||||
|
||||
set $present /home/fic/.config/sway/wl-present.sh
|
||||
set $lockcmd swaylock -c 121212 -e -f -F
|
||||
set $exitcmd echo -e "No\nYes" | tofi --prompt-text="u sure u wanna exit lil bro?: " | grep -q Yes && swaymsg exit
|
||||
|
||||
|
@ -261,6 +262,24 @@ mode "resize" {
|
|||
bindsym Escape mode "default"
|
||||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
mode "present" {
|
||||
# command starts mirroring
|
||||
bindsym m mode "default"; exec $present mirror
|
||||
# these commands modify an already running mirroring window
|
||||
bindsym o mode "default"; exec $present set-output
|
||||
bindsym r mode "default"; exec $present set-region
|
||||
bindsym Shift+r mode "default"; exec $present unset-region
|
||||
bindsym s mode "default"; exec $present set-scaling
|
||||
bindsym f mode "default"; exec $present toggle-freeze
|
||||
bindsym c mode "default"; exec $present custom
|
||||
|
||||
# return to default mode
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
bindsym $mod+p mode "present"
|
||||
|
||||
#
|
||||
# Utilities:
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue