diff --git a/sync-posthook.sh b/sync-posthook.sh index f36d411..220c2ca 100755 --- a/sync-posthook.sh +++ b/sync-posthook.sh @@ -7,15 +7,15 @@ # xmonad pgrep xmobar &> /dev/null && echo "Killing old xmobar instances" && echo "Running killall xmobar" && killall xmobar &> /dev/null; # xmonad will restart xmobar -pgrep xmonad &> /dev/null && echo "Recompiling xmonad" && echo "Running xmonad --recompile && xmonad --restart" && xmonad --recompile &> /dev/null && xmonad --restart &> /dev/null; +pgrep xmonad &> /dev/null && echo "Recompiling xmonad" && echo "Running xmonad --recompile && xmonad --restart" && xmonad --recompile && xmonad --restart; pgrep .dunst-wrapped &> /dev/null && echo "Restarting dunst" && killall .dunst-wrapped && echo "Running dunst" && dunst &> /dev/null & disown; -pgrep xmonad &> /dev/null && echo "Reapplying background from stylix via feh" && echo "Running ~/.fehbg-stylix" && ~/.fehbg-stylix &> /dev/null & disown; +pgrep xmonad &> /dev/null && echo "Reapplying background from stylix via feh" && echo "Running ~/.fehbg-stylix" && ~/.fehbg-stylix & disown; # hyprland pgrep Hyprland &> /dev/null && echo "Reloading hyprland" && hyprctl reload pgrep .waybar-wrapped &> /dev/null && echo "Restarting waybar" && killall .waybar-wrapped && echo "Running waybar" && waybar &> /dev/null & disown; pgrep fnott &> /dev/null && echo "Restarting fnott" && killall fnott && echo "Running fnott" && fnott &> /dev/null & disown; -pgrep Hyprland &> /dev/null && echo "Reapplying background from stylix via swaybg" && echo "Running ~/.swaybg-stylix" && ~/.swaybg-stylix &> /dev/null & disown; +pgrep Hyprland &> /dev/null && echo "Reapplying background from stylix via swaybg" && echo "Running ~/.swaybg-stylix" && ~/.swaybg-stylix & disown; # emacs -pgrep emacs &> /dev/null && echo "Reloading emacs stylix theme" && echo "Running emacsclient --no-wait --eval \"(load-theme 'doom-stylix t nil)\"" && emacsclient --no-wait --eval "(load-theme 'doom-stylix t nil)" &> /dev/null; +pgrep emacs &> /dev/null && echo "Reloading emacs stylix theme" && echo "Running emacsclient --no-wait --eval \"(load-theme 'doom-stylix t nil)\"" && emacsclient --no-wait --eval "(load-theme 'doom-stylix t nil)"; diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 9fc57fa..2be0e08 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -42,7 +42,7 @@ exec-once = emacs --daemon exec-once = hypridle - exec-once = hyprdim -d 450 -s 0.25 -D 0.25 -p + #exec-once = hyprdim # currently broken :( exec-once = obs-notification-mute-daemon exec = ~/.swaybg-stylix @@ -92,8 +92,6 @@ bind=SUPER,TAB,exec,pypr expose bind=SUPER,V,exec,wl-copy $(wl-paste | tr '\n' ' ') bind=SUPERSHIFT,T,exec,screenshot-ocr - bind=CTRLALT,Delete,exec,hyprctl kill - bind=SUPERSHIFT,K,exec,hyprctl kill bind = SUPER,R,pass,^(com\.obsproject\.Studio)$ bind = SUPERSHIFT,R,pass,^(com\.obsproject\.Studio)$ @@ -180,8 +178,7 @@ bind=SUPER,Z,exec,pypr toggle term && hyprctl dispatch bringactivetotop bind=SUPER,F,exec,pypr toggle ranger && hyprctl dispatch bringactivetotop - bind=SUPER,N,exec,pypr toggle numbat && hyprctl dispatch bringactivetotop - bind=SUPER,M,exec,pypr toggle musikcube && hyprctl dispatch bringactivetotop + bind=SUPER,N,exec,pypr toggle musikcube && hyprctl dispatch bringactivetotop bind=SUPER,B,exec,pypr toggle btm && hyprctl dispatch bringactivetotop bind=SUPER,code:172,exec,pypr toggle pavucontrol && hyprctl dispatch bringactivetotop $scratchpadsize = size 80% 85% @@ -192,11 +189,6 @@ windowrulev2 = workspace special silent,$scratchpad windowrulev2 = center,$scratchpad - $savetodisk = title:^(Save to Disk)$ - windowrulev2 = float,$savetodisk - windowrulev2 = size 70% 75%,$savetodisk - windowrulev2 = center,$savetodisk - $pavucontrol = class:^(pavucontrol)$ windowrulev2 = float,$pavucontrol windowrulev2 = size 86% 40%,$pavucontrol @@ -210,6 +202,8 @@ windowrulev2 = move 18% 25%,$miniframe windowrulev2 = animation popin 1 20,$miniframe + windowrulev2 = float,title:^(Kdenlive)$ + windowrulev2 = float,class:^(pokefinder)$ windowrulev2 = opacity 0.80,title:ORUI @@ -479,7 +473,7 @@ label { monitor = text = $TIME - color = rgb(''+config.lib.stylix.colors.base07-rgb-r+'',''+config.lib.stylix.colors.base07-rgb-g+'', ''+config.lib.stylix.colors.base07-rgb-b+'') + color = rgba(200, 200, 200, 1.0) font_size = 20 font_family = Intel One Mono rotate = 0 # degrees, counter-clockwise @@ -503,10 +497,6 @@ "command": "kitty --class scratchpad -e ranger", "margin": 50 }, - "numbat": { - "command": "alacritty --class scratchpad -e numbat", - "margin": 50 - }, "musikcube": { "command": "alacritty --class scratchpad -e musikcube", "margin": 50