mirror of
https://github.com/RGBCube/ncc
synced 2025-08-02 13:07:46 +00:00
Compare commits
2 commits
42d35c6d9a
...
6f41659f99
Author | SHA1 | Date | |
---|---|---|---|
6f41659f99 | |||
32876cc5bc |
6 changed files with 21 additions and 20 deletions
|
@ -14,7 +14,8 @@ in {
|
||||||
programs.bat = enabled {
|
programs.bat = enabled {
|
||||||
config.theme = "base16";
|
config.theme = "base16";
|
||||||
themes.base16.src = pkgs.writeText "base16.tmTheme" config.theme.tmTheme;
|
themes.base16.src = pkgs.writeText "base16.tmTheme" config.theme.tmTheme;
|
||||||
config.pager = "less -FR";
|
|
||||||
|
config.pager = "less --quit-if-one-screen --RAW-CONTROL-CHARS";
|
||||||
};
|
};
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@ in {
|
||||||
|
|
||||||
gl = "git log";
|
gl = "git log";
|
||||||
glo = "git log --oneline --graph";
|
glo = "git log --oneline --graph";
|
||||||
glp = "git log -p --ext-diff";
|
glp = "git log --patch --ext-diff";
|
||||||
|
|
||||||
gpl = "git pull";
|
gpl = "git pull";
|
||||||
gplr = "git pull --rebase";
|
gplr = "git pull --rebase";
|
||||||
|
|
|
@ -16,7 +16,7 @@ in {
|
||||||
mv = "mv --verbose";
|
mv = "mv --verbose";
|
||||||
rm = "rm --recursive --verbose";
|
rm = "rm --recursive --verbose";
|
||||||
|
|
||||||
pstree = "pstree -g 2";
|
pstree = "pstree -g 3";
|
||||||
tree = "eza --tree --git-ignore --group-directories-first";
|
tree = "eza --tree --git-ignore --group-directories-first";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,10 @@ in merge <| mkIf config.isDesktop {
|
||||||
'')];
|
'')];
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
"SUPER , SPACE, exec, pkill fuzzel; fuzzel"
|
"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 , 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+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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -124,17 +124,17 @@ in merge <| mkIf config.isDesktop {
|
||||||
];
|
];
|
||||||
|
|
||||||
bind = flatten [
|
bind = flatten [
|
||||||
"SUPER , TAB, workspace, e+1"
|
"SUPER , TAB, workspace, e+1"
|
||||||
"SUPER+SHIFT, TAB, workspace, e-1"
|
"SUPER+SHIFT, TAB, workspace, e-1"
|
||||||
|
|
||||||
"SUPER, mouse_up, workspace, e+1"
|
"SUPER, mouse_up, workspace, e+1"
|
||||||
"SUPER, mouse_down, workspace, e-1"
|
"SUPER, mouse_down, workspace, e-1"
|
||||||
|
|
||||||
(map (n: [
|
(map (n: [
|
||||||
"SUPER , ${toString n}, workspace , ${toString n}"
|
"SUPER , ${toString n}, workspace , ${toString n}"
|
||||||
"SUPER+SHIFT, ${toString n}, movetoworkspacesilent, ${toString n}"
|
"SUPER+SHIFT, ${toString n}, movetoworkspacesilent, ${toString n}"
|
||||||
]) <| range 1 9)
|
]) <| range 1 9)
|
||||||
"SUPER , 0, workspace , 10"
|
"SUPER , 0, workspace , 10"
|
||||||
"SUPER+SHIFT, 0, movetoworkspacesilent, 10"
|
"SUPER+SHIFT, 0, movetoworkspacesilent, 10"
|
||||||
|
|
||||||
"SUPER+SHIFT, left , movewindow, l"
|
"SUPER+SHIFT, left , movewindow, l"
|
||||||
|
@ -147,20 +147,20 @@ in merge <| mkIf config.isDesktop {
|
||||||
"SUPER+SHIFT, k, movewindow, u"
|
"SUPER+SHIFT, k, movewindow, u"
|
||||||
"SUPER+SHIFT, l, movewindow, r"
|
"SUPER+SHIFT, l, movewindow, r"
|
||||||
|
|
||||||
"SUPER , Q, killactive"
|
"SUPER , Q, killactive"
|
||||||
"SUPER , F, fullscreen"
|
"SUPER , F, fullscreen"
|
||||||
"SUPER+SHIFT, F, togglefloating"
|
"SUPER+SHIFT, F, togglefloating"
|
||||||
|
|
||||||
"SUPER+SHIFT, RETURN, exec, kitty"
|
"SUPER+SHIFT, RETURN, exec, kitty"
|
||||||
"SUPER , RETURN, exec, ghostty --gtk-single-instance=true"
|
"SUPER , RETURN, exec, ghostty --gtk-single-instance=true"
|
||||||
"SUPER , W , exec, zen-beta"
|
"SUPER , W , exec, zen-beta"
|
||||||
"SUPER , D , exec, discord"
|
"SUPER , D , exec, discord"
|
||||||
"SUPER , Z , exec, zulip"
|
"SUPER , Z , exec, zulip"
|
||||||
"SUPER , M , exec, thunderbird"
|
"SUPER , M , exec, thunderbird"
|
||||||
"SUPER , T , exec, thunar"
|
"SUPER , T , exec, thunar"
|
||||||
# "SUPER , C , exec, hyprpicker --autocopy"
|
# "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"
|
"SHIFT, PRINT, exec, pkill grim; grim - | swappy -f - -o - | wl-copy --type image/png"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ def main --wrapped [
|
||||||
] | append ($args_split | get --ignore-errors 1 | default [])
|
] | append ($args_split | get --ignore-errors 1 | default [])
|
||||||
|
|
||||||
if (uname | get kernel-name) == "Darwin" {
|
if (uname | get kernel-name) == "Darwin" {
|
||||||
nh darwin switch . ...$nh_flags -- ...$nix_flags
|
NH_NO_CHECKS=1 nh darwin switch . ...$nh_flags -- ...$nix_flags
|
||||||
|
|
||||||
if not (xcode-select --install e>| str contains "Command line tools are already installed") {
|
if not (xcode-select --install e>| str contains "Command line tools are already installed") {
|
||||||
darwin-shadow-xcode-popup
|
darwin-shadow-xcode-popup
|
||||||
|
@ -64,7 +64,7 @@ def main --wrapped [
|
||||||
|
|
||||||
darwin-set-zshrc
|
darwin-set-zshrc
|
||||||
} else {
|
} else {
|
||||||
nh os switch . ...$nh_flags -- ...$nix_flags
|
NH_NO_CHECKS=1 nh os switch . ...$nh_flags -- ...$nix_flags
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue