1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

hyperland

This commit is contained in:
Henrik Hautakoski 2024-06-08 16:51:14 +02:00
parent a40dec6595
commit 6ae28327e0

View file

@ -84,6 +84,8 @@ misc {
}
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
windowrulev2 = workspace 2, class:firefox
windowrulev2 = workspace 5, class:org.telegram.desktop.*
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
@ -92,7 +94,7 @@ $mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Return, exec, $terminal
bind = $mainMod, X, killactive,
bind = $mainMod, M, exit,
#bind = $mainMod, M, exit,
bind = $mainMod, F, togglefloating,
bind = $mainMod, D, exec, $menu
bind = $mainMod, P, exec, $run_prog
@ -100,9 +102,13 @@ bind = $mainMod, V, togglesplit, # dwindle
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, H, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, L, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, K, movefocus, u
bind = $mainMod, down, movefocus, d
bind = $mainMod, J, movefocus, d
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
@ -127,12 +133,20 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
#bind = $mainMod, S, togglespecialworkspace, magic
#bind = $mainMod SHIFT, S, movetoworkspace, special:magic
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Wallpaper
exec-once=swaybg -i /usr/share/backgrounds/majestic-mountain-peak-reflected-flowing-blue-water-generative-ai.jpg
# Bar
exec-once=waybar
# Programs
exec-once=nm-applet
exec-once=nextcloud
exec-once=telegram