alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
superconfig
/
tools
/
workspace-manager
1 folder
6 files
at
e2ee9d418d82ff7dbd41977236f2b169b4e5286a
lassulus
desktops.sway: fix tab restore broken by stale SWAYSOCK + wrong restore browser
4mo ago
e2ee9d41
firefox-extension
desktops.sway: fix tab restore broken by stale SWAYSOCK + wrong restore browser The hardcoded `export SWAYSOCK=/run/user/$(id -u)/sway-ipc.sock` in extraSessionCommands is ignored by sway >=1.11, which creates its own per-pid socket (sway-ipc.$uid.$pid.sock). The dead path got baked into the firefox and workspace-manager user services, so every swaymsg call failed and the extension silently skipped tab restore on each workspace switch. Drop the export and let the existing import-environment propagate the real socket sway advertises. Also: - workspace-menu: "Restore tabs" used pkgs.firefox (upstream stable) instead of the wrapped Dev Edition daemon, launching a separate browser/profile - workspace-tabs: never overwrite a saved workspace with an empty tab list, so the transient blank window after a Firefox restart can't wipe real tabs Assisted-by: Claude Code (claude-opus-4-8[1m])
4 months ago
daemon.py
tools.workspace-manager: simplify architecture - Daemon: only tracks workspace/directory, emits events, persists tabs - Remove on_create/on_enter/on_leave hooks, tmux management, restore flag - Firefox extension: saves tabs to ~/workspaces/<name>.json via daemon - Firefox extension: anchor window keeps Firefox alive, hidden in scratchpad - Daemon registers sway for_window rule before Firefox starts - Firefox service: Restart=always, starts after workspace-manager - Native host: passes tab save/load through daemon (single writer) - Workspace menu: simplified to restore tabs, close, edit, delete - Remove workspace-on-new.sh (no longer needed) - NixOS module: only directory option remains
6 months ago
flake-module.nix
desktops.sway: fix tab restore broken by stale SWAYSOCK + wrong restore browser The hardcoded `export SWAYSOCK=/run/user/$(id -u)/sway-ipc.sock` in extraSessionCommands is ignored by sway >=1.11, which creates its own per-pid socket (sway-ipc.$uid.$pid.sock). The dead path got baked into the firefox and workspace-manager user services, so every swaymsg call failed and the extension silently skipped tab restore on each workspace switch. Drop the export and let the existing import-environment propagate the real socket sway advertises. Also: - workspace-menu: "Restore tabs" used pkgs.firefox (upstream stable) instead of the wrapped Dev Edition daemon, launching a separate browser/profile - workspace-tabs: never overwrite a saved workspace with an empty tab list, so the transient blank window after a Firefox restart can't wipe real tabs Assisted-by: Claude Code (claude-opus-4-8[1m])
4 months ago
usage.kdl
tools: add usage.kdl specs and zsh tab completion for s Add usage.kdl (https://usage.jdx.dev/spec/) files for all 32 tools describing their CLI interface. Each tool exposes its spec as a string via passthru.usage (builtins.readFile ./usage.kdl). The s wrapper now includes a zsh completion function that: - Instantly completes package names (baked in at build time) - Lazily fetches per-tool usage specs via nix eval on first use - Caches specs keyed by flake narHash for invalidation
7 months ago
workspace-manager.sh
tools.workspace-manager: add sway workspace manager - Python asyncio daemon subscribing to sway IPC events - User configs in ~/workspaces/<name>.json for hooks and directories - Declarative NixOS module with per-field config merging - Shell hook for auto-cd in new terminals - ruff/mypy checks integrated into package build
8 months ago
workspace-menu.sh
tools.workspace-menu: use menu instead of rofi, drop kitty dependency
6 months ago
workspace-tabs-host.py
desktops.sway: fix firefox daemon rebuild restarts, screencast, phantom windows - firefox.service: restartIfChanged/stopIfChanged = false so nixos-rebuild switch no longer kills all open browser windows - xdg-desktop-portal-wlr: retry until system-wide pipewire is reachable (RestartSec=2, startLimitIntervalSec=0) instead of tripping the start-limit at boot and staying dead, which silently broke screensharing - workspace-tabs: register the anchor-window scratchpad rule statically in the sway config, only persist/restore http(s) URLs, and skip anchor-titled windows in the sway mapping, so the anchor no longer leaks into workspace files and reappears as a phantom window after a restart Assisted-by: Claude Code (claude-opus-4-8[1m])
4 months ago