Fix gunter stuff

This commit is contained in:
2024-04-22 22:34:14 +02:00
parent 40c90f7fee
commit d0faa61427
7 changed files with 88 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ pkgs, lib, osConfig, ... }:
let
flakestat = pkgs.writeShellApplication {
name = "flakestat";
@@ -155,7 +155,15 @@ in
modules-left = [ "custom/launcher" "hyprland/workspaces" ];
modules-center = [ "clock" ];
modules-right =
[ "custom/flakestat" "pulseaudio" "pulseaudio#microphone" "memory" "cpu" "tray" "battery" ];
[
"custom/flakestat"
"pulseaudio"
"pulseaudio#microphone"
"memory"
"cpu"
"tray"
(lib.mkIf (osConfig.system.name == "magicman") "battery")
];
"custom/launcher" = {
"format" = " ";
"on-click" = "pkill rofi || ~/.config/rofi/launcher.sh";