From fb6a7851d83afad395fdda172596a473f72195ff Mon Sep 17 00:00:00 2001 From: Liam Malone Date: Tue, 2 Apr 2024 00:13:41 +0100 Subject: [PATCH] . --- modules/desktop/hyprland.nix | 1 + modules/desktop/waybar.nix | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 modules/desktop/waybar.nix diff --git a/modules/desktop/hyprland.nix b/modules/desktop/hyprland.nix index 69672c1..cbefe43 100644 --- a/modules/desktop/hyprland.nix +++ b/modules/desktop/hyprland.nix @@ -32,6 +32,7 @@ in env = [ "HYPRCURSOR_THEME,${config.gtk.cursorTheme.name}" "HYPRCURSOR_SIZE,24" + "WLR_NO_HARDWARE_CURSORS,1" ]; input = { kb_layout = "us"; diff --git a/modules/desktop/waybar.nix b/modules/desktop/waybar.nix new file mode 100644 index 0000000..79dcd4f --- /dev/null +++ b/modules/desktop/waybar.nix @@ -0,0 +1,20 @@ +{ + inputs, + lib, + config, + pkgs, + ... +}: + +let + home = builtins.getEnv "HOME"; +in +{ + programs.waybar = { + enable = true; + systemd.enable = true; + style = '' + ${builtins.readFile ../style.css} + ''; + }; +}