From c523b10b977ef320d81f544b544d928061b5ad53 Mon Sep 17 00:00:00 2001 From: pika Date: Mon, 9 Jun 2025 12:46:29 +0200 Subject: [PATCH] addet auto-exec.conf --- hyprland.conf | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/hyprland.conf b/hyprland.conf index 7155b31..99a79a8 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -11,7 +11,7 @@ # ╭──────────────╮ # │ Source files │ # ╰──────────────╯ -$h_conf = ~/.config/hypr +$confDirHyprland = ~/.config/hypr # NOTE: #╭───────────────────────────────────────────────────────────────────────────╮ @@ -22,7 +22,9 @@ $h_conf = ~/.config/hypr #╰───────────────────────────────────────────────────────────────────────────╯ # ─< source hotkeys file for hyprland >────────────────────────────────────────────────────── -source = $h_conf/hotkeys.conf +source = $confDirHyprland/hotkeys.conf +source = $confDirHyprland/auto-exec.conf + source = $HOME/.monitors.conf # variable for specialworkspace (has to be configured in .monitors.conf like -> 'workspace = name:x, on-created-empty:$terminal') @@ -46,13 +48,6 @@ workspace = 69, monitor:$main, persistent:true, allow-tearing:true, gapsin:0, ga # ────────────────────────────────────────< specials >──────────────────────────────────────── workspace = special:magic, monitor:$main, on-created-empty:$terminal, border:0 -# ─< initialisation script >───────────────────────────────────────────────────────────────── -# exec-once = systemctl --user start hyprpolkitagent -# exec-once = $h_conf/.scripts/init.sh -exec-once = $h_conf/.scripts/init -exec-once = hypridle -exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP - # See https://wiki.hyprland.org/Configuring/Environment-variables/ # ╭───────────────────────╮ # │ Environment-variables │ @@ -122,13 +117,19 @@ windowrule = immediate, class:^(steam)$ windowrule = immediate, class:^(cemu)$ windowrule = immediate, class:^(GDLauncher)$ +windowrule = float, class:^(- CopyQ)$ + windowrule = noblur, class:open-joystick-display-transparent windowrule = noborder, class:open-joystick-display-transparent windowrule = noshadow, class:open-joystick-display-transparent -windowrule = nodim, class:^(zen-browser)$ -windowrule = renderunfocused, class:^(youtube)$ -windowrule = renderunfocused, class:^(twitch)$ +windowrule = nodim, initialClass:zen +# windowrule = opaque, initialClass:zen +windowrule = opaque, initialClass:(Zen Browser), class:^(youtube)$ +windowrule = opaque, initialTitle:(Zen Browser), class:^(twitch)$ + +# windowrulev2 = nodim, class:^zen-browser$ +windowrule = opaque, nodim, class:^(youtube)$ # windowrule = immediate, class:^(cs2)$ # https://wiki.hyprland.org/Configuring/Variables/#decoration @@ -137,11 +138,11 @@ decoration { rounding_power = 16 # Change transparency of focused and unfocused windows - active_opacity = 0.98 + active_opacity = 0.94 # inactive_opacity = 0.284 fullscreen_opacity = 1 dim_inactive = true - dim_strength = 0.2 + dim_strength = 0.4 # https://wiki.hyprland.org/Configuring/Variables/#blur blur {