Initial commit
This commit is contained in:
commit
ce17800973
3 changed files with 231 additions and 0 deletions
75
waybar/config.jsonc
Normal file
75
waybar/config.jsonc
Normal file
|
@ -0,0 +1,75 @@
|
|||
{
|
||||
"margin":4,
|
||||
"modules-left":[
|
||||
"sway/workspaces",
|
||||
"sway/mode"
|
||||
],
|
||||
"modules-center":[
|
||||
"mpris"
|
||||
],
|
||||
"modules-right":[
|
||||
"privacy",
|
||||
"network#warp",
|
||||
"network#wifi",
|
||||
"wireplumber",
|
||||
"backlight",
|
||||
"battery",
|
||||
"clock",
|
||||
"tray"
|
||||
],
|
||||
"sway/workspaces":{
|
||||
"all-outputs":true
|
||||
},
|
||||
"mpris":{
|
||||
"interval":1,
|
||||
"dynamic-order":["title","artist","album"],
|
||||
"format":"{dynamic} ({position}/{length})",
|
||||
"tooltip":false
|
||||
},
|
||||
"privacy":{
|
||||
"modules": [{"type": "audio-in"}]
|
||||
},
|
||||
"network#warp":{
|
||||
"interval":5,
|
||||
"format":"warp ",
|
||||
"format-disconnected":"",
|
||||
"tooltip":false,
|
||||
"interface":"warp"
|
||||
},
|
||||
"network#wifi":{
|
||||
"interval":5,
|
||||
"format-wifi":"{essid} ({signalStrength}%) ",
|
||||
"format-disconnected":"no wifi",
|
||||
"tooltip-format":"{ipaddr}",
|
||||
"interface":"wlan0"
|
||||
},
|
||||
"backlight":{
|
||||
"format":"{percent}% ",
|
||||
"tooltip":false
|
||||
},
|
||||
"wireplumber":{
|
||||
"format":"{volume}% {icon}",
|
||||
"format-muted":"{volume}% ",
|
||||
"format-icons":["","",""],
|
||||
"tooltip":false,
|
||||
"on-click":"wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||
},
|
||||
"battery":{
|
||||
"interval":1,
|
||||
"format":"{power:.2f}W {capacity}% {icon}",
|
||||
"format-icons":["","","","",""],
|
||||
"format-time":"{H}:{m}",
|
||||
"tooltip-format":"{time}",
|
||||
"states":{
|
||||
"warning":25
|
||||
}
|
||||
},
|
||||
"clock":{
|
||||
"interval":1,
|
||||
"format":"{:}",
|
||||
"tooltip":false
|
||||
},
|
||||
"tray":{
|
||||
"spacing":10
|
||||
}
|
||||
}
|
24
waybar/style.css
Normal file
24
waybar/style.css
Normal file
|
@ -0,0 +1,24 @@
|
|||
* {
|
||||
font: bold 14px monospace;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#workspaces button.focused, #battery.charging, #battery.charging.warning {
|
||||
background-color: lightgreen;
|
||||
color: black;
|
||||
}
|
||||
|
||||
#workspaces button.urgent, #battery.warning {
|
||||
background-color: red;
|
||||
color: black;
|
||||
}
|
||||
|
||||
#workspaces button, #mode, #mpris, #privacy, #network, #wireplumber, #backlight, #battery, #clock {
|
||||
background-color: darkgreen;
|
||||
border-radius: 10px;
|
||||
padding: 0 8px;
|
||||
margin: 0 2px;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue