diff --git a/env/.config/hypr/keybinds.conf b/env/.config/hypr/keybinds.conf index 7fbd037..9c952c5 100644 --- a/env/.config/hypr/keybinds.conf +++ b/env/.config/hypr/keybinds.conf @@ -46,10 +46,12 @@ bind = $mainMod, M, exec, ~/.local/bin/toggle-waybar bind = $mainMod, N, exec, $terminal -e nvim bind = $mainMod, P, exec, $pwa "https://pass.proton.me" bind = $mainMod SHIFT, P, pseudo, # dwindle +bind = $mainMod SHIFT, R, exec, ~/.local/bin/waybar-restart bind = $mainMod, Y, exec, $pwa "https://youtube.com" +bind = $mainMod, U, exec, $pwd "https://unifi.ui.com" +bind = $mainMod SHIFT, U, exec, $terminal --class=com.ghostty.float -e ~/.local/scripts/uninstall-desktop-app bind = $mainMod, V, exec, $terminal --class=com.ghostty.clipse -e clipse bind = $mainMod, W, killactive, -bind = $mainMod SHIFT, R, exec, ~/.local/bin/waybar-restart # TODO: change modifier key. #bind = $mainMod SHIFT, L, exec, hyprlock @@ -61,8 +63,8 @@ bind = $mainMod SHIFT, R, exec, ~/.local/bin/waybar-restart bind = $mainMod SHIFT ALT, 4, exec, hyprshot -m region -o ~/Pictures bind = $mainMod SHIFT ALT, 3, exec, hyprshot -m window -o ~/Pictures -bind = CTRL, F, exec, ~/.local/bin/window-toggle-floating -#bind = CTRL, F, togglefloating, +bind = CTRL, F, fullscreen, +bind = ctrl shift, f, exec, ~/.local/scripts/window-toggle-floating # Move focus with mainMod + arrow keys bind = $mainMod, H, movefocus, l diff --git a/env/.config/hypr/windows.conf b/env/.config/hypr/windows.conf index d01c25c..21f74e6 100644 --- a/env/.config/hypr/windows.conf +++ b/env/.config/hypr/windows.conf @@ -11,11 +11,12 @@ windowrule = center, tag:floating-window windowrule = size 800 600, tag:floating-window # Force windows to be a floating window -windowrule = tag +floating-window, class:^(blueberry.py|org.gnome.Nautilus)$ +windowrule = tag +floating-window, class:^(blueberry.py|org.gnome.Nautilus|com.ghostty.float)$ -# Force bluetooth settings to stay focused when visible. +# Force to stay focused when visible. windowrule = stayfocused, class:(blueberry.py) windowrule = stayfocused, class:Pinentry.gtk +windowrule = stayfocused, class:com.ghostty.float # Clipboard history tui in floating window. windowrule = tag +floating-window, class:.*clipse.* diff --git a/env/.local/scripts/uninstall-desktop-app b/env/.local/scripts/uninstall-desktop-app index 9dc6f51..872e463 100755 --- a/env/.local/scripts/uninstall-desktop-app +++ b/env/.local/scripts/uninstall-desktop-app @@ -58,9 +58,10 @@ fi if [[ ${#files} == 0 ]]; then interactive_mode="1" + files+=( $(find $XDG_DATA_HOME/applications -mindepth 1 -maxdepth 1 -type f -name "*.desktop" -printf "%f\n" | - gum choose --no-limit --padding "2 4" --header "Choose desktop apps to remove:") + gum choose --no-limit --padding "2 4" --header "Choose desktop apps to remove:" --selected-prefix="✗ ") ) fi @@ -105,7 +106,6 @@ for f in ${files[@]}; do rm -rf $file fi fi - done if [[ ${#files} -gt 0 ]]; then