mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 12:07:48 +00:00
Clean up Hyprland config
This commit is contained in:
parent
4b5369a10c
commit
c936f48f1f
1 changed files with 59 additions and 16 deletions
|
@ -14,14 +14,19 @@
|
||||||
wayland.windowManager.hyprland = enabled {
|
wayland.windowManager.hyprland = enabled {
|
||||||
package = hyprland;
|
package = hyprland;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig =
|
||||||
|
''
|
||||||
monitor = , preferred, auto, 1
|
monitor = , preferred, auto, 1
|
||||||
|
''
|
||||||
|
+
|
||||||
|
''
|
||||||
exec-once = wpaperd
|
exec-once = wpaperd
|
||||||
|
|
||||||
exec-once = wl-paste --type text --watch cliphist store
|
exec-once = wl-paste --type text --watch cliphist store
|
||||||
exec-once = wl-paste --type image --watch cliphist store
|
exec-once = wl-paste --type image --watch cliphist store
|
||||||
|
''
|
||||||
|
+
|
||||||
|
''
|
||||||
bind = SUPER, 1, workspace, 1
|
bind = SUPER, 1, workspace, 1
|
||||||
bind = SUPER, 2, workspace, 2
|
bind = SUPER, 2, workspace, 2
|
||||||
bind = SUPER, 3, workspace, 3
|
bind = SUPER, 3, workspace, 3
|
||||||
|
@ -34,28 +39,51 @@
|
||||||
bind = SUPER+SHIFT, 4, movetoworkspacesilent, 4
|
bind = SUPER+SHIFT, 4, movetoworkspacesilent, 4
|
||||||
bind = SUPER+SHIFT, 5, movetoworkspacesilent, 5
|
bind = SUPER+SHIFT, 5, movetoworkspacesilent, 5
|
||||||
|
|
||||||
bind = SUPER+CTRL, 1, movewindow, mon:1
|
bind = SUPER+CTRL, 1, movewindow, mon:DP-1
|
||||||
bind = SUPER+CTRL, 2, movewindow, mon:2
|
bind = SUPER+CTRL, 2, movewindow, mon:DP-2
|
||||||
bind = SUPER+CTRL, 3, movewindow, mon:3
|
bind = SUPER+CTRL, 3, movewindow, mon:DP-3
|
||||||
|
|
||||||
bindm = SUPER, mouse:272, movewindow
|
bindm = SUPER, mouse:272, movewindow
|
||||||
bindm = SUPER, mouse:273, resizewindow
|
bindm = SUPER, mouse:273, resizewindow
|
||||||
|
''
|
||||||
|
+
|
||||||
|
''
|
||||||
binde = SUPER, left, movefocus, l
|
binde = SUPER, left, movefocus, l
|
||||||
binde = SUPER, right, movefocus, t
|
|
||||||
binde = SUPER, up, movefocus, u
|
binde = SUPER, up, movefocus, u
|
||||||
binde = SUPER, down, movefocus, d
|
binde = SUPER, down, movefocus, d
|
||||||
|
binde = SUPER, right, movefocus, r
|
||||||
|
|
||||||
binde = SUPER+CTRL, right, resizeactive, 10 0
|
binde = SUPER, h, movefocus, l
|
||||||
|
binde = SUPER, k, movefocus, u
|
||||||
|
binde = SUPER, j, movefocus, d
|
||||||
|
binde = SUPER, l, movefocus, r
|
||||||
|
''
|
||||||
|
+
|
||||||
|
''
|
||||||
binde = SUPER+CTRL, left, resizeactive, -10 0
|
binde = SUPER+CTRL, left, resizeactive, -10 0
|
||||||
binde = SUPER+CTRL, up, resizeactive, 0 -10
|
binde = SUPER+CTRL, up, resizeactive, 0 -10
|
||||||
binde = SUPER+CTRL, down, resizeactive, 0 10
|
binde = SUPER+CTRL, down, resizeactive, 0 10
|
||||||
|
binde = SUPER+CTRL, right, resizeactive, 10 0
|
||||||
|
|
||||||
|
binde = SUPER+CTRL, h, resizeactive, -10 0
|
||||||
|
binde = SUPER+CTRL, j, resizeactive, 0 10
|
||||||
|
binde = SUPER+CTRL, k, resizeactive, 0 -10
|
||||||
|
binde = SUPER+CTRL, l, resizeactive, 10 0
|
||||||
|
''
|
||||||
|
+
|
||||||
|
''
|
||||||
bind = SUPER+SHIFT, left, movewindow, l
|
bind = SUPER+SHIFT, left, movewindow, l
|
||||||
bind = SUPER+SHIFT, right, movewindow, r
|
|
||||||
bind = SUPER+SHIFT, up, movewindow, u
|
bind = SUPER+SHIFT, up, movewindow, u
|
||||||
bind = SUPER+SHIFT, down, movewindow, d
|
bind = SUPER+SHIFT, down, movewindow, d
|
||||||
|
bind = SUPER+SHIFT, right, movewindow, r
|
||||||
|
|
||||||
|
bind = SUPER+SHIFT, h, movewindow, l
|
||||||
|
bind = SUPER+SHIFT, j, movewindow, u
|
||||||
|
bind = SUPER+SHIFT, k, movewindow, d
|
||||||
|
bind = SUPER+SHIFT, l, movewindow, r
|
||||||
|
''
|
||||||
|
+
|
||||||
|
''
|
||||||
bind = SUPER, Q, killactive
|
bind = SUPER, Q, killactive
|
||||||
bind = SUPER, F, fullscreen
|
bind = SUPER, F, fullscreen
|
||||||
bind = SUPER+SHIFT, F, togglefloating
|
bind = SUPER+SHIFT, F, togglefloating
|
||||||
|
@ -69,7 +97,9 @@
|
||||||
|
|
||||||
bind = , PRINT, exec, grim -g "$(slurp -w 0)" - | swappy -f - -o - | wl-copy --type image/png
|
bind = , PRINT, exec, grim -g "$(slurp -w 0)" - | swappy -f - -o - | wl-copy --type image/png
|
||||||
bind = SHIFT, PRINT, exec, grim - | swappy -f - -o - | wl-copy --type image/png
|
bind = SHIFT, PRINT, exec, grim - | swappy -f - -o - | wl-copy --type image/png
|
||||||
|
''
|
||||||
|
+
|
||||||
|
''
|
||||||
binde = , XF86AudioRaiseVolume, exec, wpctl set-volume --limit 1.5 @DEFAULT_AUDIO_SINK@ 5%+
|
binde = , XF86AudioRaiseVolume, exec, wpctl set-volume --limit 1.5 @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
binde = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
binde = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
|
|
||||||
|
@ -78,7 +108,9 @@
|
||||||
|
|
||||||
binde = , XF86MonBrightnessUp, exec, brightnessctl set 5%+
|
binde = , XF86MonBrightnessUp, exec, brightnessctl set 5%+
|
||||||
binde = , XF86MonBrightnessDown, exec, brightnessctl set --min-value=0 5%-
|
binde = , XF86MonBrightnessDown, exec, brightnessctl set --min-value=0 5%-
|
||||||
|
''
|
||||||
|
+
|
||||||
|
''
|
||||||
decoration {
|
decoration {
|
||||||
drop_shadow = false
|
drop_shadow = false
|
||||||
rounding = 0
|
rounding = 0
|
||||||
|
@ -87,7 +119,9 @@
|
||||||
enabled = false
|
enabled = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
''
|
||||||
|
+
|
||||||
|
''
|
||||||
general {
|
general {
|
||||||
gaps_in = 5
|
gaps_in = 5
|
||||||
gaps_out = 10
|
gaps_out = 10
|
||||||
|
@ -104,9 +138,16 @@
|
||||||
|
|
||||||
resize_on_border = true
|
resize_on_border = true
|
||||||
}
|
}
|
||||||
|
''
|
||||||
|
+
|
||||||
|
''
|
||||||
|
gestures {
|
||||||
|
workspace_swipe = true
|
||||||
|
}
|
||||||
|
''
|
||||||
|
+
|
||||||
|
''
|
||||||
input {
|
input {
|
||||||
# The window under the mouse will always be in focus.
|
|
||||||
follow_mouse = 1
|
follow_mouse = 1
|
||||||
|
|
||||||
kb_layout = tr
|
kb_layout = tr
|
||||||
|
@ -121,7 +162,9 @@
|
||||||
scroll_factor = 0.8
|
scroll_factor = 0.8
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
''
|
||||||
|
+
|
||||||
|
''
|
||||||
misc {
|
misc {
|
||||||
animate_manual_resizes = true
|
animate_manual_resizes = true
|
||||||
animate_mouse_windowdragging = true
|
animate_mouse_windowdragging = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue