Setup for dwindle layout in Hyprland, add test rebuild to Makefile

This commit is contained in:
Evie Litherland-Smith 2023-06-26 14:15:04 +01:00
parent 3680a4862f
commit 9e9aa8fcd8
2 changed files with 12 additions and 7 deletions

View file

@ -1,4 +1,8 @@
.PHONY: lock .PHONY: test lock
test:
git -C . add .
sudo nixos-rebuild test --flake .
lock: lock:
nix flake lock --update-input nixpkgs --update-input home-manager nix flake lock --update-input nixpkgs --update-input home-manager

View file

@ -57,7 +57,12 @@
col.group_border_active = $mauve col.group_border_active = $mauve
col.inactive_border = $surface2 col.inactive_border = $surface2
col.group_border = $surface2 col.group_border = $surface2
layout = master layout = dwindle
}
dwindle {
force_split = 2
preserve_split = true
} }
decoration { decoration {
@ -84,10 +89,6 @@
animation = workspaces, 1, 6, default animation = workspaces, 1, 6, default
} }
master {
new_is_master = false
}
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
bind = SUPER, Return, exec, wezterm bind = SUPER, Return, exec, wezterm
bind = SUPER, Q, killactive, bind = SUPER, Q, killactive,
@ -100,7 +101,7 @@
bind = SUPER, W, exec, firefox bind = SUPER, W, exec, firefox
bind = SUPER, F, exec, thunar bind = SUPER, F, exec, thunar
bind = SUPER, M, fullscreen, 1 bind = SUPER, M, fullscreen, 1
bind = SUPER, A, bringactivetotop bind = SUPER, A, layoutmsg, togglesplit
bind = , XF86AudioMute, exec, pamixer -t bind = , XF86AudioMute, exec, pamixer -t
binde = , XF86AudioRaiseVolume, exec, pamixer -i 2 binde = , XF86AudioRaiseVolume, exec, pamixer -i 2