Changed: waybar conf
This commit is contained in:
		@@ -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";
 | 
			
		||||
    };
 | 
			
		||||
 
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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" = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user