aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home-manager/stvnliu/hyprland.nix6
-rw-r--r--nixos/configuration.nix9
2 files changed, 9 insertions, 6 deletions
diff --git a/home-manager/stvnliu/hyprland.nix b/home-manager/stvnliu/hyprland.nix
index 42c45cf..8be8a13 100644
--- a/home-manager/stvnliu/hyprland.nix
+++ b/home-manager/stvnliu/hyprland.nix
@@ -9,9 +9,11 @@
xwayland.enable = true;
settings = {
"$mod" = "SUPER";
- bindm = [
+ bind = [
# foot terminal
- "$mod, ENTER, exec ${pkgs.foot}/bin/foot -f 'BlexMono Nerd Font:size=24' zsh"
+ "$mod, ENTER, exec, ${pkgs.foot}/bin/foot -f 'BlexMono Nerd Font:size=24' zsh"
+ ];
+ bindm = [
# mouse movements
"$mod, mouse:272, movewindow"
"$mod, mouse:273, resizewindow"
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index 5015d8f..ba44553 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -48,10 +48,11 @@
security.polkit.enable = true;
services.gnome.gnome-keyring.enable = true;
- programs.sway = {
- enable = true;
- wrapperFeatures.gtk = true;
- };
+ #programs.sway = {
+ # enable = true;
+ # wrapperFeatures.gtk = true;
+ #};
+ programs.hyprland.enable = true; # enables Hyprland DM.
nixpkgs = {
overlays = [
];