From 1c2baeb2491eb7855d088c5f2c68e047c1c66326 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sun, 20 Aug 2023 15:22:26 -0500 Subject: [PATCH] Added os module for waybar --- user/wm/hyprland/hyprland.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 9308115..920ac6b 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -297,10 +297,16 @@ # width = 1280; spacing = 2; - modules-left = [ "battery" "backlight" "pulseaudio" "cpu" "memory" ]; + modules-left = [ "custom/os" "battery" "backlight" "pulseaudio" "cpu" "memory" ]; modules-center = [ "wlr/workspaces" ]; modules-right = [ "idle_inhibitor" "clock" "tray" ]; + "custom/os" = { + "format" = " {} "; + "exec" = ''echo "" ''; + "interval" = "once"; + }; + "wlr/workspaces" = { "format" = "{icon}"; "format-icons" = {