Rename custom-tmux-sessionizer

This commit is contained in:
Oliver Davies 2024-12-15 10:16:25 +00:00
parent 4185013014
commit 8e599c2ffd
5 changed files with 5 additions and 5 deletions

View file

@ -11,7 +11,7 @@ with lib;
options.features.cli.tmux-sessionizer.enable = mkEnableOption "Enable tmux-sessionizer"; options.features.cli.tmux-sessionizer.enable = mkEnableOption "Enable tmux-sessionizer";
config = mkIf config.features.cli.tmux-sessionizer.enable { config = mkIf config.features.cli.tmux-sessionizer.enable {
home.packages = with pkgs; [ custom-tmux-sessionizer ]; home.packages = with pkgs; [ tmux-sessionizer ];
home.file.".tmux-sessionizer".source = "${ home.file.".tmux-sessionizer".source = "${
pkgs.writeShellApplication { pkgs.writeShellApplication {

View file

@ -74,7 +74,7 @@ in
set-option -g pane-active-border-style "fg=#1f2335" set-option -g pane-active-border-style "fg=#1f2335"
set-option -g pane-border-style "fg=#1f2335" set-option -g pane-border-style "fg=#1f2335"
bind-key -r f run-shell "tmux new-window custom-tmux-sessionizer" bind-key -r f run-shell "tmux new-window tmux-sessionizer"
if-shell "[ -f ~/.tmux.conf.local ]" 'source ~/.tmux.conf.local' if-shell "[ -f ~/.tmux.conf.local ]" 'source ~/.tmux.conf.local'
''; '';

View file

@ -56,7 +56,7 @@
zstyle ":completion:*" matcher-list "" "m:{a-zA-Z}={A-Za-z}" "r:|=*" "l:|=* r:|=*" zstyle ":completion:*" matcher-list "" "m:{a-zA-Z}={A-Za-z}" "r:|=*" "l:|=* r:|=*"
autoload -Uz compinit && compinit autoload -Uz compinit && compinit
bindkey -s ^f "custom-tmux-sessionizer\n" bindkey -s ^f "tmux-sessionizer\n"
bindkey -s ^v "nvim\n" bindkey -s ^v "nvim\n"
clear-ls-all() { clear-ls-all() {

View file

@ -7,9 +7,9 @@ let
in in
{ {
build-glove80 = callPackage ./build-glove80.nix { }; build-glove80 = callPackage ./build-glove80.nix { };
custom-tmux-sessionizer = callPackage ./tmux-sessionizer.nix { };
notes = callPackage ./notes.nix { }; notes = callPackage ./notes.nix { };
notify-battery = callPackage ./notify-battery.nix { }; notify-battery = callPackage ./notify-battery.nix { };
tmux-sessionizer = callPackage ./tmux-sessionizer.nix { };
vimPlugins = prev.vimPlugins // vimPlugins; vimPlugins = prev.vimPlugins // vimPlugins;
} }

View file

@ -1,7 +1,7 @@
{ pkgs }: { pkgs }:
pkgs.writeShellApplication { pkgs.writeShellApplication {
name = "custom-tmux-sessionizer"; name = "tmux-sessionizer";
runtimeInputs = with pkgs; [ tmux ]; runtimeInputs = with pkgs; [ tmux ];