diff --git a/.config/hypr/config/ENVariables.conf b/.config/hypr/config/ENVariables.conf index 09ed3c1..829e862 100644 --- a/.config/hypr/config/ENVariables.conf +++ b/.config/hypr/config/ENVariables.conf @@ -14,6 +14,8 @@ env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland +env = PATH,$HOME/.cargo/bin:$HOME/.local/share/scripts:$PATH + # hyprland-qt-support env = QT_QUICK_CONTROLS_STYLE,org.hyprland.style diff --git a/.config/hypr/config/Keybinds.conf b/.config/hypr/config/Keybinds.conf index 6d194bd..4de6b73 100644 --- a/.config/hypr/config/Keybinds.conf +++ b/.config/hypr/config/Keybinds.conf @@ -98,7 +98,7 @@ bind = $mainMod, F, fullscreen, 1 bind = $mainMod SHIFT, F, fullscreen, 0 $mainMod = SUPER -$files = gtk-launch yazi +$files = hyprdrop ghostty --identifier yazi_hyprdrop --args="yazi" --env="PWD=~/" $term = ghostty $scriptsDir = $HOME/.config/hypr/scripts @@ -108,4 +108,5 @@ bind = $mainMod, Tab, exec, nwg-drawer -pbexit "wayland-logout" -pbpoweroff "sys bind = ALT, Tab, exec, hyprswitch gui --mod-key alt --key tab bind = $mainMod, Return, exec, $term #terminal +bind = $mainMod SHIFT, Return, exec, hyprdrop $term --identifier term_dropdown bind = $mainMod, T, exec, $files #file manager diff --git a/.config/hypr/config/WindowRules.conf b/.config/hypr/config/WindowRules.conf index dcd3bbc..17cd2a3 100644 --- a/.config/hypr/config/WindowRules.conf +++ b/.config/hypr/config/WindowRules.conf @@ -21,6 +21,7 @@ windowrulev2 = move 72% 7%,title:^(Picture-in-Picture)$ #windowrulev2 = move 72% 7%,title:^(Firefox)$ windowrulev2 = move cursor -50% -50%, class:blobdrop windowrulev2 = move cursor -50% -25%, class:Bitwarden +windowrulev2 = move 0.5% 55px,title:term_dropdown # windowrule v2 to avoid idle for fullscreen apps windowrulev2 = idleinhibit fullscreen, class:^(*)$ @@ -80,7 +81,8 @@ windowrulev2 = float, title:^(hyprgui)$ windowrulev2 = float, class:^(io.ente.auth)$ windowrulev2 = float, class:^(org.rncbc.qjackctl)$ windowrulev2 = float, class:^(blobdrop)$ -windowrulev2 = float, title:Yazi-STANDALONE +windowrulev2 = float, title:yazi_hyprdrop +windowrulev2 = float, title:term_dropdown windowrulev2 = float, class:Bitwarden # windowrule v2 - size @@ -98,28 +100,17 @@ windowrulev2 = size 60% 70%, title:^(ROG Control)$ windowrulev2 = size 60% 70%, title:^(hyprgui)$ windowrulev2 = size 240px 450px, class:^(libresplit)$ windowrulev2 = size 500px 1000px, class:^(io.ente.auth)$ -windowrulev2 = size 60% 70%, title:Yazi-STANDALONE +windowrulev2 = size 60% 70%, title:yazi_hyprdrop +windowrulev2 = size 99% <30%, title:term_dropdown windowrulev2 = size 40% 70%, class:Bitwarden # windowrule v2 - pinning windowrulev2 = pin,title:^(Picture-in-Picture)$ windowrulev2 = pin,class: ^(io.ente.auth)$ windowrulev2 = pin,class:blobdrop +windowrulev2 = pin,title:term_dropdown #windowrulev2 = pin,title:^(Firefox)$ # windowrule v2 - extras windowrulev2 = keepaspectratio, title:^(Picture-in-Picture)$ - -#windowrulev2 = bordercolor rgb(EE4B55) rgb(880808), fullscreen:1 -#windowrulev2 = bordercolor rgb(282737) rgb(1E1D2D), floating:1 -#windowrulev2 = opacity 0.8 0.8, pinned:1 - - -# LAYER RULES -#layerrule = unset,class:^([Rr]ofi)$ -#layerrule = blur,class:^([Rr]ofi)$ -#layerrule = ignorezero, - -#layerrule = ignorezero, overview -#layerrule = blur, overview diff --git a/.config/terminal/.setuprc b/.config/terminal/.setuprc index 4448929..58a8fa7 100644 --- a/.config/terminal/.setuprc +++ b/.config/terminal/.setuprc @@ -1,8 +1,6 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return -export PATH=$PATH:$HOME/.local/share/scripts - # Adds wal colors (cat ~/.cache/wal/sequences &) source ~/.cache/wal/colors-tty.sh diff --git a/.config/yadm/bootstrap.d/30-Hyprdrop.sh b/.config/yadm/bootstrap.d/30-Hyprdrop.sh new file mode 100755 index 0000000..c33243c --- /dev/null +++ b/.config/yadm/bootstrap.d/30-Hyprdrop.sh @@ -0,0 +1,11 @@ +#!/bin/env sh + +PREV_DIRECTORY=$PWD + +git clone https://github.com/kjlo/hyprdrop ~/.cache/hyprdrop +cd ~/.cache/hyprdrop +cargo install --path . + +cd $PREV_DIRECTORY + +rm -rf ~/.cache/hyprdrop