aboutsummaryrefslogtreecommitdiff
path: root/modules/desktop/home/environments/hyprland/waybar/config.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-06-09 17:40:46 +0000
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-06-09 17:40:46 +0000
commita45c4551712c1ba5cb82eaf290f311ab0e8690e4 (patch)
treef62b23489fb31f8ea58fef77f99619efd784eb36 /modules/desktop/home/environments/hyprland/waybar/config.nix
big changes
Diffstat (limited to 'modules/desktop/home/environments/hyprland/waybar/config.nix')
-rw-r--r--modules/desktop/home/environments/hyprland/waybar/config.nix59
1 files changed, 59 insertions, 0 deletions
diff --git a/modules/desktop/home/environments/hyprland/waybar/config.nix b/modules/desktop/home/environments/hyprland/waybar/config.nix
new file mode 100644
index 0000000..7afa83c
--- /dev/null
+++ b/modules/desktop/home/environments/hyprland/waybar/config.nix
@@ -0,0 +1,59 @@
+{pkgs, ...}: {
+ spacing = 4;
+ modules-left = ["custom/launcher" "hyprland/workspaces"];
+ modules-center = ["hyprland/window"];
+ modules-right = ["bluetooth" "wireplumber" "battery" "clock" "custom/power"];
+
+ "custom/launcher" = {
+ format = " ";
+ on-click = "${pkgs.fuzzel}/bin/fuzzel";
+ };
+ "hyprland/workspaces" = {
+ disable-scroll = true;
+ all-outputs = true;
+ warp-on-scroll = false;
+ format = "{icon}";
+ format-icons = {
+ "1" = "";
+ "2" = "󰈹";
+ "3" = "󰝚";
+ "4" = "󰎚";
+ "5" = "";
+ };
+ };
+ "hyprland/window" = {
+ on-click = "hyprctl dispatch float";
+ };
+ "bluetooth" = {
+ format = "";
+ format-connected = "󰂯 {device_alias}";
+ };
+ "battery" = {
+ format = "{icon} {capacity}%";
+ format-alt = "{icon}";
+ format-icons = [" " " " " " " " " "];
+ };
+ "wireplumber" = {
+ format = "{icon} {volume}%";
+ format-alt = "{icon}";
+ format-muted = "󰖁 {volume}%";
+ format-icons.default = ["󰕿" "󰖀" "󰕾"];
+ tooltip = false;
+ };
+ "clock" = {
+ format = "{:%I:%M}";
+ format-alt = "/{:%Y/%b/%d-%a}";
+ tooltip = false;
+ };
+ "custom/power" = {
+ format = " collin";
+ tooltip = false;
+ menu = "on-click";
+ menu-file = "${./power_menu.xml}";
+ menu-actions = {
+ logout = "hyprctl dispatch exit";
+ reboot = "reboot";
+ shutdown = "poweroff";
+ };
+ };
+}