Changed: waybar conf

This commit is contained in:
DerGrumpf 2025-03-27 13:39:58 +01:00
parent bd55d2fcca
commit 3c9fdf02ee
2 changed files with 31 additions and 1 deletions

View File

@ -16,7 +16,7 @@
services.hyprpaper.enable = true;
services.hyprpaper.settings = {
preload = "Pictures/Wallpapers/girl.png";
wallpaper = "Pictures/Wallpapers/girl.png";
wallpaper = ", Pictures/Wallpapers/girl.png";
};
}

View File

@ -6,6 +6,36 @@
programs.waybar = {
enable = true;
package = pkgs.waybar;
settings = {
mainBar = {
layer = "top";
position = "top";
height = 30;
output = [
"eDP-1"
"DP-1"
"HDMI-A-1"
"Virtual-1"
];
modules-left = [ "sway/workspaces" "sway/mode" "wlr/taskbar" ];
modules-center = [ "sway/window" "custom/hello-from-waybar" ];
modules-right = [ "mpd" "custom/mymodule#with-css-id" "temperature" ];
"sway/workspaces" = {
disable-scroll = true;
all-outputs = true;
};
"custom/hello-from-waybar" = {
format = "hello {}";
max-length = 40;
interval = "once";
exec = pkgs.writeShellScript "hello-from-waybar" ''
echo "from within waybar"
'';
};
};
};
};
home.file.".config/waybar" = {