Compare commits

..

No commits in common. "88e15931b0204d2e4b2e416137a0375a1752f932" and "4267f9e95120718ba540c3b092e46a58e6b529ee" have entirely different histories.

4 changed files with 20 additions and 60 deletions

View file

@ -7,11 +7,11 @@
./fuzzel.nix
./git.nix
./gnome.nix
./mako.nix
./niri.nix
./ssh.nix
./starship.nix
./swaylock.nix
./swaync.nix
./vscode.nix
./waybar.nix
./zsh.nix
@ -88,7 +88,5 @@
};
"idea.properties".text = "idea.filewatcher.executable.path = ${pkgs.fsnotifier}/bin/fsnotifier";
};
services.trayscale.enable = true;
};
}

View file

@ -0,0 +1,3 @@
{
services.mako.enable = true;
}

View file

@ -1,6 +0,0 @@
{
services.swaync = {
enable = true;
settings = { };
};
}

View file

@ -26,6 +26,7 @@
spacing = "8";
modules-left = [
"niri/workspaces"
"tray"
"niri/window"
];
modules-center = [
@ -33,40 +34,27 @@
"clock"
];
modules-right = [
"mpris"
#"image"
"group/status-infos"
"tray"
"group/system-tray"
"gamemode"
"temperature"
"cpu"
"memory"
"disk"
"wireplumber"
"bluetooth"
"backlight"
"network"
"power-profiles-daemon"
"battery"
"idle_inhibitor"
"group/group-power"
];
"group/system-tray" = {
orientation = "inherit";
modules = [
"mpris"
"wireplumber"
"bluetooth"
"backlight"
"network"
"power-profiles-daemon"
"custom/swaync"
"idle_inhibitor"
];
};
"group/status-infos" = {
orientation = "inherit";
modules = [
"battery"
"temperature"
"cpu"
"memory"
"disk"
];
};
"niri/workspaces" = {
format = "{icon}";
};
"niri/window" = {
separate-outputs = true;
icon = true;
@ -237,29 +225,6 @@
tooltip-format-enumerate-connected = "{device_alias}\t{device_address}";
tooltip-format-enumerate-connected-battery = "{device_alias}\t{device_address}\t{device_battery_percentage}%";
};
"custom/swaync" =
let
swaync-client = "${lib.getBin config.services.swaync.package}/bin/swaync-client";
in
{
tooltip = true;
format = "{0}{icon} ";
format-icons = {
notification = "󱅫";
none = "󰂜";
dnd-notification = "󰂠";
dnd-none = "󰪓";
inhibited-notification = "󰂛";
inhibited-none = "󰪑";
dnd-inhibited-notification = "󰂛";
dnd-inhibited-none = "󰪑";
};
return-type = "json";
exec = "${swaync-client} --subscribe-waybar";
on-click = "${swaync-client} --toggle-panel --skip-wait";
on-click-right = "${swaync-client} --toggle-dnd --skip-wait";
escape = true;
};
};
};
};