waybar: optimize
This commit is contained in:
@@ -21,8 +21,8 @@ sleep 0.3 # Allow hypridle to start
|
|||||||
pid=$(pgrep -x "hypridle")
|
pid=$(pgrep -x "hypridle")
|
||||||
if [ -n "$pid" ]; then
|
if [ -n "$pid" ]; then
|
||||||
output "inactive" "inactive"
|
output "inactive" "inactive"
|
||||||
notify-send "Caffeine disabled" "Caffeine mode is now inactive."
|
notify-send "Caffeine disabled" "zzz..."
|
||||||
else
|
else
|
||||||
output "active" "active"
|
output "active" "active"
|
||||||
notify-send "Caffeine enabled" "Caffeine mode is now active."
|
notify-send "Caffeine enabled" "POWERRR!!!"
|
||||||
fi
|
fi
|
||||||
@@ -1,7 +1,8 @@
|
|||||||
@import 'mocha.css';
|
@import 'mocha.css';
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: 'Fira Sans Semibold', 'Font Awesome 6 Free', FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
font-family: 'Fira Sans Semibold', 'Font Awesome 6 Free', FontAwesome, 'MesloLGM Nerd Font', 'Maple Mono CN ExtraLight',
|
||||||
|
Arial, sans-serif;
|
||||||
font-size: 12px; /* Slightly smaller font size */
|
font-size: 12px; /* Slightly smaller font size */
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user