This commit is contained in:
zervo 2025-04-09 13:43:14 +02:00
parent af36115117
commit 22b5f01d89
6 changed files with 49 additions and 13 deletions

View file

@ -33,6 +33,7 @@
# constant height of 300 # constant height of 300
# height = 300 # height = 300
# NOTE: Dunst from version 1.11 and older don't support dynamic height # NOTE: Dunst from version 1.11 and older don't support dynamic height
# and the given value is treated as the maximum height # and the given value is treated as the maximum height
# Position the notification in the top right corner # Position the notification in the top right corner
@ -345,7 +346,7 @@
background = "#222222" background = "#222222"
foreground = "#ffffff" foreground = "#ffffff"
highlight = "#722ae6, #e4b5cb" highlight = "#722ae6, #e4b5cb"
timeout = 20 timeout = 6
# Icon for notifications with low urgency # Icon for notifications with low urgency
#default_icon = dialog-information #default_icon = dialog-information
@ -354,7 +355,7 @@
foreground = "#ffffff" foreground = "#ffffff"
frame_color = "#5e5086" frame_color = "#5e5086"
highlight = "#722ae6, #e4b5cb" highlight = "#722ae6, #e4b5cb"
timeout = 20 timeout = 6
override_pause_level = 30 override_pause_level = 30
# Icon for notifications with normal urgency # Icon for notifications with normal urgency
default_icon = dialog-information default_icon = dialog-information

View file

@ -22,7 +22,9 @@ exec-once = systemctl --user start hyprpolkitagent
# Start idle management daemon # Start idle management daemon
exec-once = hypridle exec-once = hypridle
# Wallpaper
exec-once = hyprpaper & sleep 1 && $scriptPath/reloadwallpaper.sh
# Rice components # Rice components
exec-once = hyprpaper
exec-once = waybar exec-once = waybar
exec-once = dunst & exec-once = dunst &

View file

@ -4,7 +4,8 @@
general { general {
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. 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. 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 { listener {
timeout = 330 # 5.5min timeout = 360 # 6min
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed 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. on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
} }
listener { listener {
timeout = 1800 # 30min timeout = 600 # 10min
on-timeout = systemctl suspend # suspend pc on-timeout = systemctl suspend # suspend pc
} }

View file

@ -32,12 +32,12 @@
## PROGRAMS ## ## PROGRAMS ##
$browser = firefox --new-window $browser = floorp -P --new-window
$terminal = kitty $terminal = kitty
$fileManager = nemo $fileManager = nemo
$lock = hyprlock --immediate $lock = hyprlock --immediate
$menu = ~/.config/rofi/launchers/type-2/launcher.sh $menu = ~/.config/rofi/launchers/type-2/launcher.sh
$screenshot = hyprshot --mode region $screenshot = hyprshot --freeze --mode region
$colorpicker = hyprpicker --autocopy $colorpicker = hyprpicker --autocopy
## MONITORS ## ## MONITORS ##

View file

@ -2,5 +2,10 @@
### WALLPAPER ### ### WALLPAPER ###
################# #################
preload = ~/.config/hypr/wp/wp.jpg #preload = ~/.config/hypr/wp/wp.jpg
wallpaper = , ~/.config/hypr/wp/wp.jpg #wallpaper = , ~/.config/hypr/wp/wp.jpg
splash = false
splash_offset = 2.0
splash_color = 55ffffff
ipc = true

View file

@ -17,14 +17,41 @@ windowrulev2 = suppressevent maximize, class:.*
# Fix some dragging issues with XWayland # Fix some dragging issues with XWayland
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 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:^(Alacritty)$
#windowrulev2 = opacity 0.9,class:^(kitty)$ #windowrulev2 = opacity 0.9,class:^(kitty)$
# windowrulev2 = opacity 0.99,class:^(code-oss)$ # windowrulev2 = opacity 0.99,class:^(code-oss)$
# windowrulev2 = opacity 0.99,class:^(Code)$ # 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:^([Ss]team)$
windowrulev2 = opacity 0.9,class:^(steamwebhelper)$ windowrulev2 = opacity 0.9,class:^(steamwebhelper)$
windowrulev2 = opacity 0.9,class:^(Spotify)$ 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)$