diff --git a/scripts/installupdates.sh b/scripts/installupdates.sh index 3bf6bd1..121659a 100755 --- a/scripts/installupdates.sh +++ b/scripts/installupdates.sh @@ -1,5 +1,8 @@ #!/bin/bash +echo "Starting install updates" +echo "" + yay notify-send "Update complete" diff --git a/waybar/modules.json b/waybar/modules.json index dd53759..52a9050 100644 --- a/waybar/modules.json +++ b/waybar/modules.json @@ -57,7 +57,7 @@ // Updates Count "custom/updates": { - "format": " {}", + "format": " {}", "tooltip-format": "{}", "escape": true, "return-type": "json", @@ -219,6 +219,13 @@ "on-click": "blueman-manager" }, + //Backlight + "backlight": { + "device": "intel_backlight", + "format": "{percent}% {icon}", + "format-icons": ["󰃞", "󰃠"] + }, + // Other "user": { "format": "{user}", diff --git a/waybar/themes/ml4w/config b/waybar/themes/ml4w/config index 9973c9e..e5785f2 100644 --- a/waybar/themes/ml4w/config +++ b/waybar/themes/ml4w/config @@ -38,6 +38,7 @@ // Modules Right "modules-right": [ "custom/updates", + "backlight", "pulseaudio", "bluetooth", "battery", diff --git a/waybar/themes/ml4w/style.css b/waybar/themes/ml4w/style.css index 6e9c1ae..7c89137 100644 --- a/waybar/themes/ml4w/style.css +++ b/waybar/themes/ml4w/style.css @@ -250,6 +250,20 @@ window#waybar.empty #window { border:3px solid @bordercolor; } +/* ----------------------------------------------------- + * Backlight + * ----------------------------------------------------- */ + +#backlight { + background-color: @backgroundlight; + font-size: 16px; + color: @textcolor2; + border-radius: 15px; + padding: 2px 10px 0px 10px; + margin: 5px 15px 5px 0px; + opacity:0.8; +} + /* ----------------------------------------------------- * Pulseaudio * ----------------------------------------------------- */