mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
more stuff
This commit is contained in:
30
desktops/hyprland/waybar.nix
Normal file
30
desktops/hyprland/waybar.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
enable = true;
|
||||
settings = {
|
||||
mainBar = {
|
||||
layer = "top";
|
||||
position = "top";
|
||||
height = 48;
|
||||
output = "HDMI-A-1";
|
||||
modules-center = [ "wlr/taskbar" ];
|
||||
modules-right = [ "custom/weather" "clock" ];
|
||||
|
||||
"wlr/taskbar" = {
|
||||
all-outputs = true;
|
||||
};
|
||||
|
||||
"custom/weather" = {
|
||||
format = "{}";
|
||||
tooltip = true;
|
||||
interval = 3600;
|
||||
exec = "wttrbar --location Berlin";
|
||||
return-type = "json";
|
||||
};
|
||||
};
|
||||
};
|
||||
style = ''
|
||||
window#waybar {
|
||||
background: black;
|
||||
}
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user