fix eval warnings

This commit is contained in:
Satria 2026-04-08 20:17:35 +07:00
commit a880332346
6 changed files with 10 additions and 6 deletions

View file

@ -44,6 +44,8 @@
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;
vimAlias = true; vimAlias = true;
withRuby = false;
withPython3 = false;
initLua = '' initLua = ''
vim.opt.clipboard = "unnamedplus" vim.opt.clipboard = "unnamedplus"
vim.opt.termguicolors = true vim.opt.termguicolors = true
@ -81,6 +83,7 @@
}; };
git = { git = {
enable = true; enable = true;
signing.format = null;
settings = { settings = {
pull.rebase = "true"; pull.rebase = "true";
credential.helper = "cache --timeout=3600"; credential.helper = "cache --timeout=3600";

View file

@ -32,7 +32,7 @@
''; '';
shellAliases = { shellAliases = {
"cd-gvfs" = "cd /run/user/$(id -u)/gvfs"; "cd-gvfs" = "cd /run/user/$(id -u)/gvfs";
"wlp-set" = "swww img --transition-type=grow --transition-duration=1"; "wlp-set" = "awww img --transition-type=grow --transition-duration=1";
"ssh" = "TERM=xterm-256color ssh"; "ssh" = "TERM=xterm-256color ssh";
"cd" = "z"; "cd" = "z";

View file

@ -16,7 +16,7 @@
]; ];
services = { services = {
swww.enable = true; awww.enable = true;
hyprpolkitagent.enable = true; hyprpolkitagent.enable = true;
}; };

View file

@ -30,7 +30,7 @@
#"dunst &" #"dunst &"
#"hypridle &" #"hypridle &"
#"swww-daemon &" #"awww-daemon &"
"uwsm app -s s -- waybar &" "uwsm app -s s -- waybar &"
"uwsm app -s b -- sunshine &" "uwsm app -s b -- sunshine &"
@ -140,7 +140,7 @@
layerrule = [ layerrule = [
"no_anim on, match:namespace selection" # hyprshot overlay "no_anim on, match:namespace selection" # hyprshot overlay
"no_anim on, match:namespace hyprpicker" "no_anim on, match:namespace hyprpicker"
"animation fade, match:namespace swww-daemon" "animation fade, match:namespace awww-daemon"
"animation fade, match:namespace logout_dialog" "animation fade, match:namespace logout_dialog"
"animation fade, match:namespace hyprshutdown" "animation fade, match:namespace hyprshutdown"
"above_lock 2, match:namespace notifications" "above_lock 2, match:namespace notifications"

View file

@ -95,10 +95,10 @@
"SUPER, N, exec, uwsm app -- rofi-network-manager" "SUPER, N, exec, uwsm app -- rofi-network-manager"
"SUPER, J, exec, notify-send -u critical ${hostname} 'Caffein Mode' && notify-send '(SUPER+X to reset)' && systemctl --user stop hypridle" "SUPER, J, exec, notify-send -u critical ${hostname} 'Caffein Mode' && notify-send '(SUPER+X to reset)' && systemctl --user stop hypridle"
"SUPER, K, exec, notify-send -u critical ${hostname} 'Focus Mode' && notify-send '(SUPER+X to reset)' && systemctl --user stop swww && pkill -SIGUSR1 waybar && hyprctl --batch 'keyword decoration:inactive_opacity 1.0; keyword decoration:blur:enabled 0; keyword general:gaps_in 0; keyword general:gaps_out 0; keyword general:border_size 1; keyword decoration:rounding 0; keyword decoration:shadow:enabled false'" "SUPER, K, exec, notify-send -u critical ${hostname} 'Focus Mode' && notify-send '(SUPER+X to reset)' && systemctl --user stop awww && pkill -SIGUSR1 waybar && hyprctl --batch 'keyword decoration:inactive_opacity 1.0; keyword decoration:blur:enabled 0; keyword general:gaps_in 0; keyword general:gaps_out 0; keyword general:border_size 1; keyword decoration:rounding 0; keyword decoration:shadow:enabled false'"
"SUPER, B, submap, disabled-all-keybinds" "SUPER, B, submap, disabled-all-keybinds"
"SUPER, H, exec, notify-send ${hostname} 'Animations Off' && hyprctl keyword animations:enabled 0" "SUPER, H, exec, notify-send ${hostname} 'Animations Off' && hyprctl keyword animations:enabled 0"
"SUPER, X, exec, dunstctl close-all && hyprctl reload && hyprctl dispatch submap reset && pkill -SIGUSR2 waybar && systemctl --user restart swww hypridle fusuma" "SUPER, X, exec, dunstctl close-all && hyprctl reload && hyprctl dispatch submap reset && pkill -SIGUSR2 waybar && systemctl --user restart awww hypridle fusuma"
"SUPER, Z, exec, dunstctl close-all" "SUPER, Z, exec, dunstctl close-all"
"SUPER SHIFT, S, exec, hyprshot -zm region -o ~/Pictures/Screenshots; killall -9 hyprpicker hyprshot" "SUPER SHIFT, S, exec, hyprshot -zm region -o ~/Pictures/Screenshots; killall -9 hyprpicker hyprshot"

View file

@ -18,6 +18,7 @@
gtk = { gtk = {
enable = true; enable = true;
gtk3.extraConfig.gtk-application-prefer-dark-theme = 1; gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
gtk4.theme = null;
iconTheme = { iconTheme = {
name = "Papirus-Dark"; name = "Papirus-Dark";
package = lib.mkForce pkgs.papirus-icon-theme; package = lib.mkForce pkgs.papirus-icon-theme;