From f87ff101a16f7b24cc6f534f0153686b35184d39 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 27 Apr 2024 06:50:10 -0500 Subject: [PATCH 1/3] Updated sync posthook and added keybind to refresh with posthook --- sync-posthook.sh | 2 +- user/wm/hyprland/hyprland.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sync-posthook.sh b/sync-posthook.sh index f36d411..1589450 100755 --- a/sync-posthook.sh +++ b/sync-posthook.sh @@ -12,7 +12,7 @@ pgrep .dunst-wrapped &> /dev/null && echo "Restarting dunst" && killall .dunst-w pgrep xmonad &> /dev/null && echo "Reapplying background from stylix via feh" && echo "Running ~/.fehbg-stylix" && ~/.fehbg-stylix &> /dev/null & disown; # hyprland -pgrep Hyprland &> /dev/null && echo "Reloading hyprland" && hyprctl reload +pgrep Hyprland &> /dev/null && echo "Reloading hyprland" && hyprctl reload &> /dev/null; 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; diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 2c6ddbb..75a0636 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -106,7 +106,7 @@ bind=SUPERCTRL,S,exec,container-open # qutebrowser only - bind=SUPERCTRL,R,exec,killall .waybar-wrapped && waybar & disown + bind=SUPERCTRL,R,exec,phoenix refresh bind=SUPER,code:47,exec,fuzzel bind=SUPER,X,exec,fnottctl dismiss From e84e533eb8603e1753b80381e6d49e160b0b7c6a Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 27 Apr 2024 06:50:38 -0500 Subject: [PATCH 2/3] Fixes weird opacity with fullscreen browser --- user/wm/hyprland/hyprland.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 75a0636..4053d97 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -213,6 +213,10 @@ windowrulev2 = float,class:^(pokefinder)$ windowrulev2 = opacity 0.80,title:ORUI + + windowrulev2 = opacity 1.0,class:^(org.qutebrowser.qutebrowser),fullscreen:1 + windowrulev2 = opacity 1.0,class:^(Brave-browser),fullscreen:1 + windowrulev2 = opacity 1.0,class:^(librewolf),fullscreen:1 windowrulev2 = opacity 0.80,title:Heimdall windowrulev2 = opacity 0.80,title:^(LibreWolf)$ windowrulev2 = opacity 0.80,title:^(New Tab - LibreWolf)$ From e47bad56d208792291bdce15b0c7933dc4cc8aec Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 27 Apr 2024 06:50:51 -0500 Subject: [PATCH 3/3] Motion moving keybinds work with fullscreen apps now! --- user/wm/hyprland/hyprland.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 4053d97..54db011 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -256,6 +256,10 @@ env = WLR_DRM_DEVICES,/dev/dri/card2:/dev/dri/card1 env = QT_QPA_PLATFORMTHEME,qt5ct + binds { + movefocus_cycles_fullscreen = false + } + input { kb_layout = us kb_options = caps:escape