Replace waybar files
This commit is contained in:
parent
11cd572486
commit
759df4ccff
3 changed files with 168 additions and 1 deletions
|
@ -1 +0,0 @@
|
|||
/home/ephase/.config/dotrepo/sway_config/config/waybar/
|
83
files/config/waybar/config
Normal file
83
files/config/waybar/config
Normal file
|
@ -0,0 +1,83 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"height":"22",
|
||||
"disable-toolptips": true,
|
||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||
"modules-center": [],
|
||||
"modules-right": ["network", "temperature", "memory", "cpu", "backlight", "battery", "pulseaudio", "clock", "tray"],
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
},
|
||||
"sway/workspace": {
|
||||
"disable-scroll": true
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"clock": {
|
||||
"tooltip": false,
|
||||
"tooltip-format": "{:%Y-%m-%d | %H:%M}",
|
||||
"format-alt": "{:%Y-%m-%d}"
|
||||
},
|
||||
"temperature": {
|
||||
"thermal-zone": 0,
|
||||
"critical-threshold": 80,
|
||||
"format": "{temperatureC}°C |"
|
||||
},
|
||||
"cpu": {
|
||||
"format": "{usage}% |",
|
||||
"tooltip": false
|
||||
},
|
||||
"backlight": {
|
||||
//"device": "intel_backlight",
|
||||
"format": "{percent}% {icon} |",
|
||||
"format-icons": ["", ""],
|
||||
"tooltip": false
|
||||
},
|
||||
"battery": {
|
||||
"tooltip": false,
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"network": {
|
||||
"tooltip": false,
|
||||
"format-wifi": "{essid} ({signalStrength}%) |",
|
||||
"format-ethernet": "{ifname}: {ipaddr}/{cidr} |",
|
||||
"format-linked": "{ifname} (No IP) |",
|
||||
"format-disconnected": "Disconnected ⚠ |",
|
||||
"format-alt": "{ifname}: {ipaddr}/{cidr} |"
|
||||
},
|
||||
"pulseaudio": {
|
||||
"tooltip": false,
|
||||
"format": "{volume}% {icon} |",
|
||||
"format-bluetooth": "{volume}% {icon} |",
|
||||
"format-muted": "婢",
|
||||
"format-source": "{volume}% |",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphones": "",
|
||||
"handsfree": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": "墳"
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": "{used:0.1f}G/{total:0.1f}G "
|
||||
}
|
||||
}
|
85
files/config/waybar/style.css
Normal file
85
files/config/waybar/style.css
Normal file
|
@ -0,0 +1,85 @@
|
|||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: "FuraCode Nerd Font";
|
||||
font-size: 16px;
|
||||
min-height:0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background:#323232 ;
|
||||
color:#ddd;
|
||||
}
|
||||
|
||||
button,
|
||||
button:disabled,label:disabled{
|
||||
color:inherit;
|
||||
}
|
||||
|
||||
button:hover{
|
||||
background:none;
|
||||
box-shadow:inherit;
|
||||
box-shadow:inherit;
|
||||
text-shadow:inherit;
|
||||
text-shadow:inherit;
|
||||
border-top:none;
|
||||
}
|
||||
#workspaces {
|
||||
color:#fff;
|
||||
|
||||
}
|
||||
#workspaces button {
|
||||
margin:0 3px;
|
||||
padding:4px 4px;
|
||||
background:#323232 ;
|
||||
color:#9c9c9c;
|
||||
border-bottom: 1px solid transparent;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
box-shadow:inherit;
|
||||
text-shadow:inherit;
|
||||
color:#f268b3;
|
||||
border-bottom: 1px solid #f268b3;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background:#1cd180 ;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#cpu,
|
||||
#memory,
|
||||
#backlight,
|
||||
#network,
|
||||
#tray,
|
||||
#mode,
|
||||
#battery,
|
||||
#idle_inhibitor {
|
||||
padding: 2px 4px;
|
||||
margin: 0;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#mode{
|
||||
background:red;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
#pulseaudio {}
|
||||
#pulseaudio.muted {}
|
||||
|
||||
#battery {
|
||||
border-bottom:1px solid transparent;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
border-color:#1cd180;
|
||||
color:#1cd180;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
border-color:#f268b3;
|
||||
color:#f268b3;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue