From 3bdafc039e3eaa845277613d34f6277c00f76c21 Mon Sep 17 00:00:00 2001 From: antistereov Date: Thu, 19 Feb 2026 17:05:41 +0100 Subject: [PATCH] feat: update --- hypr/autostart.conf | 8 +++- hypr/bindings/tiling.conf | 3 +- hypr/hyprpaper.conf | 1 + hypr/looknfeel.conf | 85 +++++++++++++++++++++------------------ hypr/programs.conf | 1 + swww/config | 5 +++ waybar/config.jsonc | 16 +++++++- waybar/style.css | 45 ++++++++++++--------- 8 files changed, 100 insertions(+), 64 deletions(-) create mode 100644 swww/config diff --git a/hypr/autostart.conf b/hypr/autostart.conf index ef01cde..dd0c812 100644 --- a/hypr/autostart.conf +++ b/hypr/autostart.conf @@ -5,10 +5,14 @@ # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: +exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +exec-once = gnome-keyring-daemon --start --components=secrets + exec-once = waybar -exec-once = hyprpaper -exec-once = sleep 1 && hyprctl hyprpaper reload ,/home/stereov/.config/wallpaper/current.png +exec-once = swww-daemon exec-once = swaync +exec-once = sh -c "/home/stereov/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox %u & sleep 6 && hyprctl dispatch closewindow class:jetbrains-toolbox" +exec-once = "/home/stereov/Developer/antistereov/randrwall/randrwall.py reload" exec-once = gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk3-dark' exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' diff --git a/hypr/bindings/tiling.conf b/hypr/bindings/tiling.conf index 337a449..e65def1 100644 --- a/hypr/bindings/tiling.conf +++ b/hypr/bindings/tiling.conf @@ -6,7 +6,8 @@ bind = $mainMod, RETURN, exec, $terminal bind = $mainMod, W, killactive, bind = $mainMod, M, exit, bind = $mainMod, E, exec, $fileManager -bind = $mainMod, V, togglefloating, +bind = $mainMod, B, exec, $browser +bind = $mainMod, F, togglefloating, bind = ALT, space, exec, $menu bind = $mainMod, P, pseudo, # dwindle bind = $mainMod SHIFT, J, togglesplit, # dwindle diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf index a385f96..7b0b0e0 100644 --- a/hypr/hyprpaper.conf +++ b/hypr/hyprpaper.conf @@ -1,2 +1,3 @@ preload = /home/stereov/.config/wallpaper/current.png wallpaper = , /home/stereov/.config/wallpaper/current.png +splash = true diff --git a/hypr/looknfeel.conf b/hypr/looknfeel.conf index 04aac0f..4cd2d6e 100644 --- a/hypr/looknfeel.conf +++ b/hypr/looknfeel.conf @@ -8,74 +8,79 @@ source = ~/.config/hypr/colors.conf # https://wiki.hyprland.org/Configuring/Variables/#general general { - gaps_in = 5 - gaps_out = 5 + gaps_in = 5 + gaps_out = 5 - border_size = 2 + border_size = 2 - # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors - col.active_border = $accent - col.inactive_border = $surface2 + # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors + col.active_border = $accent + col.inactive_border = $surface2 - # Set to true enable resizing windows by clicking and dragging on borders and gaps - resize_on_border = false + # Set to true enable resizing windows by clicking and dragging on borders and gaps + resize_on_border = false - # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on - allow_tearing = false + # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on + allow_tearing = false - layout = dwindle + layout = dwindle } - # https://wiki.hyprland.org/Configuring/Variables/#decoration decoration { - rounding = 10 + rounding = 10 - # Change transparency of focused and unfocused windows - active_opacity = 0.99 - inactive_opacity = 0.9 + # Change transparency of focused and unfocused windows + active_opacity = 0.99 + inactive_opacity = 0.9 - # https://wiki.hyprland.org/Configuring/Variables/#blur - blur { - enabled = true - size = 5 - passes = 1 - - vibrancy = 0.1696 - } + # https://wiki.hyprland.org/Configuring/Variables/#blur + blur { + enabled = true + size = 5 + passes = 1 + vibrancy = 0.1696 + ignore_opacity = false + } } # https://wiki.hyprland.org/Configuring/Variables/#animations animations { - enabled = true + enabled = true - # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more + # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 - bezier = myBezier, 0.05, 0.9, 0.1, 1.05 - - animation = windows, 1, 7, myBezier - animation = windowsOut, 1, 7, default, popin 80% - animation = border, 1, 10, default - animation = borderangle, 1, 8, default - animation = fade, 1, 7, default - animation = workspaces, 1, 6, default + animation = windows, 1, 7, myBezier + animation = windowsOut, 1, 7, default, popin 80% + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default } # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more dwindle { - pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below - preserve_split = true # You probably want this + pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = true # You probably want this } # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more master { - new_status = master + new_status = master } # https://wiki.hyprland.org/Configuring/Variables/#misc misc { - force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers - disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( - disable_splash_rendering = true + force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers + disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :( + disable_splash_rendering = true + background_color = 0x000000 } +layerrule { + name = waybar_blur + match:namespace = waybar + blur = on + ignore_alpha = 0.5 +} diff --git a/hypr/programs.conf b/hypr/programs.conf index 9dcaf97..cc4b8f6 100644 --- a/hypr/programs.conf +++ b/hypr/programs.conf @@ -7,6 +7,7 @@ # Set programs that you use $terminal = kitty $fileManager = nautilus +$browser = flatpak run app.zen_browser.zen $menu = wofi --show drun --allow-images diff --git a/swww/config b/swww/config new file mode 100644 index 0000000..f4be66f --- /dev/null +++ b/swww/config @@ -0,0 +1,5 @@ +transition-type = grow +transition-duration = 1.2 +transition-fps = 60 +transition-angle = 30 +transition-step = 90 diff --git a/waybar/config.jsonc b/waybar/config.jsonc index 68642dd..3261dc2 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -1,7 +1,7 @@ { "layer": "bottom", "position": "top", - "height": 40, + "height": 30, "spacing": 2, "exclusive": true, "gtk-layer-shell": true, @@ -15,6 +15,7 @@ "pulseaudio", "clock", "clock#simpleclock", + "battery", "tray", "custom/notification", "custom/power", @@ -47,7 +48,8 @@ "active-only": false, }, "hyprland/window": { - "format": "{title}", + "format": "{initialTitle}", + "icon": true }, "tray": { "show-passive-items": true, @@ -91,6 +93,16 @@ }, "on-click": "pavucontrol", }, + "battery": { + "format": "{icon} {capacity}%", + "format-icons": ["", "", "", "", ""], + "states": { + "critical": 25, + }, + "events": { + "on-dischargin-critical": "notify-send -u critical 'Low Battery'" + } + }, "custom/sep": { "format": "|", "tooltip": false, diff --git a/waybar/style.css b/waybar/style.css index 2ae6643..b486aa7 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -1,22 +1,26 @@ +@define-color bg #1e1e2e; + * { min-height: 0; min-width: 0; - font-family: Lexend, "JetBrainsMono Nerd Font"; + font-family: "Adwaita Sans", "JetBrainsMono Nerd Font"; font-size: 13px; - font-weight: 600; + font-weight: 500; } window#waybar { - transition-property: background-color; - transition-duration: 0.5s; - /* background-color: #1e1e2e; */ - /* background-color: #181825; */ - background-color: rgba(24, 24, 37, 0.0); + min-height: 0; + background: transparent; } +window#waybar.empty #window { + background-color: transparent; +} + + #workspaces button { - padding: 0.3rem 0.6rem; - margin: 0.4rem 0.25rem; + padding: 0.1rem 0.6rem; + margin: 0.1rem 0.25rem; border-radius: 6px; /* background-color: #181825; */ background-color: #1e1e2e; @@ -47,13 +51,14 @@ window#waybar { #cpu, #tray, #memory, +#battery, #window, #mpris { - padding: 0.3rem 0.6rem; - margin: 0.4rem 0.25rem; + padding: 0.1rem 0.6rem; + margin: 0.1rem 0.25rem; border-radius: 6px; /* background-color: #181825; */ - background-color: #1e1e2e; + background-color: alpha(@bg, 0.7); } #mpris.playing { @@ -69,10 +74,6 @@ window#waybar { color: #585b70; } -window#waybar.empty #window { - background-color: transparent; -} - #cpu { color: #94e2d5; } @@ -89,9 +90,6 @@ window#waybar.empty #window { color: #89b4fa; } -#window { - color: #cdd6f4; -} #pulseaudio { color: #b4befe; @@ -109,7 +107,16 @@ window#waybar.empty #window { color: #f38ba8; } +#battery { + color: #94e2d5; +} + +#battery.critical { + color: red; +} + tooltip { background-color: #181825; border: 2px solid #89b4fa; } +