Changed: Waybar
This commit is contained in:
		@@ -8,7 +8,7 @@
 | 
				
			|||||||
#custom-notification {
 | 
					#custom-notification {
 | 
				
			||||||
  font-family: "JetBrains Mono Nerd Font";
 | 
					  font-family: "JetBrains Mono Nerd Font";
 | 
				
			||||||
  font-size: 17px;
 | 
					  font-size: 17px;
 | 
				
			||||||
 color: #A1BDCE;
 | 
					  color: #FFFFFF;
 | 
				
			||||||
 margin: 2px 0px 0px 0px;
 | 
					 margin: 2px 0px 0px 0px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,7 +20,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                modules-left = [ ];
 | 
					                modules-left = [ ];
 | 
				
			||||||
                modules-center = [ "custom/weather" ];
 | 
					                modules-center = [ "custom/weather" ];
 | 
				
			||||||
                modules-right = [ "custom/hello-from-waybar" ];
 | 
					                modules-right = [  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                "sway/workspaces" = {
 | 
					                "sway/workspaces" = {
 | 
				
			||||||
                    disable-scroll = true;
 | 
					                    disable-scroll = true;
 | 
				
			||||||
@@ -33,14 +33,8 @@
 | 
				
			|||||||
                    return-type = "json";
 | 
					                    return-type = "json";
 | 
				
			||||||
                };
 | 
					                };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                "custom/hello-from-waybar" = {
 | 
					
 | 
				
			||||||
                    format = "hello {}";
 | 
					
 | 
				
			||||||
                    max-length = 40;
 | 
					 | 
				
			||||||
                    interval = "once";
 | 
					 | 
				
			||||||
                    exec = pkgs.writeShellScript "hello-from-waybar" ''
 | 
					 | 
				
			||||||
                        echo "from within waybar $USER"
 | 
					 | 
				
			||||||
                    '';
 | 
					 | 
				
			||||||
                };
 | 
					 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user