waybar: enlarge bar and tighten spacing
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
// -*- mode: jsonc -*-
|
// -*- mode: jsonc -*-
|
||||||
{
|
{
|
||||||
"height": 30,
|
"height": 42,
|
||||||
"spacing": 4,
|
"spacing": 4,
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"hyprland/workspaces",
|
"hyprland/workspaces",
|
||||||
@@ -16,6 +16,7 @@
|
|||||||
"power-profiles-daemon",
|
"power-profiles-daemon",
|
||||||
"cpu",
|
"cpu",
|
||||||
"memory",
|
"memory",
|
||||||
|
"custom/diskfree",
|
||||||
"temperature",
|
"temperature",
|
||||||
"backlight",
|
"backlight",
|
||||||
"battery",
|
"battery",
|
||||||
@@ -44,6 +45,12 @@
|
|||||||
"memory": {
|
"memory": {
|
||||||
"format": "MEM {}%"
|
"format": "MEM {}%"
|
||||||
},
|
},
|
||||||
|
"custom/diskfree": {
|
||||||
|
"exec": "~/.config/waybar/scripts/diskfree",
|
||||||
|
"interval": 30,
|
||||||
|
"format": "DISK {text}",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
"temperature": {
|
"temperature": {
|
||||||
"critical-threshold": 80,
|
"critical-threshold": 80,
|
||||||
"format": "TEMP {temperatureC}C"
|
"format": "TEMP {temperatureC}C"
|
||||||
@@ -89,7 +96,7 @@
|
|||||||
"enable": true,
|
"enable": true,
|
||||||
"update-active-window": true,
|
"update-active-window": true,
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"icon-size": 16,
|
"icon-size": 24,
|
||||||
"on-click-window": "hyprctl dispatch focuswindow address:{address}"
|
"on-click-window": "hyprctl dispatch focuswindow address:{address}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
* {
|
* {
|
||||||
/* `otf-font-awesome` is required to be installed for icons */
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
||||||
font-size: 13px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
@@ -55,7 +55,7 @@ button:hover {
|
|||||||
|
|
||||||
#workspaces button,
|
#workspaces button,
|
||||||
#taskbar button {
|
#taskbar button {
|
||||||
padding: 0 5px;
|
padding: 0 3px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
@@ -78,7 +78,7 @@ button:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#workspaces .workspace-label {
|
#workspaces .workspace-label {
|
||||||
padding: 0 6px;
|
padding: 0 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces .taskbar-window {
|
#workspaces .taskbar-window {
|
||||||
@@ -108,6 +108,7 @@ button:hover {
|
|||||||
#cpu,
|
#cpu,
|
||||||
#memory,
|
#memory,
|
||||||
#disk,
|
#disk,
|
||||||
|
#custom-diskfree,
|
||||||
#temperature,
|
#temperature,
|
||||||
#backlight,
|
#backlight,
|
||||||
#network,
|
#network,
|
||||||
@@ -120,7 +121,7 @@ button:hover {
|
|||||||
#scratchpad,
|
#scratchpad,
|
||||||
#power-profiles-daemon,
|
#power-profiles-daemon,
|
||||||
#mpd {
|
#mpd {
|
||||||
padding: 0 10px;
|
padding: 0 8px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -210,6 +211,10 @@ label:focus {
|
|||||||
background-color: #964B00;
|
background-color: #964B00;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#custom-diskfree {
|
||||||
|
background-color: #964B00;
|
||||||
|
}
|
||||||
|
|
||||||
#backlight {
|
#backlight {
|
||||||
background-color: #90b1b1;
|
background-color: #90b1b1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user