| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- # vim: ft=swayconfig
- # System Controls
- bindsym {
- $mod+Shift+r exec swaymsg reload && notify-send "Reloaded sway config"
- $mod+Shift+e exec --no-startup-id noctalia-shell ipc call sessionMenu toggle
- $mod+Escape exec ~/.local/bin/lock.sh
- }
- # Gestures
- bindgesture swipe:right focus right
- bindgesture swipe:left focus left
- bindgesture swipe:up workspace next
- bindgesture swipe:down workspace prev
- # Application Launchers
- bindsym {
- $mod+Return exec $term
- $mod+d exec ~/.config/tofi/scripts/drun.sh
- $mod+t exec ~/.local/bin/dev-launcher ~/Dev
- $mod+Shift+t exec ~/.local/bin/dev-launcher --no-cache ~/Dev
- $mod+n exec ~/.local/bin/sdm-ui.sh dmenu
- $mod+o exec ~/.local/bin/launch-or-focus obsidian "cd /home/forbi/Documents/Vault && $term --class obsidian nvim"
- $mod+e exec ~/.local/bin/launch-or-focus thunar
- $mod+y exec noctalia-shell ipc call launcher clipboard
- $mod+b exec rofi-rbw --action copy
- }
- # Window Management
- bindsym {
- $mod+c kill
- $mod+f fullscreen toggle
- $mod+space floating toggle
- # Layout
- $mod+s layout stacking
- $mod+w layout toggle tabbed split
- $mod+semicolon split h
- # Focus
- $mod+$left focus left
- $mod+$down focus down
- $mod+$up focus up
- $mod+$right focus right
- $mod+Left focus left
- $mod+Down focus down
- $mod+Up focus up
- $mod+Right focus right
- # Move
- $mod+Shift+$left move left
- $mod+Shift+$down move down
- $mod+Shift+$up move up
- $mod+Shift+$right move right
- $mod+Shift+Left move left
- $mod+Shift+Down move down
- $mod+Shift+Up move up
- $mod+Shift+Right move right
- }
- # Workspace Management
- bindsym {
- $mod+1 workspace $ws1
- $mod+2 workspace $ws2
- $mod+3 workspace $ws3
- $mod+4 workspace $ws4
- $mod+5 workspace $ws5
- $mod+6 workspace $ws6
- $mod+7 workspace $ws7
- $mod+8 workspace $ws8
- $mod+9 workspace $ws9
- $mod+0 workspace $ws10
- $mod+Shift+1 move container to workspace $ws1
- $mod+Shift+2 move container to workspace $ws2
- $mod+Shift+3 move container to workspace $ws3
- $mod+Shift+4 move container to workspace $ws4
- $mod+Shift+5 move container to workspace $ws5
- $mod+Shift+6 move container to workspace $ws6
- $mod+Shift+7 move container to workspace $ws7
- $mod+Shift+8 move container to workspace $ws8
- $mod+Shift+9 move container to workspace $ws9
- $mod+Shift+0 move container to workspace $ws10
- $mod+bracketright move workspace to output right
- $mod+bracketleft move workspace to output left
- }
- # Scratchpad
- bindsym {
- $mod+Shift+minus move scratchpad
- $mod+minus scratchpad show
- $mod+u [app_id="uy.com.mzunino"] scratchpad show, move position center, fullscreen disable, resize set 1366 768
- $mod+Shift+u exec --no-startup-id $term --class="uy.com.mzunino"
- }
- # Special Functions
- bindsym {
- $mod+r exec --no-startup-id noctalia-shell ipc call screenRecorder toggle
- $mod+p exec --no-startup-id grim -g "$(slurp -d)" - | swappy -f -
- $mod+shift+p exec --no-startup-id ~/.local/bin/screenshot-upload
- $mod+F5 exec --no-startup-id ~/.local/bin/pause-notifications
- $mod+shift+d exec ~/.local/bin/satty-window
- }
- bindsym {
- XF86AudioRaiseVolume exec --no-startup-id noctalia-shell ipc call volume increase
- XF86AudioLowerVolume exec --no-startup-id noctalia-shell ipc call volume decrease
- XF86AudioMute exec --no-startup-id noctalia-shell ipc call volume mute
- XF86MonBrightnessUp exec --no-startup-id noctalia-shell ipc call brightness increase
- XF86MonBrightnessDown exec --no-startup-id noctalia-shell ipc call brightness decrease
- }
- # Mouse Bindings
- bindsym {
- --border button2 kill
- --whole-window $mod+button2 kill
- button3 floating toggle
- $mod+button3 floating toggle
- }
|