diff --git a/homes/modules/de/waybar/waybar.nix b/homes/modules/de/waybar/waybar.nix index 489a35f..ba2abb0 100644 --- a/homes/modules/de/waybar/waybar.nix +++ b/homes/modules/de/waybar/waybar.nix @@ -14,6 +14,11 @@ "hyprland/workspaces" = { format = "{id}"; }; + "ext/workspaces" = { # not enabled yet, hyprland and mango need two different configs ;-; + format = "{id}"; + ignore-hidden = true; + on-click = "activate"; + }; "wlr/taskbar" = { format = "{icon}"; icon-size = 12; @@ -84,11 +89,6 @@ # fixes spotify not showing up when "close button should minimize the Spotify window" is false show-passive-items = true; }; - - # i only enable this for debugging of window rules lol - "hyprland/window" = { - format = "{class} | {title}"; - }; }; }; diff --git a/homes/modules/wm/hyprland/hyprland.nix b/homes/modules/wm/hyprland/hyprland.nix index e0a7d21..cc22886 100644 --- a/homes/modules/wm/hyprland/hyprland.nix +++ b/homes/modules/wm/hyprland/hyprland.nix @@ -297,6 +297,11 @@ "HYPRCURSOR_SIZE,24" "QT_QPA_PLATFORM,wayland" + + # makes portals work correctly + "QT_QPA_PLATFORMTHEME,xdgdesktopportal" + # the other option that might work :3 + #"QT_QPA_PLATFORMTHEME,flatpak" ]; }; }; diff --git a/homes/modules/wm/mango/ mango-waybar.json/windowrules.conf b/homes/modules/wm/mango/ mango-waybar.json/windowrules.conf new file mode 100644 index 0000000..2a8afd7 --- /dev/null +++ b/homes/modules/wm/mango/ mango-waybar.json/windowrules.conf @@ -0,0 +1,7 @@ +# ---------------------------------------------------------------------------- # +# i don't wanna minimise windows +windowrule = ignore_minimise + +# ---------------------------------------------------------------------------- # +# terminal - blur +windowrule = appid:^(foot|Alacritty)$, focused_opacity:0.95, unfocused_opacity:0.95 diff --git a/homes/modules/wm/mango/mango/config.conf b/homes/modules/wm/mango/mango/config.conf index 4734391..ef80edb 100644 --- a/homes/modules/wm/mango/mango/config.conf +++ b/homes/modules/wm/mango/mango/config.conf @@ -20,6 +20,7 @@ monitorrule = name:HDMI-A-1,width:1920,height:1080,refresh:60,x:-1920,y:0 ################################################################################ exec-once = waybar +exec-once = waybar --config ~/.config/mango/waybar.jsonc exec-once = awww-daemon exec-once = wl-paste --type text --watch cliphist store @@ -35,10 +36,13 @@ exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY ################################################################################ borderpx = 2 + gappih = 5 # inner gap horizontal gappiv = 5 # inner gap vertical gappoh = 10 # outer gap horizontal -gappov = 10 # outer gap horizontal +# we set the bottom vertical gap by using an empty layer that defines an exclusive zone +gappov = 0 # outer gap vertical + border_radius = 8 focused_opacity = 1.0 diff --git a/homes/modules/wm/mango/mango/waybar.jsonc b/homes/modules/wm/mango/mango/waybar.jsonc new file mode 100644 index 0000000..9ba22ad --- /dev/null +++ b/homes/modules/wm/mango/mango/waybar.jsonc @@ -0,0 +1,5 @@ +{ + "layer": "bottom", + "position": "bottom", + "height": 10, +} diff --git a/hosts/nixarawrui/default.nix b/hosts/nixarawrui/default.nix index 05d6c38..84b8e6d 100644 --- a/hosts/nixarawrui/default.nix +++ b/hosts/nixarawrui/default.nix @@ -84,10 +84,6 @@ environment.sessionVariables = { NIXOS_OZONE_WL = "1"; - - # makes portals work correctly - QT_QPA_PLATFORMTHEME = "xdgdesktopportal"; - #QT_QPA_PLATFORMTHEME = "flatpak"; # sometimes might need this }; xdg.portal = { @@ -278,7 +274,7 @@ fish.enable = true; silentSDDM = { - enable = false; + enable = true; theme = "rei"; }; };