···
31
-
position = "bottom";
32
-
output = [ "eDP-1" ];
30
+
modules-settings = {
31
+
"sway/workspaces" = {
32
+
disable-scroll = true;
33
+
format = "{name} {icon}";
38
-
"sway/workspaces" = {
39
-
disable-scroll = true;
40
-
format = "{name} {icon}";
47
+
orientation = "inherit";
49
+
"custom/notifications"
55
+
transition-duration = 250;
56
+
transition-left-to-right = false;
60
+
"custom/notifications" = {
69
+
return-type = "json";
70
+
exec = ''${makoctl} mode | rg dnd >/dev/null; if [ $? == 0 ]; then echo '{"alt":"dnd"}'; else echo '{"alt":"normal"}'; fi'';
71
+
on-click = "${makoctl} mode -t dnd; pkill -SIGRTMIN+10 waybar";
73
+
# rely on on click pkill signal
74
+
exec-on-event = false;
53
-
modules-center = [ ];
88
+
format = "{:%d %b %H:%M}";
65
-
orientation = "inherit";
67
-
"custom/notifications"
73
-
transition-duration = 250;
74
-
transition-left-to-right = false;
99
+
format = "{capacity}% {icon}";
100
+
format-full = "{capacity}% {icon}";
101
+
format-charging = "{capacity}% ";
102
+
format-plugged = "{capacity}% ";
103
+
format-icons = [ " " " " " " " " " " ];
78
-
"custom/notifications" = {
87
-
return-type = "json";
88
-
exec = ''${makoctl} mode | rg dnd >/dev/null; if [ $? == 0 ]; then echo '{"alt":"dnd"}'; else echo '{"alt":"normal"}'; fi'';
89
-
on-click = "${makoctl} mode -t dnd; pkill -SIGRTMIN+10 waybar";
91
-
# rely on on click pkill signal
92
-
exec-on-event = false;
110
+
format = "{volume}% {icon}{format_source}";
111
+
format-bluetooth = "{volume}% {icon}{format_source}";
112
+
format-bluetooth-muted = " {icon} {format_source}";
113
+
format-muted = " {format_source}";
114
+
format-source = "";
115
+
format-source-muted = " ";
124
+
default = [ "" " " " " ];
127
+
on-click = "pavucontrol";
106
-
format = "{:%d %b %H:%M}";
131
+
format = "{title:.30} - {artist:.30}";
132
+
tooltip-format = "{album} ({player})";
137
+
format-icons = [ "▁" "▂" "▃" "▄" "▅" "▆" "▇" "█" ];
139
+
hide_on_silence = true;
117
-
format = "{capacity}% {icon}";
118
-
format-full = "{capacity}% {icon}";
119
-
format-charging = "{capacity}% ";
120
-
format-plugged = "{capacity}% ";
121
-
format-icons = [ " " " " " " " " " " ];
148
+
position = "bottom";
149
+
output = [ "eDP-1" ];
128
-
format = "{volume}% {icon}{format_source}";
129
-
format-bluetooth = "{volume}% {icon}{format_source}";
130
-
format-bluetooth-muted = " {icon} {format_source}";
131
-
format-muted = " {format_source}";
132
-
format-source = "";
133
-
format-source-muted = " ";
155
+
modules-center = [ ];
142
-
default = [ "" " " " " ];
165
+
} // modules-settings;
145
-
on-click = "pavucontrol";
170
+
position = "bottom";
149
-
format = "{title:.30} - {artist:.30}";
150
-
tooltip-format = "{album} ({player})";
155
-
format-icons = [ "▁" "▂" "▃" "▄" "▅" "▆" "▇" "█" ];
157
-
hide_on_silence = true;
190
+
} // modules-settings;
#waybar { color: @base00; }
···