From a753ffeec12d098b9a4b5e9ae27598d266f99685 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Thu, 17 Apr 2025 22:02:37 +0800 Subject: [PATCH] feat: add waybar --- configs/graphical.nix | 1 + configs/programs/hyprland.nix | 6 +++++- configs/programs/waybar.nix | 6 ++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 configs/programs/waybar.nix diff --git a/configs/graphical.nix b/configs/graphical.nix index db8921d..511207e 100644 --- a/configs/graphical.nix +++ b/configs/graphical.nix @@ -16,6 +16,7 @@ with pkgs; ./hardware/audio.nix ./hardware/bluetooth.nix ./hardware/udev.nix + ./programs/waybar.nix ./hardware/vr.nix ]; diff --git a/configs/programs/hyprland.nix b/configs/programs/hyprland.nix index bed11f3..74326f3 100644 --- a/configs/programs/hyprland.nix +++ b/configs/programs/hyprland.nix @@ -43,11 +43,15 @@ "$clipboard" = "$terminal --class clipse -e clipse"; "$multiplexer" = "$terminal -e zellij"; - # Programs to run at startup exec-once = [ "uwsm app -- hyprlock" "uwsm app -- clipse -listen" "uwsm app -- hyprcloser" + "uwsm app -- waybar" + ]; + + # Programs to run at startup + exec = [ "uwsm app -- hyprshade auto" ]; diff --git a/configs/programs/waybar.nix b/configs/programs/waybar.nix new file mode 100644 index 0000000..6b2ad5f --- /dev/null +++ b/configs/programs/waybar.nix @@ -0,0 +1,6 @@ +{ + home-manager.users.rafiq.programs.waybar = { + enable = true; + settings = [ ]; + }; +}