Small changes to waybar and smallfetch

This commit is contained in:
Bun 2025-04-22 23:04:05 -04:00
parent f1ef766a9b
commit 5e98415873
4 changed files with 9 additions and 8 deletions

View file

@ -124,7 +124,6 @@
tooltip-format-connected = "{num_connections} connected\n{device_enumerate}";
tooltip-format-enumerate-connected = "{device_alias}";
tooltip-format-enumerate-connected-battery = "{device_alias} {device_battery_percentage}%";
on-click = "rofi-bluetooth";
};
scratchpadModule = {
@ -148,7 +147,7 @@
icon-size = 15;
};
mediaModule = {
mpdModule = {
format = " {title}";
format-paused = " {artist}";
format-stopped = "";
@ -156,8 +155,9 @@
tooltip-format = "{artist} - {title}";
interval = 2;
max-length = 30;
on-click = "mpc toggle";
on-click = "playerctl -p mpd play-pause";
};
notificationModule = {
exec = pkgs.writeScript "notificationScript" ''
# Run makoctl mode and store the output in a variable
@ -193,6 +193,7 @@
format-icons = [ "" "󰖨" ];
tooltip = false;
};
batteryModule = {
interval = 60;
states = {
@ -278,7 +279,7 @@
"niri/window" = windowModule;
"hyprland/window" = windowModule;
"pulseaudio" = pulseModule;
"mpd" = mediaModule;
"mpd" = mpdModule;
"custom/notifs" = notificationModule;
"cpu" = cpuModule;
"memory" = ramModule;
@ -358,7 +359,7 @@
"niri/window" = windowModule;
"hyprland/window" = windowModule;
"pulseaudio" = pulseModule;
"mpd" = mediaModule;
"mpd" = mpdModule;
"custom/notifs" = notificationModule;
"custom/weather2" = weatherModule;
"cpu" = cpuModule;