feat(waybar): add more bars
This commit is contained in:
parent
0b52cf7161
commit
2ca5818105
@ -158,6 +158,9 @@
|
|||||||
"modules-center": [
|
"modules-center": [
|
||||||
"sway/workspaces"
|
"sway/workspaces"
|
||||||
],
|
],
|
||||||
|
"modules-right": [
|
||||||
|
"sway/language"
|
||||||
|
],
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
@ -176,8 +179,11 @@
|
|||||||
},
|
},
|
||||||
"custom/sway-mode": {
|
"custom/sway-mode": {
|
||||||
"exec": "swaymsg -t get_binding_state | jq '.name' -r",
|
"exec": "swaymsg -t get_binding_state | jq '.name' -r",
|
||||||
"format": " {}",
|
"format": " {}",
|
||||||
"interval": 1
|
"interval": 1
|
||||||
|
},
|
||||||
|
"sway/language": {
|
||||||
|
"format": " {long}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -57,12 +57,14 @@
|
|||||||
border-top: 2px solid @oniViolet;
|
border-top: 2px solid @oniViolet;
|
||||||
border-left: 2px solid @oniViolet;
|
border-left: 2px solid @oniViolet;
|
||||||
border-right: 2px solid @oniViolet;
|
border-right: 2px solid @oniViolet;
|
||||||
|
color: @fujiWhite;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-sway-mode {
|
#custom-sway-mode {
|
||||||
background: @sumiInk0;
|
background: @sumiInk0;
|
||||||
border-bottom: 2px solid @oniViolet;
|
border-bottom: 2px solid @oniViolet;
|
||||||
border-left: 2px solid @oniViolet;
|
border-left: 2px solid @oniViolet;
|
||||||
|
color: @fujiWhite;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
@ -114,6 +116,7 @@
|
|||||||
background: @sumiInk0;
|
background: @sumiInk0;
|
||||||
border-top: 2px solid @oniViolet;
|
border-top: 2px solid @oniViolet;
|
||||||
border-left: 2px solid @oniViolet;
|
border-left: 2px solid @oniViolet;
|
||||||
|
color: @fujiWhite;
|
||||||
}
|
}
|
||||||
|
|
||||||
#network,
|
#network,
|
||||||
@ -123,6 +126,7 @@
|
|||||||
background: @sumiInk0;
|
background: @sumiInk0;
|
||||||
border-top: 2px solid @oniViolet;
|
border-top: 2px solid @oniViolet;
|
||||||
border-right: 2px solid @oniViolet;
|
border-right: 2px solid @oniViolet;
|
||||||
|
color: @fujiWhite;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cpu,
|
#cpu,
|
||||||
@ -136,6 +140,7 @@
|
|||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
border-top: 2px solid @oniViolet;
|
border-top: 2px solid @oniViolet;
|
||||||
border-left: 2px solid @oniViolet;
|
border-left: 2px solid @oniViolet;
|
||||||
|
color: @fujiWhite;
|
||||||
}
|
}
|
||||||
|
|
||||||
#disk.critical {
|
#disk.critical {
|
||||||
@ -213,3 +218,10 @@
|
|||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
animation-direction: alternate;
|
animation-direction: alternate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#language {
|
||||||
|
border-bottom: 2px solid @oniViolet;
|
||||||
|
border-right: 2px solid @oniViolet;
|
||||||
|
background: @sumiInk0;
|
||||||
|
color: @fujiWhite;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user