Compare commits

..

2 Commits

Author SHA1 Message Date
Bernardo Magri
ef54a4b67c fix: stabilize waybar with systemd and correct shebangs 2026-04-08 20:03:15 +01:00
Bernardo Magri
8ae026474f fix: provide declarative fallback for theme hyprland.conf 2026-04-08 19:26:34 +01:00
7 changed files with 23 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
$activeBorderColor = rgb(81a1c1)
general {
col.active_border = $activeBorderColor
}
group {
col.border_active = $activeBorderColor
}

View File

@@ -1,6 +1,6 @@
exec-once = uwsm-app -- hypridle
exec-once = uwsm-app -- mako
exec-once = uwsm-app -- waybar
# exec-once = uwsm-app -- waybar
exec-once = uwsm-app -- fcitx5 --disable notificationitem
exec-once = uwsm-app -- swaybg -i ~/.config/nomarchy/current/background -m fill
exec-once = uwsm-app -- swayosd-server

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if pgrep -x hypridle >/dev/null; then
echo '{"text": ""}'

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if makoctl mode | grep -q 'do-not-disturb'; then
echo '{"text": "󰂛", "tooltip": "Notifications silenced", "class": "active"}'

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if pgrep -f "^gpu-screen-recorder" >/dev/null; then
echo '{"text": "󰻂", "tooltip": "Stop recording", "class": "active"}'

View File

@@ -6,6 +6,11 @@
recursive = true;
};
# Ensure theme-specific hyprland config exists, fallback to nord if not
xdg.configFile."nomarchy/current/theme/hyprland.conf" = lib.mkIf (! builtins.pathExists (../../assets/themes + "/${config.nomarchy.theme}/hyprland.conf")) {
source = ../../assets/themes/nord/hyprland.conf;
};
xdg.configFile."nomarchy/current/theme.name".text = config.nomarchy.theme;
# Expose branding assets

View File

@@ -3,6 +3,7 @@
{
programs.waybar = {
enable = true;
systemd.enable = true;
style = ''
* {
background-color: #${config.colorScheme.palette.base00};
@@ -41,4 +42,8 @@
'';
settings = [ (builtins.fromJSON (builtins.readFile ../../config/waybar/config.jsonc)) ];
};
home.packages = with pkgs; [
font-awesome
];
}