mirror of
https://git.gay/xqtc/nixos-config
synced 2025-05-08 04:57:29 +02:00
Compare commits
2 commits
4f06676d01
...
b0d511b0cf
Author | SHA1 | Date | |
---|---|---|---|
b0d511b0cf | |||
3a7678c28f |
2 changed files with 10 additions and 2 deletions
|
@ -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";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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"];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue