Compare commits
4 commits
4267f9e951
...
88e15931b0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
88e15931b0 | ||
|
|
71e616f64d | ||
|
|
e8f183276d | ||
|
|
c0b36e1e1f |
4 changed files with 60 additions and 20 deletions
|
|
@ -7,11 +7,11 @@
|
||||||
./fuzzel.nix
|
./fuzzel.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./gnome.nix
|
./gnome.nix
|
||||||
./mako.nix
|
|
||||||
./niri.nix
|
./niri.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
./swaylock.nix
|
./swaylock.nix
|
||||||
|
./swaync.nix
|
||||||
./vscode.nix
|
./vscode.nix
|
||||||
./waybar.nix
|
./waybar.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
|
|
@ -88,5 +88,7 @@
|
||||||
};
|
};
|
||||||
"idea.properties".text = "idea.filewatcher.executable.path = ${pkgs.fsnotifier}/bin/fsnotifier";
|
"idea.properties".text = "idea.filewatcher.executable.path = ${pkgs.fsnotifier}/bin/fsnotifier";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.trayscale.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
services.mako.enable = true;
|
|
||||||
}
|
|
||||||
6
homeConfigurations/vinzenz/swaync.nix
Normal file
6
homeConfigurations/vinzenz/swaync.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
services.swaync = {
|
||||||
|
enable = true;
|
||||||
|
settings = { };
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -26,7 +26,6 @@
|
||||||
spacing = "8";
|
spacing = "8";
|
||||||
modules-left = [
|
modules-left = [
|
||||||
"niri/workspaces"
|
"niri/workspaces"
|
||||||
"tray"
|
|
||||||
"niri/window"
|
"niri/window"
|
||||||
];
|
];
|
||||||
modules-center = [
|
modules-center = [
|
||||||
|
|
@ -34,27 +33,40 @@
|
||||||
"clock"
|
"clock"
|
||||||
];
|
];
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"mpris"
|
|
||||||
#"image"
|
#"image"
|
||||||
"gamemode"
|
"group/status-infos"
|
||||||
|
"tray"
|
||||||
|
"group/system-tray"
|
||||||
|
"group/group-power"
|
||||||
|
];
|
||||||
|
|
||||||
"temperature"
|
"group/system-tray" = {
|
||||||
"cpu"
|
orientation = "inherit";
|
||||||
"memory"
|
modules = [
|
||||||
"disk"
|
"mpris"
|
||||||
"wireplumber"
|
"wireplumber"
|
||||||
"bluetooth"
|
"bluetooth"
|
||||||
"backlight"
|
"backlight"
|
||||||
"network"
|
"network"
|
||||||
"power-profiles-daemon"
|
"power-profiles-daemon"
|
||||||
"battery"
|
"custom/swaync"
|
||||||
"idle_inhibitor"
|
"idle_inhibitor"
|
||||||
"group/group-power"
|
|
||||||
];
|
];
|
||||||
|
};
|
||||||
|
"group/status-infos" = {
|
||||||
|
orientation = "inherit";
|
||||||
|
modules = [
|
||||||
|
"battery"
|
||||||
|
"temperature"
|
||||||
|
"cpu"
|
||||||
|
"memory"
|
||||||
|
"disk"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
"niri/workspaces" = {
|
"niri/workspaces" = {
|
||||||
format = "{icon}";
|
format = "{icon}";
|
||||||
};
|
};
|
||||||
|
|
||||||
"niri/window" = {
|
"niri/window" = {
|
||||||
separate-outputs = true;
|
separate-outputs = true;
|
||||||
icon = true;
|
icon = true;
|
||||||
|
|
@ -225,6 +237,29 @@
|
||||||
tooltip-format-enumerate-connected = "{device_alias}\t{device_address}";
|
tooltip-format-enumerate-connected = "{device_alias}\t{device_address}";
|
||||||
tooltip-format-enumerate-connected-battery = "{device_alias}\t{device_address}\t{device_battery_percentage}%";
|
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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue