diff options
| author | Mike Vink <mike@pionative.com> | 2024-03-08 22:35:52 +0100 |
|---|---|---|
| committer | Mike Vink <mike@pionative.com> | 2024-03-08 22:35:52 +0100 |
| commit | 1655468b949829a7bf6fe1a79a60a636e407c5ca (patch) | |
| tree | fdcd6df433c43e2d5b3181838e2becf942cb0c3e /profiles | |
| parent | 4b8d71a669112b6e6b4d91381a0e0afaf08cfc9b (diff) | |
make it somewhat make sense
Diffstat (limited to 'profiles')
| -rw-r--r-- | profiles/core/home.nix | 21 | ||||
| -rw-r--r-- | profiles/core/lf.nix | 6 | ||||
| -rw-r--r-- | profiles/station/suckless.nix | 4 |
3 files changed, 22 insertions, 9 deletions
diff --git a/profiles/core/home.nix b/profiles/core/home.nix index 08e2c06..eb0bcac 100644 --- a/profiles/core/home.nix +++ b/profiles/core/home.nix @@ -6,8 +6,8 @@ ... }: with lib; { programs.tmux = let - config = '' - set-option -g default-shell ${pkgs.bashInteractive}/bin/bash + cfg = '' + set-option -g default-shell ${config.ivi.shell}/bin/zsh set -g status off set -s set-clipboard on setw -g mouse on @@ -19,6 +19,19 @@ set -g prefix M-x bind M-x send-prefix + bind -n M-w switch-client -T windows + bind -T windows c if 'n=`tmux list-panes | grep -c ^`; [ $n -gt 1 ]' { + kill-pane + } + bind -T windows n splitp + bind -T windows N splitp -h + bind -T windows h select-pane -L + bind -T windows j select-pane -D + bind -T windows k select-pane -U + bind -T windows l select-pane -R + bind -T windows _ resize-pane -Z + bind -T windows = selectl even-vertical + set-window-option -g mode-keys vi bind-key -T copy-mode-vi v send -X begin-selection bind-key -T copy-mode-vi V send -X select-line @@ -28,9 +41,9 @@ in { enable = true; } // (if machine.isDarwin then { - tmuxConfig = config; + tmuxConfig = cfg; } else { - extraConfig = config; + extraConfig = cfg; }); hm = { diff --git a/profiles/core/lf.nix b/profiles/core/lf.nix index 9ea30b0..5e1474c 100644 --- a/profiles/core/lf.nix +++ b/profiles/core/lf.nix @@ -1,9 +1,9 @@ {pkgs,config,...}: { hm.home.packages = [pkgs.ueberzug pkgs.lf]; hm.xdg.configFile = { - "lf/cleaner".source = config.lib.meta.mkMutableSymlink /mut/lf/cleaner; - "lf/scope".source = config.lib.meta.mkMutableSymlink /mut/lf/scope; - "lf/lfrc".source = config.lib.meta.mkMutableSymlink /mut/lf/lfrc; + # "lf/cleaner".source = config.lib.meta.mkMutableSymlink /mut/lf/cleaner; + # "lf/scope".source = config.lib.meta.mkMutableSymlink /mut/lf/scope; + # "lf/lfrc".source = config.lib.meta.mkMutableSymlink /mut/lf/lfrc; "lf/icons".text = '' di 📁 fi 📃 diff --git a/profiles/station/suckless.nix b/profiles/station/suckless.nix index 36a299f..2814b8c 100644 --- a/profiles/station/suckless.nix +++ b/profiles/station/suckless.nix @@ -11,8 +11,8 @@ xsession = { enable = true; initExtra = '' - ${pkgs.xorg.xmodmap}/bin/xmodmap -e "remove mod1 = Alt_R" - ${pkgs.xorg.xmodmap}/bin/xmodmap -e "add mod3 = Alt_R" + ${pkgs.xorg.setxkbmap}/bin/setxkbmap -option "ctrl:swapcaps" + ${pkgs.xorg.xset}/bin/xset r rate 220 30 wal -R dwm dwmblocks & |
