Skip to content

u/fallen1011

In this archive from Jul 2014 to Mar 2026

12
posts
59
comments
1
media
138
score
1 saved before deletion

Top posts

Top comments

this can be fixed and this is what i do:

# Monitor-local 1–9

bind = SUPER, 1, exec, bash -lc 's=1; m=$(hyprctl monitors -j | jq -r ".[]|select(.focused)|.name"); b=0; [ "$m" = DP-2 ] && b=10; [ "$m" = DP-3 ] && b=20; hyprctl dispatch workspace $((b+s))'

bind = SUPER, 2, exec, bash -lc 's=2; m=$(hyprctl monitors -j | jq -r ".[]|select(.focused)|.name"); b=0; [ "$m" = DP-2 ] && b=10; [ "$m" = DP-3 ] && b=20; hyprctl dispatch workspace $((b+s))'

bind = SUPER, 3, exec, bash -lc 's=3; m=$(hyprctl monitors -j | jq -r ".[]|select(.focused)|.name"); b=0; [ "$m" = DP-2 ] && b=10; [ "$m" = DP-3 ] && b=20; hyprctl dispatch workspace $((b+s))'

bind = SUPER, 4, exec, bash -lc 's=4; m=$(hyprctl monitors -j | jq -r ".[]|select(.focused)|.name"); b=0; [ "$m" = DP-2 ] && b=10; [ "$m" = DP-3 ] && b=20; hyprctl dispatch workspace $((b+s))'

bind = SUPER, 5, exec, bash -lc 's=5; m=$(hyprctl monitors -j | jq -r ".[]|select(.focused)|.name"); b=0; [ "$m" = DP-2 ] && b=10; [ "$m" = DP-3 ] && b=20; hyprctl dispatch workspace $((b+s))'

bind = SUPER, 6, exec, bash -lc 's=6; m=$(hyprctl monitors -j | jq -r ".[]|select(.focused)|.name"); b=0; [ "$m" = DP-2 ] && b=10; [ "$m" = DP-3 ] && b=20; hyprctl dispatch workspace $((b+s))'

bind = SUPER, 7, exec, bash -lc 's=7; m=$(hyprctl monitors -j | jq -r ".[]|select(.focused)|.name"); b=0; [ "$m" = DP-2 ] && b=10; [ "$m" = DP-3 ] && b=20; hyprctl dispatch workspace $((b+s))'

bind = SUPER, 8, exec, bash -lc 's=8; m=$(hyprctl monitors -j | jq -r ".[]|select(.focused)|.name"); b=0; [ "$m" = DP-2 ] && b=10; [ "$m" = DP-3 ] && b=20; hyprctl dispatch workspace $((b+s))'

bind = SUPER, 9, exec, bash -lc 's=9; m=$(hyprctl monitors -j | jq -r ".[]|select(.focused)|.name"); b=0; [ "$m" = DP-2 ] && b=10; [ "$m" = DP-3 ] && b=20; hyprctl dispatch workspace $((b+s))'

bind = SUPER_CTRL, 1, exec, bash -lc 'm=DP-1; ws=$(hyprctl monitors -j | jq -r --arg m "$m" ".[]|select(.name==\"$m\")|.activeWorkspace.name"); [ -n "$ws" ] && hyprctl dispatch movetoworkspace "$ws"'

bind = SUPER_CTRL, 2, exec, bash -lc 'm=DP-2; ws=$(hyprctl monitors -j | jq -r --arg m "$m" ".[]|select(.name==\"$m\")|.activeWorkspace.name"); [ -n "$ws" ] && hyprctl dispatch movetoworkspace "$ws"'

bind = SUPER_CTRL, 3, exec, bash -lc 'm=DP-3; ws=$(hyprctl monitors -j | jq -r --arg m "$m" ".[]|select(.name==\"$m\")|.activeWorkspace.name"); [ -n "$ws" ] && hyprctl dispatch movetoworkspace "$ws"'

bind = SUPERSHIFT, 1, exec, bash -lc 's=1; ws=$(hyprctl activewindow -j | jq -r ".workspace.name"); b=0; [[ "$ws" =~ ^1[0-9]$ ]] && b=10; [[ "$ws" =~ ^2[0-9]$ ]] && b=20; hyprctl dispatch movetoworkspace $((b+s))'

bind = SUPERSHIFT, 2, exec, bash -lc 's=2; ws=$(hyprctl activewindow -j | jq -r ".workspace.name"); b=0; [[ "$ws" =~ ^1[0-9]$ ]] && b=10; [[ "$ws" =~ ^2[0-9]$ ]] && b=20; hyprctl dispatch movetoworkspace $((b+s))'

bind = SUPERSHIFT, 3, exec, bash -lc 's=3; ws=$(hyprctl activewindow -j | jq -r ".workspace.name"); b=0; [[ "$ws" =~ ^1[0-9]$ ]] && b=10; [[ "$ws" =~ ^2[0-9]$ ]] && b=20; hyprctl dispatch movetoworkspace $((b+s))'

bind = SUPERSHIFT, 4, exec, bash -lc 's=4; ws=$(hyprctl activewindow -j | jq -r ".workspace.name"); b=0; [[ "$ws" =~ ^1[0-9]$ ]] && b=10; [[ "$ws" =~ ^2[0-9]$ ]] && b=20; hyprctl dispatch movetoworkspace $((b+s))'

bind = SUPERSHIFT, 5, exec, bash -lc 's=5; ws=$(hyprctl activewindow -j | jq -r ".workspace.name"); b=0; [[ "$ws" =~ ^1[0-9]$ ]] && b=10; [[ "$ws" =~ ^2[0-9]$ ]] && b=20; hyprctl dispatch movetoworkspace $((b+s))'

bind = SUPERSHIFT, 6, exec, bash -lc 's=6; ws=$(hyprctl activewindow -j | jq -r ".workspace.name"); b=0; [[ "$ws" =~ ^1[0-9]$ ]] && b=10; [[ "$ws" =~ ^2[0-9]$ ]] && b=20; hyprctl dispatch movetoworkspace $((b+s))'

bind = SUPERSHIFT, 7, exec, bash -lc 's=7; ws=$(hyprctl activewindow -j | jq -r ".workspace.name"); b=0; [[ "$ws" =~ ^1[0-9]$ ]] && b=10; [[ "$ws" =~ ^2[0-9]$ ]] && b=20; hyprctl dispatch movetoworkspace $((b+s))'

bind = SUPERSHIFT, 8, exec, bash -lc 's=8; ws=$(hyprctl activewindow -j | jq -r ".workspace.name"); b=0; [[ "$ws" =~ ^1[0-9]$ ]] && b=10; [[ "$ws" =~ ^2[0-9]$ ]] && b=20; hyprctl dispatch movetoworkspace $((b+s))'

bind = SUPERSHIFT, 9, exec, bash -lc 's=9; ws=$(hyprctl activewindow -j | jq -r ".workspace.name"); b=0; [[ "$ws" =~ ^1[0-9]$ ]] && b=10; [[ "$ws" =~ ^2[0-9]$ ]] && b=20; hyprctl dispatch movetoworkspace $((b+s))'

8 points

It may seem non-trivial to me, but that’s partly a matter of perspective. Hyprctl is extremely extensive in what it can do. It essentially acts as a scripting interface that lets you communicate directly with your compositor—something most environments don’t really allow.

A good way to think about it is with a car analogy. If you learn how cars work and become a mechanic, you can fix or modify most problems yourself. However, some cars are very proprietary and locked down, so you can’t really access or change much.

Hyprland is more like an open car. If you’re willing to learn how it works, it gives you the tools to modify almost anything. Instead of features being locked away, you can usually implement what you want yourself, even if it’s not provided out of the box.

In many cases, the gap between “I want this feature” and “I have this feature” is just writing a small Bash script. With many other desktop environments or window managers, that kind of flexibility simply isn’t possible.

Hyprland effectively gives you an API, while most other environments only give you a configuration file. Once you understand that distinction, you start to see the real power and potential it provides.

4 points

normal keybinds that move the active or selected window that i want to move. heres what i have below.

# Move focus with mainMod + arrow keys

bind = $mainMod, left, movefocus, l

bind = $mainMod, right, movefocus, r

bind = $mainMod, up, movefocus, u

bind = $mainMod, down, movefocus, d

# Native relative workspace navigation / move

bind = SUPER, U, workspace, e+1

bind = SUPER, I, workspace, e-1

bind = SUPER CTRL, U, movetoworkspace, e+1

bind = SUPER CTRL, I, movetoworkspace, e-1

3 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.