summaryrefslogtreecommitdiff
path: root/waybar
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-24 10:20:39 -0600
committerzachir <zachir@librem.one>2023-02-24 10:20:39 -0600
commite0112883ed693bcc0c83a87acc35944f08866bbd (patch)
treeeadd84d64b2266cb3e7ce50efbcf6857bae7761b /waybar
parent6fd0a16cb89a8ce9e38af18caa26a458490b7159 (diff)
change some sizes in waybar + foot
Diffstat (limited to 'waybar')
-rw-r--r--waybar/config20
-rw-r--r--waybar/style.css12
2 files changed, 16 insertions, 16 deletions
diff --git a/waybar/config b/waybar/config
index c9c45c3..b271758 100644
--- a/waybar/config
+++ b/waybar/config
@@ -1,10 +1,10 @@
{
"layer": "top",
"position": "top",
- "height": 35,
+ "height": 36,
"spacing": 4,
- "margin-top": 5,
- "margin-bottom":5,
+ //"margin-top": 5,
+ //"margin-bottom":5,
// Choose the order of the modules
@@ -68,13 +68,13 @@
"warning": 30,
"critical": 15
},
- "format": "{capacity}% {icon}",
- "format-charging": "{capacity}% ",
- "format-plugged": "{capacity}% ",
- "format-alt": "{time} {icon}",
+ "format": "{capacity}%",
+ "format-charging": "{capacity}% +",
+ "format-plugged": "{capacity}% =",
+ "format-alt": "{time}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
- "format-icons": ["", "", "", "", ""]
+ //"format-icons": ["", "", "", "", ""]
},
"battery#bat0": {
"bat": "BAT0"
@@ -113,8 +113,8 @@
},
"custom/launcher":{
"format": "",
- "on-click": "wofi --show drun",
- "on-click-right": "killall wofi"
+ "on-click": "exec $(tofi-drun)",
+ "on-click-right": "killall tofi"
},
"custom/power":{
"format": " ",
diff --git a/waybar/style.css b/waybar/style.css
index 8f3e1bc..95198f2 100644
--- a/waybar/style.css
+++ b/waybar/style.css
@@ -1,10 +1,12 @@
* {
- border: none;
+ border: 0px;
+ margin: 0px;
border-radius: 0px;
/* `otf-font-awesome` is required to be installed for icons */
font-family: Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
- min-height: 0;
+ min-height: 0px;
+ min-width: 0px;
}
window#waybar {
@@ -76,7 +78,8 @@ window#waybar.hidden {
#mode,
#idle_inhibitor,
#mpd {
- padding: 0 10px;
+ padding: 0px 9px;
+ margin: 0px;
color: #ffffff;
}
@@ -230,17 +233,14 @@ label:focus {
#tags button.occupied {
color: skyblue;
- margin: 5px;
background-color: #272727;
}
#tags button.focused {
color: black;
- margin: 5px;
background-color: white;
}
#tags button.urgent{
color: red;
- margin: 5px;
background-color:white;
}