# Some default env vars.
env = QT_QPA_PLATFORM,wayland;xcb
-#env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORMTHEME,kde
env = GDK_BACKEND,wayland,x11,*
-#env = GDK_SCALE=1 # scaling XWayland clients
env = GTK_USE_PORTAL,1
env = MOZ_ENABLE_WAYLAND,1
env = SDL_VIDEODRIVER,wayland # remove or set to x11 for games providing older versions of SDL
-# use older kernel DRM API (allow-tearing), not necessary above Linux 6.8
-# env = WLR_DRM_NO_ATOMIC,0
+# probably necessary for hi-dpi displays:
+#env = GDK_SCALE=1 # scaling XWayland clients
+#env = QT_AUTO_SCREEN_SCALE_FACTOR,1
# set cursor
env = XCURSOR_THEME,BreezeX-Black
kb_rules =
follow_mouse = 1
+ focus_on_close = 1
touchpad {
natural_scroll = no
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
-
- gaps_in = 6
- gaps_out = 12
- border_size = 1
- col.active_border = $base0D $base0C 40deg
- col.inactive_border = $base04 $base02 40deg
- col.nogroup_border_active = rgba(993399ee) rgba(663399ee) 40deg
- col.nogroup_border = rgba(73267377) rgba(4c267377) 40deg
+ border_size = 1
+ gaps_in = 5
+ gaps_out = 10
+ col.active_border = $base09 $base0A 90deg
+ col.inactive_border = $base02 $base01 90deg
+ # col.nogroup_border_active = $base0D $base04 40deg
+ # col.nogroup_border = $base04 $base0D 40deg
layout = dwindle
rounding = 8
blur {
enabled = true
- size = 3
+ size = 2
passes = 2
vibrancy = 0.1696
}
drop_shadow = true
- shadow_range = 8
- shadow_render_power = 3
- col.shadow = rgba(1a1a1aee)
+ shadow_range = 14
+ rounding = 8
+ shadow_render_power = 2
+ col.shadow = $base02
+ dim_special = 0.3
+ dim_inactive = true
+ dim_strength = 0.2
}
animations {
key_press_enables_dpms = true
vrr = 2
vfr = false #enable for battery savings
+ render_unfocused_fps = 60
+ allow_session_lock_restore = 1
}
# Example per-device config
}
group {
- insert_after_current = false
- col.border_active = rgba(e9e836ee) rgba(e3c401ee) 75deg
- col.border_inactive = rgba(e3c40177) rgba(b7a10077) 75deg
- col.border_locked_active = rgba(2e8b57ee) rgba(2e8a73ee) 75deg
- col.border_locked_inactive = rgba(2e8b5777) rgba(2e8a7377) 75deg
+ merge_groups_on_drag = 0
+ insert_after_current = 0
+ col.border_active = $base09 $base09 90deg
+ col.border_inactive = $base04 $base09 90deg
+ col.border_locked_active = $base0C $base0C 90deg
+ col.border_locked_inactive = $base04 $base0C 90deg
groupbar {
height = 22
font_family = Iosevka Nerd Font Propo
font_size = 12
- text_color = rgba(242424ff)
+ text_color = $base00
gradients = true
scrolling = false
- col.active = rgba(e9e836ee)
- col.inactive = rgba(e3c40177)
- col.locked_active = rgba(2e8b57ee)
- col.locked_inactive = rgba(194d4088)
+ col.active = $base09
+ col.inactive = $base04
+ col.locked_active = $base0C
+ col.locked_inactive = $base04
}
}
bar_text_font = Iosevka Nerd Font Propo
bar_text_size = 12
bar_height = 24
- bar_color = $base0D $base0C 40deg
- col.text = rgb(000203)
+ bar_color = $base0A
+ col.text = $base00
bar_part_of_window = true
bar_precedence_over_border = true
# hyprbars-button = color, size, icon, on-click
- hyprbars-button = rgba(ff404033), 22, , hyprctl dispatch killactive
- hyprbars-button = rgba(eeee1133), 22, , hyprctl dispatch fullscreen 1
+ hyprbars-button = rgba(eb6f9260), 22, , hyprctl dispatch killactive
+ hyprbars-button = rgba(f6c17770), 22, , hyprctl dispatch fullscreen 1
}
}
# handle hyprbars for floating windows
windowrulev2 = plugin:hyprbars:nobar, ^floating:0
-# windowrulev2 = plugin:hyprbars:bar_color = rgba(131516aa), ^floating:1
-# windowrulev2 = plugin:hyprbars:color_text = rgba(161514aa), ^floating:1
# handle plasma/kde/qt apps
windowrule = float, ^(org.kde.*)$
windowrule = float, ^(pcmanfm.*)$
windowrule = float, class:^(qalculate.*)$
-# handle firefox
-windowrulev2 = float, title:^(Über.*)$
+# handle dialogs
+windowrulev2 = float, title:^((Über|About).*)$
+
+# handle browsers
+windowrulev2 = float, class:^(firefox.*)$
+windowrulev2 = tag +browser, class:^(firefox.*)$
+windowrulev2 = tag +browser, class:^(org.qutebrowser.*)$
# handle terminal(s/-apps)
windowrulev2 = opacity 1.0 override 0.8 override, group, class:^(foot)$
windowrule = float, ^(org.freedesktop.impl.portal.desktop.kde)$
windowrule = stayfocused, ^(org.freedesktop.impl.portal.desktop.kde)$
+# handle TAGS (always handle tags last)
+windowrulev2 = nodim, tag:browser
+
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$suremod = SUPER ALT CTRL
$mainmod = SUPER