From 5adbd7673ea8f91b689a3325e6a50d52711c235f Mon Sep 17 00:00:00 2001 From: r0r-5chach Date: Fri, 7 Jul 2023 19:56:53 +0000 Subject: [PATCH] rofi stayfocused --- .config/hypr/hyprland.conf | 2 ++ .config/zsh/init | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index ad64087..0437c7f 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -80,6 +80,8 @@ gestures { workspace_swipe = off } +windowrulev2 = stayfocused,class:^(Rofi)$ + bind = $open_terminal, exec, $terminal_emulator bind = $close_window, killactive, bind = $exit_hyprland, exit, diff --git a/.config/zsh/init b/.config/zsh/init index e610365..8712bd4 100755 --- a/.config/zsh/init +++ b/.config/zsh/init @@ -1,5 +1,5 @@ -TITLE="/home/r0r5chach/.config/zsh/titles/title-$(( $RANDOM % 45 + 1 ))" -ART="/home/r0r5chach/.config/zsh/art/art-$(( $RANDOM % 22 + 1 ))" +TITLE="/home/$USER/.config/zsh/titles/title-$(( $RANDOM % 45 + 1 ))" +ART="/home/$USER/.config/zsh/art/art-$(( $RANDOM % 22 + 1 ))" print() { for (( i=0; i<${#1}; i++ )); do