uh idk lmao

This commit is contained in:
Riley Apeldoorn 2022-05-15 16:11:41 +02:00
parent 048d5e012f
commit d2cc84899a
4 changed files with 17 additions and 11 deletions

View File

@ -152,9 +152,6 @@ let named = submodule {
# [D]isown # [D]isown
"d" = "disown"; "d" = "disown";
# Install a [p]ackage in a nix-shell
"p" = "nix-shell -p";
}; };
programs.bash.interactiveShellInit = '' programs.bash.interactiveShellInit = ''

View File

@ -8,17 +8,26 @@
users.users."riley".packages = with pkgs; [ users.users."riley".packages = with pkgs; [
(writeShellApplication { (writeShellApplication {
name = "copy"; name = "c";
runtimeInputs = [ xclip ]; runtimeInputs = [ xclip ];
text = "xclip -sel clip -i"; text = "xclip -sel clip -i";
}) })
(writeShellApplication { (writeShellApplication {
name = "paste"; name = "p";
runtimeInputs = [ xclip ]; runtimeInputs = [ xclip ];
text = "xclip -sel clip -o"; text = "xclip -sel clip -o";
}) })
(writeShellApplication {
name = "sc";
runtimeInputs = [ xclip scrot ];
text = ''
scrot -zso /tmp/sc.png
xclip -t "image/png" -sel clip -i < /tmp/sc.png
'';
})
]; ];
}) })

View File

@ -14,11 +14,11 @@ let theme = config.riley.theme.hex;
}; };
workspace = { workspace = {
numbered = 5; numbered = 6;
named = { named = {
"web" = "equal"; "chat" = "q";
"doc" = "minus"; "code" = "w";
"dev" = "0"; "browser" = "e";
}; };
}; };

View File

@ -62,8 +62,8 @@ with lib; let mod = modifier;
"${mod}+A" = "split v"; "${mod}+A" = "split v";
"${mod}+S" = "split h"; "${mod}+S" = "split h";
"${mod}+Q" = "layout tabbed"; "${mod}+Mod1+A" = "layout toggle stacked splitv";
"${mod}+W" = "layout default"; "${mod}+Mod1+S" = "layout toggle tabbed splith";
"${mod}+F" = "fullscreen toggle"; "${mod}+F" = "fullscreen toggle";