Hyprland: better gaps
This commit is contained in:
parent
a4043761de
commit
8b7964a8b5
1 changed files with 13 additions and 12 deletions
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
xdg.configFile."hypr/hyprland.conf".text =
|
||||
let
|
||||
strPalette = pkgs.lib.nix-rice.palette.toRgbaShortHex pkgs.rice.colorPalette;
|
||||
ya = pkgs.writeShellScript "ya" ''
|
||||
tmp="$(mktemp -t "yazi-cwd.XXXXX")"
|
||||
yazi --cwd-file="$tmp"
|
||||
|
|
@ -75,11 +76,11 @@
|
|||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 5
|
||||
gaps_out = 20
|
||||
gaps_in = 4
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
col.active_border = rgba(${strPalette.normal.yellow}) rgba(${strPalette.normal.red}) 45deg
|
||||
col.inactive_border = rgba(${strPalette.bright.black})
|
||||
|
||||
layout = dwindle
|
||||
}
|
||||
|
|
@ -161,16 +162,16 @@
|
|||
bind = SUPER, J, togglesplit, # dwindle
|
||||
|
||||
# Move focus to relative position
|
||||
bind = SUPER, H, movefocus, l
|
||||
bind = SUPER, L, movefocus, r
|
||||
bind = SUPER, K, movefocus, u
|
||||
bind = SUPER, J, movefocus, d
|
||||
bind = SUPER, left, movefocus, l
|
||||
bind = SUPER, right, movefocus, r
|
||||
bind = SUPER, up, movefocus, u
|
||||
bind = SUPER, down, movefocus, d
|
||||
|
||||
# Move window to relative position
|
||||
bind = SUPER_SHIFT, H, movewindow, l
|
||||
bind = SUPER_SHIFT, L, movewindow, r
|
||||
bind = SUPER_SHIFT, K, movewindow, u
|
||||
bind = SUPER_SHIFT, J, movewindow, d
|
||||
bind = SUPER_SHIFT, left, movewindow, l
|
||||
bind = SUPER_SHIFT, right, movewindow, r
|
||||
bind = SUPER_SHIFT, up, movewindow, u
|
||||
bind = SUPER_SHIFT, down, movewindow, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = SUPER, 1, workspace, 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue