diff --git a/private_dot_config/dunst/dunstrc b/private_dot_config/dunst/dunstrc index b029c38..93bae11 100644 --- a/private_dot_config/dunst/dunstrc +++ b/private_dot_config/dunst/dunstrc @@ -33,6 +33,7 @@ # constant height of 300 # height = 300 # NOTE: Dunst from version 1.11 and older don't support dynamic height + # and the given value is treated as the maximum height # Position the notification in the top right corner @@ -345,7 +346,7 @@ background = "#222222" foreground = "#ffffff" highlight = "#722ae6, #e4b5cb" - timeout = 20 + timeout = 6 # Icon for notifications with low urgency #default_icon = dialog-information @@ -354,7 +355,7 @@ foreground = "#ffffff" frame_color = "#5e5086" highlight = "#722ae6, #e4b5cb" - timeout = 20 + timeout = 6 override_pause_level = 30 # Icon for notifications with normal urgency default_icon = dialog-information diff --git a/private_dot_config/hypr/autostart.conf b/private_dot_config/hypr/autostart.conf index 0e3993a..2d78c6f 100644 --- a/private_dot_config/hypr/autostart.conf +++ b/private_dot_config/hypr/autostart.conf @@ -22,7 +22,9 @@ exec-once = systemctl --user start hyprpolkitagent # Start idle management daemon exec-once = hypridle +# Wallpaper +exec-once = hyprpaper & sleep 1 && $scriptPath/reloadwallpaper.sh + # Rice components -exec-once = hyprpaper exec-once = waybar exec-once = dunst & diff --git a/private_dot_config/hypr/hypridle.conf b/private_dot_config/hypr/hypridle.conf index 5b200d9..e5e2515 100644 --- a/private_dot_config/hypr/hypridle.conf +++ b/private_dot_config/hypr/hypridle.conf @@ -4,7 +4,8 @@ general { lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. - before_sleep_cmd = loginctl lock-session # lock before suspend. + #before_sleep_cmd = loginctl lock-session # lock before suspend. + before_sleep_cmd = hyprlock after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. } @@ -27,12 +28,12 @@ listener { } listener { - timeout = 330 # 5.5min + timeout = 360 # 6min on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. } listener { - timeout = 1800 # 30min + timeout = 600 # 10min on-timeout = systemctl suspend # suspend pc -} \ No newline at end of file +} diff --git a/private_dot_config/hypr/hyprland.conf b/private_dot_config/hypr/hyprland.conf index 72c4102..37e78d0 100644 --- a/private_dot_config/hypr/hyprland.conf +++ b/private_dot_config/hypr/hyprland.conf @@ -32,12 +32,12 @@ ## PROGRAMS ## -$browser = firefox --new-window +$browser = floorp -P --new-window $terminal = kitty $fileManager = nemo $lock = hyprlock --immediate $menu = ~/.config/rofi/launchers/type-2/launcher.sh -$screenshot = hyprshot --mode region +$screenshot = hyprshot --freeze --mode region $colorpicker = hyprpicker --autocopy ## MONITORS ## diff --git a/private_dot_config/hypr/hyprpaper.conf b/private_dot_config/hypr/hyprpaper.conf index 7c0054a..728ec29 100644 --- a/private_dot_config/hypr/hyprpaper.conf +++ b/private_dot_config/hypr/hyprpaper.conf @@ -2,5 +2,10 @@ ### WALLPAPER ### ################# -preload = ~/.config/hypr/wp/wp.jpg -wallpaper = , ~/.config/hypr/wp/wp.jpg \ No newline at end of file +#preload = ~/.config/hypr/wp/wp.jpg +#wallpaper = , ~/.config/hypr/wp/wp.jpg + +splash = false +splash_offset = 2.0 +splash_color = 55ffffff +ipc = true diff --git a/private_dot_config/hypr/rules.conf b/private_dot_config/hypr/rules.conf index 1c2294c..4928e7b 100644 --- a/private_dot_config/hypr/rules.conf +++ b/private_dot_config/hypr/rules.conf @@ -17,14 +17,41 @@ windowrulev2 = suppressevent maximize, class:.* # Fix some dragging issues with XWayland windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 +# Fix "buggy" tooltip focus stuff +#windowrulev2 = noinitialfocus,class:^jetbrains-(?!toolbox),floating:1 +#windowrulev2 = stayfocused,class:^(jetbrains)$ +windowrulev2 = stayfocused,title:^()$,class:^(steam)$ +windowrulev2 = minsize 1 1,title:^()$,class:^(steam)$ +# Fix odd behaviors in IntelliJ IDEs +# - Fix focus issues when dialogs are opened or closed +#windowrulev2 = windowdance,class:^(jetbrains-.*)$,floating:1 +# - Fix splash screen showing in weird places and prevent annoying focus takeovers +windowrulev2 = center,class:^(jetbrains-.*)$,title:^(splash)$,floating:1 +windowrulev2 = nofocus,class:^(jetbrains-.*)$,title:^(splash)$,floating:1 +windowrulev2 = noborder,class:^(jetbrains-.*)$,title:^(splash)$,floating:1 +# - Center popups/find windows +windowrulev2 = center,class:^(jetbrains-.*)$,title:^( )$,floating:1 +windowrulev2 = stayfocused,class:^(jetbrains-.*)$,title:^( )$,floating:1 +windowrulev2 = noborder,class:^(jetbrains-.*)$,title:^( )$,floating:1 +# - Disable window flicker when autocomplete or tooltips appear +windowrulev2 = nofocus,class:^(jetbrains-.*)$,title:^(win.*)$,floating:1 + +# Workspace rules +windowrulev2 = workspace 2,class:^(VSCodium)$ +windowrulev2 = workspace 10,class:^(firefox)$ + +# Opacity rules windowrulev2 = opacity 0.9,class:^(Alacritty)$ #windowrulev2 = opacity 0.9,class:^(kitty)$ # windowrulev2 = opacity 0.99,class:^(code-oss)$ # windowrulev2 = opacity 0.99,class:^(Code)$ -windowrulev2 = opacity 0.9,class:^(VSCodium)$ +windowrulev2 = opacity 0.95,class:^(VSCodium)$ windowrulev2 = opacity 0.9,class:^([Ss]team)$ windowrulev2 = opacity 0.9,class:^(steamwebhelper)$ windowrulev2 = opacity 0.9,class:^(Spotify)$ +windowrulev2 = opacity 0.9,class:^(org.gnome.NetworkDisplays)$ -windowrulev2 = float, class:firefox,title:(.*)(Bitwarden Password Manager) +# Floating rules +windowrulev2 = float, class:^(firefox)$,title:(.*)(Bitwarden Password Manager) +windowrulev2 = float, class:^(org.gnome.NetworkDisplays)$