🔧 chore: update code

This commit is contained in:
sankalp committed 2025-06-29 23:41:21 +05:45
1 parent 6d010ee65c
commit 0b652ff87a
19 files changed
+2336 -393

No files matched your search

+3
View File
@@ -10,6 +10,7 @@ gi.require_version("Gtk", "3.0")
APP_NAME = "modus"
APP_NAME_CAP = "Modus"
ALLOWED_PLAYERS = ["vlc", "mpv", "cmus", "firefox", "spotify", "chromium"]
NOTIF_POS_KEY = "notif_pos"
NOTIF_POS_DEFAULT = "Top"
@@ -80,6 +81,7 @@ if os.path.exists(CONFIG_FILE):
"date_time": config.get("dock_date_time_visible", True),
"controls": config.get("dock_controls_visible", True),
"indicators": config.get("dock_indicators_visible", True),
"music_player": config.get("dock_music_player_visible", True),
"notifications": config.get("dock_notifications_visible", True),
"systray": config.get("dock_tray_visible", True),
"applications": config.get("dock_applications_visible", True),
@@ -112,6 +114,7 @@ else:
"date_time": True,
"controls": True,
"indicators": True,
"music_player": True,
"notifications": True,
"systray": True,
"applications": True,
+11 -11
View File
@@ -1,13 +1,13 @@
$wallpaper = /home/sankalp/Pictures/wallpapers/-13.webp
$background = 191114
$foreground = eedfe3
$wallpaper = /home/sankalp/Pictures/wallpapers/110.jpg
$background = 171216
$foreground = ebdfe6
$primary = fdb0d4
$secondary = e0bdcb
$tertiary = f2bb9a
$surface = 191114
$surface_bright = 40373a
$outline = 9d8d92
$primary = eeb4ea
$secondary = d9bfd4
$tertiary = f6b8aa
$surface = 171216
$surface_bright = 3e373c
$outline = 998d96
$error = ff5945
$shadow = 000000
@@ -16,12 +16,12 @@ $red = ffb2b9
$green = b7d085
$yellow = dec56e
$blue = cebdfe
$magenta = f7b1de
$magenta = efb3e8
$cyan = 82d3e2
$white = 82d3e0
$red_dim = ff4c5c
$green_dim = 89ad42
$yellow_dim = bb9b2b
$blue_dim = 8359fc
$magenta_dim = ee54b7
$magenta_dim = dd5fcf
$cyan_dim = 30b5ce
+1
View File
@@ -54,6 +54,7 @@ DEFAULTS = {
"dock_date_time_visible": True,
"dock_controls_visible": True,
"dock_indicators_visible": True,
"dock_music_player_visible": True,
"dock_notifications_visible": True,
"dock_applications_visible": True,
"dock_language_visible": True,
+1
View File
@@ -523,6 +523,7 @@ class HyprConfGUI(Window):
"battery": "Battery Indicator",
"controls": "Control Panel",
"indicators": "Indicators",
"music_player": "Music Player",
"applications": "Taskbar",
"language": "Language Indicator",
}