fixes gaps and windowrules

This commit is contained in:
2025-06-30 10:59:25 +02:00
parent 7c7b3ff006
commit f45424899d
6 changed files with 71 additions and 65 deletions

View File

@ -1,19 +1,19 @@
$wallpaper = /usr/share/wallpapers/downloaded/pexels-lucadross-4129849.jpg $wallpaper = /usr/share/wallpapers/downloaded/pexels-zetong-li-880728-18780512.jpg
$background = rgb(111311) $background = rgb(0D0F10)
$foreground = rgb(F6DBD0) $foreground = rgb(FCF1D3)
$color0 = rgb(3B3E3B) $color0 = rgb(38393A)
$color1 = rgb(616371) $color1 = rgb(7F4E47)
$color2 = rgb(9D7552) $color2 = rgb(7D7F54)
$color3 = rgb(7D7E82) $color3 = rgb(8B7C7D)
$color4 = rgb(BE6B2C) $color4 = rgb(61868C)
$color5 = rgb(868A94) $color5 = rgb(D2D1E6)
$color6 = rgb(E69879) $color6 = rgb(F5D782)
$color7 = rgb(EAC3B4) $color7 = rgb(F2E3B8)
$color8 = rgb(A4897E) $color8 = rgb(A99F81)
$color9 = rgb(616371) $color9 = rgb(7F4E47)
$color10 = rgb(9D7552) $color10 = rgb(7D7F54)
$color11 = rgb(7D7E82) $color11 = rgb(8B7C7D)
$color12 = rgb(BE6B2C) $color12 = rgb(61868C)
$color13 = rgb(868A94) $color13 = rgb(D2D1E6)
$color14 = rgb(E69879) $color14 = rgb(F5D782)
$color15 = rgb(EAC3B4) $color15 = rgb(F2E3B8)

View File

@ -8,8 +8,10 @@ source = ~/.config/hypr/config/colors.conf
decoration { decoration {
active_opacity = 1 active_opacity = 1
inactive_opacity = 0.6 inactive_opacity = 0.7
rounding = 3 rounding = 10
dim_inactive = true
dim_strength = 0.1
# https://wiki.hyprland.org/0.45.0/Configuring/Variables/#blur # https://wiki.hyprland.org/0.45.0/Configuring/Variables/#blur
blur { blur {

View File

@ -7,6 +7,8 @@
monitor = eDP-2, highres@highrr, 0x0, 1, vrr, 0 monitor = eDP-2, highres@highrr, 0x0, 1, vrr, 0
monitor = DP-2, highres@highrr, auto-left, 1, vrr, 0 monitor = DP-2, highres@highrr, auto-left, 1, vrr, 0
monitor = HDMI-A-1, highres@highrr, auto-left, 1, transform, 1
# If you need to scale things like steam etc, please uncomment these lines. # If you need to scale things like steam etc, please uncomment these lines.
# Adjust GDK_SCALE accordingly to your liking. # Adjust GDK_SCALE accordingly to your liking.
#xwayland { #xwayland {

View File

@ -4,12 +4,11 @@
source = ~/.config/hypr/config/colors.conf source = ~/.config/hypr/config/colors.conf
# Variables wiki https://wiki.hyprland.org/0.45.0/Configuring/Variables/ # # https://wiki.hypr.land/Configuring/Variables/#general
# https://wiki.hyprland.org/0.45.0/Configuring/Variables/#general
general { general {
gaps_in = 1 gaps_in = 2
gaps_out = 2 gaps_out = 1
border_size = 2 border_size = 1
col.active_border = $color2 col.active_border = $color2
col.inactive_border = $color4 col.inactive_border = $color4
layout = dwindle # master|dwindle layout = dwindle # master|dwindle
@ -43,7 +42,7 @@ group {
height = 1 height = 1
indicator_height = 16 indicator_height = 16
rounding = 2 rounding = 2
font_family = "Fira Sans" font_family = "Roboto Sanss"
text_color = $foreground text_color = $foreground
text_offset = -8 text_offset = -8
font_weight_active = ultraheavy font_weight_active = ultraheavy
@ -57,9 +56,9 @@ group {
# https://wiki.hyprland.org/0.45.0/Configuring/Variables/#misc # https://wiki.hyprland.org/0.45.0/Configuring/Variables/#misc
misc { misc {
font_family = "Fira Sans" font_family = "Roboto Sans"
splash_font_family = "Fira Sans" splash_font_family = "Roboto Sans"
disable_hyprland_logo = false disable_hyprland_logo = true
col.splash = $color2 col.splash = $color2
background_color = $background background_color = $background
enable_swallow = true enable_swallow = true

View File

@ -6,40 +6,40 @@
# Float Necessary Windows # Float Necessary Windows
windowrule = float, title:Rofi windowrule = float, title:Rofi
windowrulev2 = float, class:^(org.pulseaudio.pavucontrol) windowrule = float, class:^(org.pulseaudio.pavucontrol)
windowrulev2 = float, class:^()$,title:^(Picture in picture)$ windowrule = float, class:^()$,title:^(Picture in picture)$
windowrulev2 = float, class:^()$,title:^(Save File)$ windowrule = float, class:^()$,title:^(Save File)$
windowrulev2 = float, class:^()$,title:^(Open File)$ windowrule = float, class:^()$,title:^(Open File)$
windowrulev2 = float, class:^(LibreWolf)$,title:^(Picture-in-Picture)$ windowrule = float, class:^(LibreWolf)$,title:^(Picture-in-Picture)$
windowrulev2 = float, class:^(blueman-manager)$ windowrule = float, class:^(blueman-manager)$
windowrulev2 = float, class:^(xdg-desktop-portal-gtk|xdg-desktop-portal-kde|xdg-desktop-portal-hyprland)(.*)$ windowrule = float, class:^(xdg-desktop-portal-gtk|xdg-desktop-portal-kde|xdg-desktop-portal-hyprland)(.*)$
windowrulev2 = float, class:^(polkit-gnome-authentication-agent-1|hyprpolkitagent|org.org.kde.polkit-kde-authentication-agent-1)(.*)$ windowrule = float, class:^(polkit-gnome-authentication-agent-1|hyprpolkitagent|org.org.kde.polkit-kde-authentication-agent-1)(.*)$
windowrulev2 = float, class:^(CachyOSHello)$ windowrule = float, class:^(CachyOSHello)$
windowrulev2 = float, class:^(zenity)$ windowrule = float, class:^(zenity)$
windowrulev2 = float, class:^()$,title:^(Steam - Self Updater)$ windowrule = float, class:^()$,title:^(Steam - Self Updater)$
# Increase the opacity # Increase the opacity
windowrulev2 = opacity 0.92, class:^(thunar|nemo|dolphin)$ windowrule = opacity 0.92, class:^(thunar|nemo|dolphin)$
windowrulev2 = opacity 0.96, class:^(discord|armcord|webcord)$ windowrule = opacity 0.96, class:^(discord|armcord|webcord)$
windowrulev2 = opacity 0.95, title:^(QQ|Telegram)$ windowrule = opacity 0.95, title:^(QQ|Telegram)$
windowrulev2 = opacity 0.95, title:^(NetEase Cloud Music Gtk4)$ windowrule = opacity 0.95, title:^(NetEase Cloud Music Gtk4)$
# General window rules # General window rules
windowrulev2 = float, title:^(Picture-in-Picture)$ windowrule = float, title:^(Picture-in-Picture)$
windowrulev2 = size 960 540, title:^(Picture-in-Picture)$ windowrule = size 960 540, title:^(Picture-in-Picture)$
windowrulev2 = move 25%-, title:^(Picture-in-Picture)$ windowrule = move 25%-, title:^(Picture-in-Picture)$
windowrulev2 = float, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$ windowrule = float, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$
windowrulev2 = move 25%-, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$ windowrule = move 25%-, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$
windowrulev2 = size 960 540, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$ windowrule = size 960 540, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$
windowrulev2 = pin, title:^(danmufloat)$ windowrule = pin, title:^(danmufloat)$
windowrulev2 = rounding 5, title:^(danmufloat|termfloat)$ windowrule = rounding 5, title:^(danmufloat|termfloat)$
windowrulev2 = animation slide right, class:^(kitty|Alacritty)$ windowrule = animation slide right, class:^(kitty|Alacritty)$
windowrulev2 = noblur, class:^(org.mozilla.firefox)$ windowrule = noblur, class:^(org.mozilla.firefox)$
# Decorations related to floating windows on workspaces 1 to 10 # Decorations related to floating windows on workspaces 1 to 10
windowrulev2 = bordersize 2, floating:1, onworkspace:w[fv1-10] windowrule = bordersize 2, floating:1, onworkspace:w[fv1-10]
windowrulev2 = bordercolor $color4, floating:1, onworkspace:w[fv1-10] windowrule = bordercolor $color4, floating:1, onworkspace:w[fv1-10]
windowrulev2 = rounding 8, floating:1, onworkspace:w[fv1-10] windowrule = rounding 8, floating:1, onworkspace:w[fv1-10]
# Decorations related to tiling windows on workspaces 1 to 10 # Decorations related to tiling windows on workspaces 1 to 10
windowrulev2 = bordersize 3, floating:0, onworkspace:f[1-10] windowrule = bordersize 3, floating:0, onworkspace:f[1-10]
windowrulev2 = rounding 4, floating:0, onworkspace:f[1-10] windowrule = rounding 4, floating:0, onworkspace:f[1-10]
# Windows Rules End # # Windows Rules End #
# Workspaces Rules https://wiki.hyprland.org/0.45.0/Configuring/Workspace-Rules/ # # Workspaces Rules https://wiki.hyprland.org/0.45.0/Configuring/Workspace-Rules/ #
@ -51,8 +51,8 @@ windowrulev2 = rounding 4, floating:0, onworkspace:f[1-10]
# workspace = special:scratchpad, on-created-empty:$applauncher # workspace = special:scratchpad, on-created-empty:$applauncher
# no_gaps_when_only deprecated instead workspaces rules with selectors can do the same # no_gaps_when_only deprecated instead workspaces rules with selectors can do the same
# Smart gaps from 0.45.0 https://wiki.hyprland.org/0.45.0/Configuring/Workspace-Rules/#smart-gaps # Smart gaps from 0.45.0 https://wiki.hyprland.org/0.45.0/Configuring/Workspace-Rules/#smart-gaps
workspace = w[tv1-10], gapsout:5, gapsin:3 #workspace = w[tv1-10], gapsout:5, gapsin:3
workspace = f[1], gapsout:5, gapsin:3 #workspace = f[1], gapsout:5, gapsin:3
# Workspaces Rules End # # Workspaces Rules End #
# Layers Rules # # Layers Rules #
@ -63,6 +63,6 @@ layerrule = animation fade 50%, wallpaper
# Layers Rules End # # Layers Rules End #
# Zotero Libreoffice # Zotero Libreoffice
windowrulev2 = float,class:^(Zotero)$,title:^(Citation Dialog)$ windowrule = float,class:^(Zotero)$,title:^(Citation Dialog)$
windowrulev2 = center,class:^(Zotero)$,title:^(Citation Dialog)$ windowrule = center,class:^(Zotero)$,title:^(Citation Dialog)$
windowrulev2 = noanim,class:^(Zotero)$,title:^(Citation Dialog)$ windowrule = noanim,class:^(Zotero)$,title:^(Citation Dialog)$

View File

@ -11,3 +11,6 @@ workspace = 5, monitor:DP-2
workspace = 6, monitor:DP-2 workspace = 6, monitor:DP-2
workspace = 7, monitor:DP-2 workspace = 7, monitor:DP-2
workspace = 8, monitor:DP-2 workspace = 8, monitor:DP-2
workspace = 7, monitor:HDMI-A-1
workspace = 8, monitor:HDMI-A-1