Fixed Padding On Waybar
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
"position": "top",
|
"position": "top",
|
||||||
// If height property would be not present, it'd be calculated dynamically
|
// If height property would be not present, it'd be calculated dynamically
|
||||||
"height": 30,
|
"height": 30,
|
||||||
|
"width" : 10,
|
||||||
|
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"custom/launcher",
|
"custom/launcher",
|
||||||
@@ -23,9 +24,11 @@
|
|||||||
"custom/keyboard-layout",
|
"custom/keyboard-layout",
|
||||||
"battery",
|
"battery",
|
||||||
//"custom/PBPbattery",
|
//"custom/PBPbattery",
|
||||||
"backlight",
|
"backlight#icon",
|
||||||
|
"backlight#value",
|
||||||
"clock",
|
"clock",
|
||||||
"tray",
|
"tray",
|
||||||
|
"custom/weather",
|
||||||
"custom/power",
|
"custom/power",
|
||||||
],
|
],
|
||||||
|
|
||||||
@@ -40,8 +43,7 @@
|
|||||||
"format": "{capacity}% {icon}",
|
"format": "{capacity}% {icon}",
|
||||||
"format-charging": "{capacity}% ",
|
"format-charging": "{capacity}% ",
|
||||||
"format-plugged": "{capacity}% ",
|
"format-plugged": "{capacity}% ",
|
||||||
"format-alt": "{time} {icon}",
|
// "format-good": "", // An empty format will hide the module
|
||||||
// "format-good": "", // An empty format will hide the module
|
|
||||||
// "format-full": "",
|
// "format-full": "",
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": ["", "", "", "", ""]
|
||||||
},
|
},
|
||||||
@@ -152,25 +154,30 @@
|
|||||||
|
|
||||||
"custom/weather": {
|
"custom/weather": {
|
||||||
"exec": "~/.config/waybar/scripts/weather.sh",
|
"exec": "~/.config/waybar/scripts/weather.sh",
|
||||||
"format": "{}",
|
"format": "{text} {icon}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"interval": 600
|
"interval": 600,
|
||||||
|
"tooltip-format": "{tooltip}"
|
||||||
},
|
},
|
||||||
|
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 18,
|
"icon-size": 18,
|
||||||
"spacing":10,
|
"spacing":10,
|
||||||
},
|
},
|
||||||
|
|
||||||
"backlight": {
|
"backlight#icon": {
|
||||||
"interval": 5,
|
"format": "{icon}",
|
||||||
"format": "{icon} {percent}%",
|
"format-icons": [""],
|
||||||
"format-alt": "{percent}% {icon}",
|
|
||||||
"format-alt-click": "click-right",
|
|
||||||
"format-icons": ["🌕", "🌔", "🌓", "🌒", "🌑"],
|
|
||||||
"on-scroll-down": "brightnessctl -c backlight set +5%",
|
"on-scroll-down": "brightnessctl -c backlight set +5%",
|
||||||
"on-scroll-up": "brightnessctl -c backlight set 5%-"
|
"on-scroll-up": "brightnessctl -c backlight set 5%-"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"backlight#value" :{
|
||||||
|
"format": "{percent}%",
|
||||||
|
"on-scroll-down": "brightnessctl -c backlight set +5%",
|
||||||
|
"on-scroll-up": "brightnessctl -c backlight set 5%-"
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
"custom/firefox": {
|
"custom/firefox": {
|
||||||
"format": " ",
|
"format": " ",
|
||||||
|
|||||||
@@ -71,14 +71,14 @@ Arc-Dark Color Scheme
|
|||||||
#custom-keyboard-layout,
|
#custom-keyboard-layout,
|
||||||
#memory,
|
#memory,
|
||||||
#mode,
|
#mode,
|
||||||
|
#custom-weather,
|
||||||
#network,
|
#network,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#temperature,
|
#temperature,
|
||||||
#tray
|
#tray
|
||||||
#custom-PBPbattery{
|
#custom-PBPbattery{
|
||||||
margin-left:10px;
|
padding:0.3rem 0.6rem;
|
||||||
margin-right:10px;
|
margin: 0px 0px;
|
||||||
padding:0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -89,7 +89,7 @@ Arc-Dark Color Scheme
|
|||||||
* -------------------------------------------------------------------------- */
|
* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
margin-top:3px;
|
|
||||||
animation-timing-function: linear;
|
animation-timing-function: linear;
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
animation-direction: alternate;
|
animation-direction: alternate;
|
||||||
@@ -114,7 +114,7 @@ Arc-Dark Color Scheme
|
|||||||
}
|
}
|
||||||
|
|
||||||
#cpu{
|
#cpu{
|
||||||
margin-top:2.5px;
|
|
||||||
}
|
}
|
||||||
#cpu.warning {
|
#cpu.warning {
|
||||||
color: orange;
|
color: orange;
|
||||||
@@ -155,7 +155,7 @@ Arc-Dark Color Scheme
|
|||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio{
|
#pulseaudio{
|
||||||
margin-top:2px;
|
padding-top:7px;
|
||||||
}
|
}
|
||||||
#pulseaudio.muted {
|
#pulseaudio.muted {
|
||||||
color: @highlight;
|
color: @highlight;
|
||||||
@@ -170,7 +170,7 @@ Arc-Dark Color Scheme
|
|||||||
}
|
}
|
||||||
|
|
||||||
#workspaces{
|
#workspaces{
|
||||||
font-size:18px;
|
font-size:15px;
|
||||||
}
|
}
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
border-bottom: 3px solid transparent;
|
border-bottom: 3px solid transparent;
|
||||||
@@ -201,4 +201,9 @@ font-size:18px;
|
|||||||
margin-right:10px;
|
margin-right:10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#backlight.icon{
|
||||||
|
padding-right:1px;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user