Update waybar config
This commit is contained in:
@@ -16,16 +16,14 @@
|
|||||||
"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": 22,
|
||||||
|
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"sway/workspaces",
|
"sway/window"
|
||||||
"sway/mode"
|
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
// "sway/window"
|
"sway/workspaces",
|
||||||
"clock#date",
|
"sway/mode"
|
||||||
"clock#time"
|
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"network",
|
"network",
|
||||||
@@ -35,7 +33,9 @@
|
|||||||
"temperature",
|
"temperature",
|
||||||
"custom/keyboard-layout",
|
"custom/keyboard-layout",
|
||||||
"battery",
|
"battery",
|
||||||
"tray"
|
"tray",
|
||||||
|
"clock#date",
|
||||||
|
"clock#time"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
||||||
@@ -124,7 +124,7 @@
|
|||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"all-outputs": false,
|
"all-outputs": false,
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"format": "{icon} {name}",
|
"format": "{name}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"1:www": "龜", // Icon: firefox-browser
|
"1:www": "龜", // Icon: firefox-browser
|
||||||
"2:mail": "", // Icon: mail
|
"2:mail": "", // Icon: mail
|
||||||
@@ -132,8 +132,8 @@
|
|||||||
"4:terminals": "", // Icon: terminal
|
"4:terminals": "", // Icon: terminal
|
||||||
"5:portal": "", // Icon: terminal
|
"5:portal": "", // Icon: terminal
|
||||||
"urgent": "",
|
"urgent": "",
|
||||||
"focused": "",
|
"focused": "",
|
||||||
"default": ""
|
"default": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -85,7 +85,6 @@
|
|||||||
|
|
||||||
/* Each module */
|
/* Each module */
|
||||||
#battery,
|
#battery,
|
||||||
#clock,
|
|
||||||
#cpu,
|
#cpu,
|
||||||
#custom-keyboard-layout,
|
#custom-keyboard-layout,
|
||||||
#memory,
|
#memory,
|
||||||
@@ -94,8 +93,19 @@
|
|||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#temperature,
|
#temperature,
|
||||||
#tray {
|
#tray {
|
||||||
padding-left: 10px;
|
padding-right: 14px;
|
||||||
padding-right: 10px;
|
}
|
||||||
|
|
||||||
|
#clock.date {
|
||||||
|
padding-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock.time {
|
||||||
|
padding-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#window {
|
||||||
|
padding-left: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -203,9 +213,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
border-top: 2px solid transparent;
|
|
||||||
/* To compensate for the top border and still have vertical centering */
|
|
||||||
padding-bottom: 2px;
|
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
color: @subtext1;
|
color: @subtext1;
|
||||||
@@ -214,18 +221,15 @@
|
|||||||
#workspaces button:hover {
|
#workspaces button:hover {
|
||||||
color: @text;
|
color: @text;
|
||||||
background: @surface2;
|
background: @surface2;
|
||||||
border-color: @text;
|
|
||||||
text-shadow: none; /* Remove predefined text-shadow */
|
text-shadow: none; /* Remove predefined text-shadow */
|
||||||
transition: none; /* Disable predefined animations */
|
transition: none; /* Disable predefined animations */
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.focused {
|
#workspaces button.focused {
|
||||||
border-color: @surface2;
|
|
||||||
color: @text;
|
color: @text;
|
||||||
background-color: @surface0;
|
background-color: @surface0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.urgent {
|
#workspaces button.urgent {
|
||||||
border-color: @red;
|
|
||||||
color: @red;
|
color: @red;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user