Skip to content

Commit 54fd766

Browse files
committed
spotify waybar
1 parent 0283de8 commit 54fd766

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

dots/waybar/style.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#custom-mic,
2020
#custom-uxplay,
2121
#clock,
22-
#custom-media,
22+
#custom-spotify,
2323
#wireplumber {
2424
background-color: @surface0;
2525
padding: 0.5rem 1rem;
@@ -65,6 +65,8 @@
6565

6666
#workspaces button.active {
6767
color: @lavender;
68+
69+
font-weight: bold;
6870
}
6971

7072
#custom-mic {
@@ -89,7 +91,7 @@
8991
margin-left: 0rem;
9092
}
9193

92-
#custom-media {
94+
#custom-spotify {
9395
color: @surface0;
9496

9597
border-radius: 1rem 1rem 1rem 1rem;

home-manager/desktop/hyprland.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ in
317317
];
318318
modules-center = [ "hyprland/workspaces" ];
319319
modules-right = [
320-
"custom/media"
320+
"custom/spotify"
321321
"custom/mic"
322322
"wireplumber"
323323
"clock"
@@ -414,13 +414,15 @@ in
414414
max-length = 50;
415415
};
416416

417-
"custom/media" = {
417+
"custom/spotify" = {
418418
format = " {}";
419419
escape = true;
420420
interval = 1;
421421
tooltip = false;
422422
exec = "spotifycli --status";
423423
on-click = "spotifycli --playpause";
424+
on-scroll-up = "spotifycli --next";
425+
on-scroll-down = "spotifycli --prev";
424426
max-length = 50;
425427
};
426428

0 commit comments

Comments
 (0)