mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Added os module for waybar
This commit is contained in:
parent
c93d2d360a
commit
1c2baeb249
|
@ -297,10 +297,16 @@
|
||||||
# width = 1280;
|
# width = 1280;
|
||||||
spacing = 2;
|
spacing = 2;
|
||||||
|
|
||||||
modules-left = [ "battery" "backlight" "pulseaudio" "cpu" "memory" ];
|
modules-left = [ "custom/os" "battery" "backlight" "pulseaudio" "cpu" "memory" ];
|
||||||
modules-center = [ "wlr/workspaces" ];
|
modules-center = [ "wlr/workspaces" ];
|
||||||
modules-right = [ "idle_inhibitor" "clock" "tray" ];
|
modules-right = [ "idle_inhibitor" "clock" "tray" ];
|
||||||
|
|
||||||
|
"custom/os" = {
|
||||||
|
"format" = " {} ";
|
||||||
|
"exec" = ''echo "" '';
|
||||||
|
"interval" = "once";
|
||||||
|
};
|
||||||
|
|
||||||
"wlr/workspaces" = {
|
"wlr/workspaces" = {
|
||||||
"format" = "{icon}";
|
"format" = "{icon}";
|
||||||
"format-icons" = {
|
"format-icons" = {
|
||||||
|
|
Loading…
Reference in a new issue