1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 18:17:44 +00:00

treewide: explicit control chars

This commit is contained in:
RGBCube 2025-06-05 00:18:30 +03:00
parent 32876cc5bc
commit 6f41659f99
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
5 changed files with 19 additions and 18 deletions

View file

@ -14,7 +14,8 @@ in {
programs.bat = enabled {
config.theme = "base16";
themes.base16.src = pkgs.writeText "base16.tmTheme" config.theme.tmTheme;
config.pager = "less -FR";
config.pager = "less --quit-if-one-screen --RAW-CONTROL-CHARS";
};
}];
}

View file

@ -29,7 +29,7 @@ in {
gl = "git log";
glo = "git log --oneline --graph";
glp = "git log -p --ext-diff";
glp = "git log --patch --ext-diff";
gpl = "git pull";
gplr = "git pull --rebase";

View file

@ -16,7 +16,7 @@ in {
mv = "mv --verbose";
rm = "rm --recursive --verbose";
pstree = "pstree -g 2";
pstree = "pstree -g 3";
tree = "eza --tree --git-ignore --group-directories-first";
};

View file

@ -14,10 +14,10 @@ in merge <| mkIf config.isDesktop {
'')];
bind = [
"SUPER , SPACE, exec, pkill fuzzel; fuzzel"
"SUPER , E , exec, pkill fuzzel; cat ${./emojis.txt} | fuzzel --no-fuzzy --dmenu | cut -d ' ' -f 1 | tr -d '\\n' | wl-copy"
"SUPER , SPACE, exec, pkill fuzzel; fuzzel"
"SUPER , E , exec, pkill fuzzel; cat ${./emojis.txt} | fuzzel --no-fuzzy --dmenu | cut -d ' ' -f 1 | tr -d '\\n' | wl-copy"
"SUPER+SHIFT, E , exec, pkill fuzzel; cat ${./emojis.txt} | fuzzel --no-fuzzy --dmenu | cut -d ' ' -f 1 | tr -d '\\n' | wtype -"
"SUPER , V , exec, pkill fuzzel; cliphist list | fuzzel --dmenu | cliphist decode | wl-copy"
"SUPER , V , exec, pkill fuzzel; cliphist list | fuzzel --dmenu | cliphist decode | wl-copy"
];
};

View file

@ -124,17 +124,17 @@ in merge <| mkIf config.isDesktop {
];
bind = flatten [
"SUPER , TAB, workspace, e+1"
"SUPER , TAB, workspace, e+1"
"SUPER+SHIFT, TAB, workspace, e-1"
"SUPER, mouse_up, workspace, e+1"
"SUPER, mouse_down, workspace, e-1"
(map (n: [
"SUPER , ${toString n}, workspace , ${toString n}"
"SUPER , ${toString n}, workspace , ${toString n}"
"SUPER+SHIFT, ${toString n}, movetoworkspacesilent, ${toString n}"
]) <| range 1 9)
"SUPER , 0, workspace , 10"
"SUPER , 0, workspace , 10"
"SUPER+SHIFT, 0, movetoworkspacesilent, 10"
"SUPER+SHIFT, left , movewindow, l"
@ -147,20 +147,20 @@ in merge <| mkIf config.isDesktop {
"SUPER+SHIFT, k, movewindow, u"
"SUPER+SHIFT, l, movewindow, r"
"SUPER , Q, killactive"
"SUPER , F, fullscreen"
"SUPER , Q, killactive"
"SUPER , F, fullscreen"
"SUPER+SHIFT, F, togglefloating"
"SUPER+SHIFT, RETURN, exec, kitty"
"SUPER , RETURN, exec, ghostty --gtk-single-instance=true"
"SUPER , W , exec, zen-beta"
"SUPER , D , exec, discord"
"SUPER , Z , exec, zulip"
"SUPER , M , exec, thunderbird"
"SUPER , T , exec, thunar"
"SUPER , RETURN, exec, ghostty --gtk-single-instance=true"
"SUPER , W , exec, zen-beta"
"SUPER , D , exec, discord"
"SUPER , Z , exec, zulip"
"SUPER , M , exec, thunderbird"
"SUPER , T , exec, thunar"
# "SUPER , C , exec, hyprpicker --autocopy"
" , PRINT, exec, pkill grim; grim -g \"$(slurp -w 0)\" - | swappy -f - -o - | wl-copy --type image/png"
" , PRINT, exec, pkill grim; grim -g \"$(slurp -w 0)\" - | swappy -f - -o - | wl-copy --type image/png"
"SHIFT, PRINT, exec, pkill grim; grim - | swappy -f - -o - | wl-copy --type image/png"
];