mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
Add keyd and tmux configs
This commit is contained in:
parent
04d420db52
commit
f1f84e9923
3 changed files with 46 additions and 0 deletions
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
26
modules/home/crow/keyd.conf
Normal file
26
modules/home/crow/keyd.conf
Normal 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
|
||||
|
|
@ -12,6 +12,7 @@
|
|||
foot
|
||||
tmux
|
||||
pulseaudio
|
||||
keyd
|
||||
] else []
|
||||
)
|
||||
++ (
|
||||
|
|
@ -63,6 +64,7 @@
|
|||
ddev
|
||||
cloc
|
||||
ansible
|
||||
flutter
|
||||
] else []
|
||||
)
|
||||
++ (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue