monitor swapping scripts

This commit is contained in:
2025-12-20 22:56:25 -06:00
parent 924eecc497
commit aa2cdc134e
5 changed files with 19 additions and 16 deletions
+12 -5
View File
@@ -58,6 +58,12 @@ exec-once = waybar
env = HYPRCURSOR_THEME,rose-pine-hyprcursor
env = HYPRCURSOR_SIZE,18
####################
### SCRIPT PATHS ###
####################
switchFocus = "~/.config/hypr/scripts/switch-to-unfocused-monitor.sh"
moveAndSwitch = "~/.config/hypr/scripts/move-workspace-to-unfocused-monitor"
#####################
### LOOK AND FEEL ###
@@ -205,13 +211,14 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Move workspace to next monitor (right)
bind = $mainMod SHIFT, TAB, movecurrentworkspacetomonitor, r
# Move workspace to unfocused monitor (Does not currently support more than two monitors)
bind = $mainMod SHIFT, TAB, exec, $moveAndSwitch
# Move focus to next monitor (right)
bind = $mainMod, TAB, focusmonitor, r
# Switch to unfocused monitor (Does not currently support more than two monitors)
bind = $mainMod, TAB, exec, $switchFocus
# Rotate screen with arrows //TODO: only works on builtin display (see scripts)
# Rotate screen with arrows
# TODO: only works on builtin display (see scripts)
bind = $mainMod SHIFT, up, exec, hyprctl keyword monitor "eDP-1,preferred,auto,1,transform,0"
bind = $mainMod SHIFT, down, exec, hyprctl keyword monitor "eDP-1,preferred,auto,1,transform,2"
bind = $mainMod SHIFT, left, exec, hyprctl keyword monitor "eDP-1,preferred,auto,1,transform,1"