diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-06-09 19:43:34 +0000 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-06-09 19:43:34 +0000 |
| commit | f3b7a6a33588ad425de02c4b841df19f30733e44 (patch) | |
| tree | ab6a8524350fda5868bf3f43187affbdb0895ce6 /modules/terminal/system | |
| parent | a45c4551712c1ba5cb82eaf290f311ab0e8690e4 (diff) | |
reorganize programs, move functions to library, and remove the rest of hyprland (all sway now)
Diffstat (limited to 'modules/terminal/system')
| -rw-r--r-- | modules/terminal/system/default.nix | 11 | ||||
| -rw-r--r-- | modules/terminal/system/programs/tmux.nix | 7 |
2 files changed, 8 insertions, 10 deletions
diff --git a/modules/terminal/system/default.nix b/modules/terminal/system/default.nix index 32ca3f9..d5cd1f5 100644 --- a/modules/terminal/system/default.nix +++ b/modules/terminal/system/default.nix @@ -1,18 +1,19 @@ { config, pkgs, + my-lib, ... }: let cfg = config.collinux.terminal.shells; in { imports = [ - ./programs/helix.nix - ./programs/tmux.nix - ./programs/fish.nix - ./programs/starship.nix - ./programs/lazygit.nix ./programs/cmus.nix + ./programs/fish.nix ./programs/git.nix + ./programs/helix.nix + ./programs/lazygit.nix + ./programs/starship.nix + ./programs/tmux.nix ]; programs.command-not-found.enable = false; # broken without nix-channels diff --git a/modules/terminal/system/programs/tmux.nix b/modules/terminal/system/programs/tmux.nix index b947d95..ecb5e21 100644 --- a/modules/terminal/system/programs/tmux.nix +++ b/modules/terminal/system/programs/tmux.nix @@ -143,13 +143,10 @@ run-shell "${scripts.bar}/bin/bar.sh" # Sessions - # set-hook -ag client-detached 'run-shell ${scripts.cleanSessions}/bin/clean-sessions.sh' - # set-hook -ag client-session-changed 'run-shell ${scripts.cleanSessions}/bin/clean-sessions.sh' + set-hook -ag client-detached 'run-shell ${scripts.cleanSessions}/bin/clean-sessions.sh' + set-hook -ag client-session-changed 'run-shell ${scripts.cleanSessions}/bin/clean-sessions.sh' bind-key -n C-f run-shell "${scripts.primeProjects}/bin/projects.sh" - bind-key -n M-1 run-shell "${scripts.primeProjects}/bin/projects.sh ~/Music" - bind-key -n M-2 run-shell "${scripts.primeProjects}/bin/projects.sh ~/Documents/brain2.0" - bind-key -n M-3 run-shell "${scripts.primeProjects}/bin/projects.sh ~/nixos" bind-key -n C-g display-popup -E -w 80% -h 80% -x C -y C -d "#{pane_current_path}" "${pkgs.lazygit}/bin/lazygit" ''; |
