This commit is contained in:
Stephan Raabe
2024-02-16 08:02:26 +01:00
parent ca85294d10
commit ea26ad635b
17 changed files with 55 additions and 20 deletions

View File

@@ -7,7 +7,7 @@
// Choose the order of the modules
"modules-left": ["hyprland/workspaces","custom/waybarthemes"],
"modules-center": ["hyprland/window"],
"modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "battery#bat2", "clock", "tray"],
"modules-right": ["custom/ml4w-welcome","mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "battery#bat2", "clock", "tray"],
// Modules configuration
// "sway/workspaces": {
// "disable-scroll": true,
@@ -34,6 +34,12 @@
"unlocked": ""
}
},
// ML4W Welcome App
"custom/ml4w-welcome": {
"on-click": "~/dotfiles/apps/ML4W_Welcome-x86_64.AppImage",
"format": " ",
"tooltip": false
},
// Waybar Themes
"custom/waybarthemes": {
"format": "Themes",

View File

@@ -1,2 +1,2 @@
#!/bin/bash
theme_name="Default"
theme_name="Waybar Default Theme"

View File

@@ -34,6 +34,15 @@ window#waybar.chromium {
border: none;
}
#custom-ml4w-welcome {
margin-right: 15px;
background-image: url("../assets/ml4w-icon-20.png");
background-repeat: no-repeat;
background-position: center;
padding-right: 20px;
margin-right: 0px;
}
button {
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent;