Updates
This commit is contained in:
+3
-5
@@ -12,7 +12,9 @@
|
||||
# Quit all running waybar instances
|
||||
# -----------------------------------------------------
|
||||
killall waybar
|
||||
pkill waybar
|
||||
sleep 0.2
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Default theme: /THEMEFOLDER;/VARIATION
|
||||
# -----------------------------------------------------
|
||||
@@ -29,7 +31,7 @@ else
|
||||
fi
|
||||
|
||||
IFS=';' read -ra arrThemes <<< "$themestyle"
|
||||
echo ${arrThemes[0]}
|
||||
echo "Theme: ${arrThemes[0]}"
|
||||
|
||||
if [ ! -f ~/dotfiles/waybar/themes${arrThemes[1]}/style.css ]; then
|
||||
themestyle="/ml4w;/ml4w/light"
|
||||
@@ -49,8 +51,4 @@ if [ -f ~/dotfiles/waybar/themes${arrThemes[1]}/style-custom.css ] ;then
|
||||
style_file="style-custom.css"
|
||||
fi
|
||||
|
||||
# Check used files
|
||||
echo "Config: $config_file"
|
||||
echo "Style: $style_file"
|
||||
|
||||
waybar -c ~/dotfiles/waybar/themes${arrThemes[0]}/$config_file -s ~/dotfiles/waybar/themes${arrThemes[1]}/$style_file &
|
||||
|
||||
+5
-4
@@ -353,10 +353,11 @@
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"tooltip": false,
|
||||
"tooltip": true,
|
||||
"format-icons":{
|
||||
"activated": "Auto lock OFF",
|
||||
"deactivated": "ON"
|
||||
}
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"on-click-right": "swaylock"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,7 +61,9 @@
|
||||
"group/hardware",
|
||||
"group/settings",
|
||||
"custom/cliphist",
|
||||
// START IDLE TOOGLE
|
||||
"idle_inhibitor",
|
||||
// END IDLE TOOGLE
|
||||
// START TRAY TOOGLE
|
||||
"tray",
|
||||
// END TRAY TOOGLE
|
||||
|
||||
@@ -60,7 +60,9 @@
|
||||
// END NETWORK TOOGLE
|
||||
"group/hardware",
|
||||
"custom/cliphist",
|
||||
// START IDLE TOOGLE
|
||||
"idle_inhibitor",
|
||||
// END IDLE TOOGLE
|
||||
// START TRAY TOOGLE
|
||||
"tray",
|
||||
// END TRAY TOOGLE
|
||||
|
||||
@@ -189,20 +189,18 @@ window#waybar.empty #window {
|
||||
|
||||
#idle_inhibitor {
|
||||
margin-right: 15px;
|
||||
font-size: 16px;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
opacity: 0.8;
|
||||
color: @iconcolor;
|
||||
}
|
||||
|
||||
#idle_inhibitor.activated {
|
||||
background-color: #dc2f2f;
|
||||
font-size: 16px;
|
||||
color: #FFFFFF;
|
||||
border-radius: 15px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
margin: 8px 15px 8px 0px;
|
||||
opacity:0.8;
|
||||
margin-right: 15px;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
opacity: 0.8;
|
||||
color: #dc2f2f;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
@@ -418,24 +416,3 @@ window#waybar.empty #window {
|
||||
#tray > .needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* Other
|
||||
* ----------------------------------------------------- */
|
||||
/*
|
||||
label:focus {
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
background-color: #90b1b1;
|
||||
}
|
||||
|
||||
#network {
|
||||
background-color: #2980b9;
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
background-color: #f53c3c;
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -60,7 +60,9 @@
|
||||
// END NETWORK TOOGLE
|
||||
"group/hardware",
|
||||
"custom/cliphist",
|
||||
// START IDLE TOOGLE
|
||||
"idle_inhibitor",
|
||||
// END IDLE TOOGLE
|
||||
// START TRAY TOOGLE
|
||||
"tray",
|
||||
// END TRAY TOOGLE
|
||||
|
||||
@@ -60,7 +60,9 @@
|
||||
// END NETWORK TOOGLE
|
||||
"group/hardware",
|
||||
"custom/cliphist",
|
||||
// START IDLE TOOGLE
|
||||
"idle_inhibitor",
|
||||
// END IDLE TOOGLE
|
||||
// START TRAY TOOGLE
|
||||
"tray",
|
||||
// END TRAY TOOGLE
|
||||
|
||||
@@ -188,22 +188,20 @@ window#waybar.empty #window {
|
||||
* Idle Inhibator
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
#idle_inhibitor {
|
||||
#idle_inhibitor {
|
||||
margin-right: 15px;
|
||||
font-size: 16px;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
opacity: 0.8;
|
||||
color: @iconcolor;
|
||||
}
|
||||
|
||||
#idle_inhibitor.activated {
|
||||
background-color: #dc2f2f;
|
||||
font-size: 16px;
|
||||
color:#ffffff;
|
||||
border-radius: 15px;
|
||||
padding: 2px 10px 0px 10px;
|
||||
margin: 5px 15px 5px 0px;
|
||||
opacity:0.8;
|
||||
margin-right: 15px;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
opacity: 0.8;
|
||||
color: #dc2f2f;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user