danshari!

This commit is contained in:
2026-03-12 03:49:47 +01:00
parent ec92891e4d
commit 55090c6415
62 changed files with 19 additions and 11 deletions
+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);

Before

Width:  |  Height:  |  Size: 919 KiB

After

Width:  |  Height:  |  Size: 919 KiB

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 148 KiB

Before

Width:  |  Height:  |  Size: 182 KiB

After

Width:  |  Height:  |  Size: 182 KiB