refactor nixos config

This commit is contained in:
2025-12-12 21:42:42 +03:00
parent 732f6f89a5
commit 737b10813b
14 changed files with 158 additions and 135 deletions
+1
View File
@@ -27,6 +27,7 @@
nemo
pywal
jq
# quickshell
];
programs.vicinae.enable = true;
services.swww.enable = true;
@@ -106,6 +106,15 @@
"${super}+Shift, 0, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 10"
"${super}+Shift, S, movetoworkspacesilent, special"
"${super}, S, togglespecialworkspace"
"RCtrl, 1, togglespecialworkspace, s1"
"RCtrl, 2, togglespecialworkspace, s2"
"RCtrl, 3, togglespecialworkspace, s3"
"RCtrl, 4, togglespecialworkspace, s4"
"RCtrl, 5, togglespecialworkspace, s5"
# ''
# ${super}+Ctrl, 1, exec, [workspace special term; float; move 15% 15%; size 70% 70%] kitty
# ''
];
bindd = [
+4 -5
View File
@@ -86,12 +86,11 @@
wttr = "curl wttr.in/Ramenki\\?p1MQ";
gitpa = ''f() { git add -A && git commit -m "$1" && git push; }; f'';
gitpa = ''
f() { git add -A && git commit -m "$1" && git push; unset -f f; }; f
'';
og = ''f() { z github "$@" && code . && exit; unset -f f; }; f'';
amnezia = ''
(pgrep -x ".AmneziaVPN-ser" > /dev/null 2>&1 || sudo AmneziaVPN-service > /dev/null 2>&1 &) &
AmneziaVPN > /dev/null 2>&1 &
''; # TODO: start system with service
cnfg = "cd nixos-config && code . && exit";
x = "select_command";
u = "update_git_config";