This commit is contained in:
Hadi
2024-06-27 19:42:08 +02:00
parent ae6818ed65
commit 84f87f9833
13 changed files with 138 additions and 95 deletions

View File

@@ -1,7 +1,6 @@
{
services.udiskie = {
enable = true;
tray = "always";
notify = true;
automount = true;
};

View File

@@ -33,8 +33,16 @@
height = 44;
modules-left = [ "custom/logo" "hyprland/window" ];
modules-center = [ "hyprland/workspaces" ];
modules-right =
[ "tray" "backlight" "pulseaudio" "battery" "clock" "custom/power" ];
modules-right = [
"tray"
"backlight"
"pulseaudio"
"custom/caffeine"
"custom/night-shift"
"battery"
"clock"
"custom/power"
];
"wlr/taskbar" = {
format = "{icon}";
@@ -124,14 +132,20 @@
tooltip = false;
on-click = "powermenu";
};
# "custom/caffeine": {
# "format": "{}",
# "max-length": 5,
# "interval": 10,
# "exec": "caffeine-status-icon",
# "exec-if": "pgrep spotify",
# "return-type": ""
#}
"custom/caffeine" = {
format = "{}";
max-length = 5;
interval = 10;
exec = "caffeine-status-icon";
# exec-if = "pgrep spotify";
# return-type = "";
};
"custom/night-shift" = {
format = "{}";
max-length = 5;
interval = 10;
exec = "night-shift-status-icon";
};
backlight = {
device = "nvidia_0";
format = "{icon}";
@@ -218,6 +232,8 @@
#memory,
#custom-power,
#custom-caffeine,
#custom-night-shift,
#battery,
#backlight,
#pulseaudio,