Skip to content

Commit

Permalink
Update hyprland configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed May 7, 2024
1 parent 9659f06 commit 6889267
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 19 deletions.
15 changes: 7 additions & 8 deletions home/hyprland.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ in {
bind = [
"$mainMod, space, exec, wofi --show drun"
"$mainMod, return, exec, ${defaults.terminal}"
"$mainMod, C, killactive"
"$mainMod, c, ${defaults.browser}"
"SUPER_SHIFT, c, killactive"
"$mainMod, c, exec, ${defaults.browser}"
# Move focus with mainMod + arrow keys
"$mainMod, left, movefocus, l"
"$mainMod, right, movefocus, r"
Expand All @@ -42,13 +42,7 @@ in {
"$mainMod, k, movefocus, u"
"$mainMod, j, movefocus, d"
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
"$mainMod, Q, exec, alacritty"
"$mainMod, C, killactive"
"SUPER_SHIFT, M, exit"
"$mainMod, V, togglefloating"
"$mainMod, R, exec, wofi --show drun"
"$mainMod, P, pseudo"
"$mainMod, J, togglesplit"

# Switch workspaces with mainMod + [0-9]
"$mainMod, 1, workspace, 1"
Expand Down Expand Up @@ -100,8 +94,13 @@ in {
"hyprland/window"
];
modules-right = [
"wireplumber"
"tray"
"clock"
];
"wireplumber" = {
on-click = "pavucontrol";
};
};
};
};
Expand Down
2 changes: 1 addition & 1 deletion home/hyprland/config
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@ bindm = $mainMod, mouse:273, resizewindow

exec-once = nm-applet --indicator
exec-once = hyprpaper

exec-once = blueman-applet
4 changes: 4 additions & 0 deletions system/nixos/astoria/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ in {
};
};

# enable bluetooth manager
services.blueman.enable = true;
programs.dconf.enable = true;

# Configure virtualisation
virtualisation.libvirtd.enable = true;
virtualisation.podman = {
Expand Down
3 changes: 0 additions & 3 deletions system/nixos/astoria/wm/bspwm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,5 @@ in {
displayManager.defaultSession = "none+bspwm";
windowManager.bspwm.enable = true;
};
# enable bluetooth manager
services.blueman.enable = true;
programs.dconf.enable = true;
};
}
6 changes: 0 additions & 6 deletions system/nixos/astoria/wm/i3.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,5 @@ in {
];
};
};

programs.dconf.enable = true;
# enable bluetooth manager
services.blueman.enable = true;

environment.systemPackages = with pkgs; [];
};
}
1 change: 0 additions & 1 deletion system/nixos/astoria/wm/mate.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ in {
pkgs.gnome.gnome-themes-extra
pkgs.mate.mate-tweak
];
services.blueman.enable = true;
environment.mate.excludePackages = with pkgs; [
mate.mate-terminal
];
Expand Down

0 comments on commit 6889267

Please sign in to comment.