danshari!
This commit is contained in:
+18
-11
@@ -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 |
Vendored
Reference in New Issue
Block a user