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
HYPRLAND_PKGS = [
*GUI_BASE_PKGS,
"eww", # widgets
"hypr", # hypr family
"hyprland", # wm config
"mako", # notifications
"rofi", # application launcher
"waybar", # status bar
"wlogout", # logout menu
]
# HYPRLAND_PKGS = [
# *GUI_BASE_PKGS,
# "eww", # widgets
# "hypr", # hypr family
# "hyprland", # wm config
# "mako", # notifications
# "rofi", # application launcher
# "waybar", # status bar
# "wlogout", # logout menu
# ]
# for Niri setup
NIRI_PKGS = [
@@ -61,7 +61,7 @@ PKGS = {
"base": BASE_PKGS,
"tui": TUI_PKGS,
"gui": GUI_BASE_PKGS,
"hyprland": HYPRLAND_PKGS,
# "hyprland": HYPRLAND_PKGS,
"niri": NIRI_PKGS,
}
@@ -122,6 +122,13 @@ def main():
except subprocess.CalledProcessError as 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__":
main()
@@ -69,6 +69,7 @@ Singleton {
}
function _scheduleCycle(secondsFromNow) {
if (!enabled) return;
const seconds = Math.max(1, Math.floor(secondsFromNow));
timeUntilNextCycle = seconds;
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.