danshari!

This commit is contained in:
Uyanide committed 2026-03-12 03:49:47 +01:00
1 parent ec92891e4d
commit 55090c6415
62 files changed
+19 -11

No files matched your search

+18 -11
View File
@@ -36,16 +36,16 @@ GUI_BASE_PKGS = [
] ]
# for Hyprland setup # for Hyprland setup
HYPRLAND_PKGS = [ # HYPRLAND_PKGS = [
*GUI_BASE_PKGS, # *GUI_BASE_PKGS,
"eww", # widgets # "eww", # widgets
"hypr", # hypr family # "hypr", # hypr family
"hyprland", # wm config # "hyprland", # wm config
"mako", # notifications # "mako", # notifications
"rofi", # application launcher # "rofi", # application launcher
"waybar", # status bar # "waybar", # status bar
"wlogout", # logout menu # "wlogout", # logout menu
] # ]
# for Niri setup # for Niri setup
NIRI_PKGS = [ NIRI_PKGS = [
@@ -61,7 +61,7 @@ PKGS = {
"base": BASE_PKGS, "base": BASE_PKGS,
"tui": TUI_PKGS, "tui": TUI_PKGS,
"gui": GUI_BASE_PKGS, "gui": GUI_BASE_PKGS,
"hyprland": HYPRLAND_PKGS, # "hyprland": HYPRLAND_PKGS,
"niri": NIRI_PKGS, "niri": NIRI_PKGS,
} }
@@ -122,6 +122,13 @@ def main():
except subprocess.CalledProcessError as e: except subprocess.CalledProcessError as e:
_log("ERROR", f"Failed to switch session: {e}") _log("ERROR", f"Failed to switch session: {e}")
else:
try:
switch("default") # "default" as defined by me :)
_log("INFO", "Switched session to default.")
except subprocess.CalledProcessError as e:
_log("ERROR", f"Failed to switch session: {e}")
if __name__ == "__main__": if __name__ == "__main__":
main() main()
@@ -69,6 +69,7 @@ Singleton {
} }
function _scheduleCycle(secondsFromNow) { function _scheduleCycle(secondsFromNow) {
if (!enabled) return;
const seconds = Math.max(1, Math.floor(secondsFromNow)); const seconds = Math.max(1, Math.floor(secondsFromNow));
timeUntilNextCycle = seconds; timeUntilNextCycle = seconds;
nextCycleDeadlineMs = Date.now() + (seconds * 1000); nextCycleDeadlineMs = Date.now() + (seconds * 1000);
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.