Add keyd and tmux configs

This commit is contained in:
Patrick Menking 2024-09-17 20:11:18 -04:00
parent 04d420db52
commit f1f84e9923
3 changed files with 46 additions and 0 deletions

View file

@ -5,6 +5,8 @@
homeDirectory = "/home/crow";
stateVersion = "24.05";
file.".config/hypr/hyprland.conf".source = ./hyprland.conf;
file."/etc/keyd/default.conf".source = ./keyd.conf;
file
};
xdg = {
@ -238,5 +240,21 @@
foot = {
enable = true;
};
tmux = {
enable = true;
extraConfig = ''
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# Alt-arrow pane nav
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
'';
};
};
}

View file

@ -0,0 +1,26 @@
[ids]
*
[main]
capslock = layer(l2)
[l2]
w = up
s = down
a = left
d = right
b = C-b
space = playpause
. = nextsong
, = previoussong
[ = delete
] = end
escape = ~
home = end

View file

@ -12,6 +12,7 @@
foot
tmux
pulseaudio
keyd
] else []
)
++ (
@ -63,6 +64,7 @@
ddev
cloc
ansible
flutter
] else []
)
++ (