1
0
Fork 0
mirror of https://git.gay/xqtc/nixos-config synced 2025-05-08 04:57:29 +02:00

Compare commits

...

2 commits

Author SHA1 Message Date
b0d511b0cf
disable plasma on lilith 2025-01-16 20:39:14 +01:00
3a7678c28f
mehr reis 2025-01-16 20:37:54 +01:00
2 changed files with 10 additions and 2 deletions
home/modules
hosts/x86_64-linux/lilith

View file

@ -158,13 +158,21 @@
# text = "TRANS RIGHTS OR RIOT NIGHTS!";
# color = "gradient(rgb(5bcefa) rgb(f5a9bb) rgb(ffffff) rgb(f5a9bb) rgb(5bcefa))";
# text = "cmd[update:30000] echo \"<span foreground='##f5a9b8'> $(cat /sys/class/power_supply/BAT0/capacity)</span>\"";
text = "cmd[update:1000] echo \"<span foreground='##f5a9b8'>$(for bat in /sys/class/power_supply/BAT*/capacity; do echo -n \" $(basename $(dirname \"$bat\")): $(cat \"$bat\")% \"; done)</span>\"";
text = (if config.host != "asmodeus" then "cmd[update:1000] echo \"<span foreground='##f5a9b8'>$(for bat in /sys/class/power_supply/BAT*/capacity; do echo -n \" $(basename $(dirname \"$bat\")): $(cat \"$bat\")% \"; done)</span>\"" else "<span foreground='##f5a9b8'><i>asmodeus</i></span>");
font_size = 15;
halign = "center";
valign = "center";
position = "0, -350";
}
{
text = (if config.host != "asmodeus" then "cmd[update:1000] echo \"<span foreground='##f5a9b8'><i>$(echo -n $(hostname))</i><span>\"" else "");
font_size = 15;
halign = "center";
valign = "center";
position = "0, -380";
}
];
};
};

View file

@ -88,7 +88,7 @@
# services.xserver.displayManager.gdm.enable = true;
# services.xserver.displayManager.startx.enable = true;
# services.xserver.desktopManager.gnome.enable = true;
services.desktopManager.plasma6.enable = true;
# services.desktopManager.plasma6.enable = true;
#services.xserver.displayManager.defaultSession = "plasmawayland";
# services.xserver.videoDrivers = ["intel"];