This commit is contained in:
2025-12-09 21:23:12 +02:00
parent c70ad02033
commit 0dabe39be9
15 changed files with 191 additions and 14 deletions

View File

@@ -220,17 +220,27 @@ bindsym $mod+Escape exec swaylock -f -c 000000
## Session // Sleep // <><Shift> s ##
bindsym $mod+Shift+s exec systemctl suspend
## Mouse // Toggle Position // <> q ##
#bindsym q exec /home/raga/repos/linux/sway-new-config/mouse-toggle.sh
###############################################################################
# Custom scripts (OSRS mode)
###############################################################################
## Mouse // Enable/Disable Toggle // <><Shift> o ##
bindsym $mod+Shift+o exec /home/raga/repos/linux/sway-new-config/mouse-toggle.sh toggle
set $osrs_scripts /home/raga/repos/linux/sway-new-config
set $osrs_mode OSRS
## Mouse // Start Autoclicker // <><Shift> a ##
bindsym $mod+Shift+a exec kitty -e /home/raga/repos/linux/sway-new-config/autoclicker.sh
bindsym f12 mode "$osrs_mode"
## Mouse // Stop Autoclicker // <> Escape ##
#bindsym Escape exec /home/raga/repos/linux/sway-new-config/autoclicker-stop.sh
mode "$osrs_mode" {
bindsym q exec $osrs_scripts/osrs-drop.sh
bindsym w exec $osrs_scripts/osrs-click.sh
bindsym o exec $osrs_scripts/mouse-toggle.sh toggle
bindsym a exec kitty -e $osrs_scripts/autoclicker.sh
#bindsym Escape exec $osrs_scripts/autoclicker-stop.sh
## Resize // Exit OSRS Mode // Escape or Enter ##
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym f12 mode "default"
}
###############################################################################
# System Management (Arch Linux alternatives)