♻️ refactor(dock/components/music_player): update MusicPlayer to use PlayerContainer and handle active player changes

This commit is contained in:
sankalp committed 2025-06-30 01:07:50 +05:45
1 parent 0b652ff87a
commit 994b44f515
6 files changed
+242 -388

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ gi.require_version("Gtk", "3.0")
APP_NAME = "modus"
APP_NAME_CAP = "Modus"
ALLOWED_PLAYERS = ["vlc", "mpv", "cmus", "firefox", "spotify", "chromium"]
ALLOWED_PLAYERS = ["vlc", "cmus", "firefox", "spotify", "chromium"]
NOTIF_POS_KEY = "notif_pos"
NOTIF_POS_DEFAULT = "Top"
+17 -17
View File
@@ -1,27 +1,27 @@
$wallpaper = /home/sankalp/Pictures/wallpapers/110.jpg
$background = 171216
$foreground = ebdfe6
$wallpaper = /home/sankalp/Pictures/wallpapers/77.jpg
$background = 121318
$foreground = e2e2e9
$primary = eeb4ea
$secondary = d9bfd4
$tertiary = f6b8aa
$surface = 171216
$surface_bright = 3e373c
$outline = 998d96
$primary = afc6ff
$secondary = bfc6dc
$tertiary = dfbbde
$surface = 121318
$surface_bright = 38393e
$outline = 8f9099
$error = ff5945
$shadow = 000000
$red = ffb2b9
$green = b7d085
$yellow = dec56e
$blue = cebdfe
$magenta = efb3e8
$green = 95d5a7
$yellow = b8cf84
$blue = b7c4ff
$magenta = e4b7f3
$cyan = 82d3e2
$white = 82d3e0
$red_dim = ff4c5c
$green_dim = 89ad42
$yellow_dim = bb9b2b
$blue_dim = 8359fc
$magenta_dim = dd5fcf
$green_dim = 4cb86a
$yellow_dim = 8baa43
$blue_dim = 5170ff
$magenta_dim = c360e4
$cyan_dim = 30b5ce