Initial dotfiles configuration
This commit is contained in:
37
waybar/config
Normal file
37
waybar/config
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"modules-left": ["sway/workspaces", "sway/window", "sway/mode"],
|
||||
"modules-center": ["clock", "idle_inhibitor"],
|
||||
"modules-right": ["cpu", "memory", "battery", "network", "tray"],
|
||||
"sway/window": {
|
||||
"max-length": 50
|
||||
},
|
||||
"battery": {
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"clock": {
|
||||
"format": "{: %a, %d %b %I:%M %p}",
|
||||
},
|
||||
"cpu": {
|
||||
"format": "{usage}% "
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"format": "{percentage}% "
|
||||
},
|
||||
"network": {
|
||||
"format": "{ifname}",
|
||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||
"format-ethernet": "{ifname} "
|
||||
},
|
||||
"tray": {
|
||||
"spacing": 10
|
||||
}
|
||||
}
|
29
waybar/style.css
Normal file
29
waybar/style.css
Normal file
@@ -0,0 +1,29 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: Noto Sans, Roboto, Helvetica, Arial, sans-serif;
|
||||
font-size: 13px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
color: white;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#cpu,
|
||||
#battery,
|
||||
#idle_inhibitor,
|
||||
#memory,
|
||||
#mode,
|
||||
#network,
|
||||
#tray,
|
||||
#window,
|
||||
#workspaces button {
|
||||
margin: 5px;
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
#workspaces button.focused, #mode, #network.linked, #idle_inhibitor.activated {
|
||||
color: #33ffaa;
|
||||
}
|
Reference in New Issue
Block a user