waybar config, organized everything to folders
This commit is contained in:
80
waybar/config.jsonc
Normal file
80
waybar/config.jsonc
Normal file
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"modules-left": [
|
||||
"hyprland/workspaces"
|
||||
],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": [
|
||||
"pulseaudio",
|
||||
"battery",
|
||||
"network",
|
||||
"bluetooth",
|
||||
"cpu",
|
||||
"memory",
|
||||
"custom/power"
|
||||
],
|
||||
"hyprland/workspaces": {
|
||||
"persistent-workspaces": {
|
||||
"*":5
|
||||
},
|
||||
"format": "{name}: {icon}",
|
||||
"format-icons": {
|
||||
"active": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 21,
|
||||
"spacing": 10
|
||||
},
|
||||
"clock": {
|
||||
"timezone": "Europe/Budapest",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format": "{:%d - %H:%M}"
|
||||
},
|
||||
"network": {
|
||||
"format-wifi": " ",
|
||||
"format-ethernet": " ",
|
||||
"format-disconnected": " ",
|
||||
"interval": 5,
|
||||
"tooltip": false,
|
||||
"on-click" : "nm-connection-editor"
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-on": "{icon}",
|
||||
"format-off": "{icon}",
|
||||
"format-connected":"{icon}",
|
||||
"format-icons":{
|
||||
"on":"",
|
||||
"off": "",
|
||||
"connected": "",
|
||||
},
|
||||
"on-click": "blueman-manager",
|
||||
"tooltip-format-connected":"{device_enumerate}"
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": "{icon0}{icon1}{icon2}{icon3} {usage:>2}%",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||
},
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {used:0.1f}G/{total:0.1f}G"
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"default": ["", "", " "]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"custom/power": {
|
||||
"format": "<span color='#FF4040'> </span>",
|
||||
"on-click": "systemctl poweroff",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "关机"
|
||||
}
|
||||
}
|
||||
120
waybar/style.css
Normal file
120
waybar/style.css
Normal file
@@ -0,0 +1,120 @@
|
||||
* {
|
||||
font-family: JetbrainsMono Nerd Font;
|
||||
font-size: 20px;
|
||||
min-height: 0;
|
||||
padding-right: 2px;
|
||||
padding-left: 2px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
#waybar {
|
||||
background: transparent;
|
||||
color: #c6d0f5;
|
||||
margin: 2px 2px;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
border-radius: 5px;
|
||||
margin: 5px;
|
||||
background: #101010;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
color: #babbf1;
|
||||
border-radius: 5px;
|
||||
padding: 0.4rem;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: #99d1db;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
color: #85c1dc;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#custom-music,
|
||||
#backlight,
|
||||
#clock,
|
||||
#battery,
|
||||
#pulseaudio,
|
||||
#network,
|
||||
#cpu,
|
||||
#bluetooth,
|
||||
#memory,
|
||||
#custom-power {
|
||||
background-color: #101010;
|
||||
padding: 0.5rem 1rem;
|
||||
margin: 5px 0;
|
||||
border-radius: 0px 0px 0px 0px;
|
||||
}
|
||||
|
||||
#custom-stream_status {
|
||||
background-color: #101010;
|
||||
padding: 0.5rem 1rem;
|
||||
margin: 5px 0;
|
||||
border-radius: 0px 5px 5px 0px;
|
||||
}
|
||||
|
||||
#custom-stream_status.up {
|
||||
color: #c3e88d;
|
||||
}
|
||||
|
||||
#custom-stream_status.warning {
|
||||
color: #ff9e64;
|
||||
}
|
||||
|
||||
#custom-stream_status.down {
|
||||
color: #ea999c;
|
||||
}
|
||||
|
||||
#memory {
|
||||
border-radius: 0px 0px 0px 0px;
|
||||
}
|
||||
|
||||
#clock {
|
||||
color: #8caaee;
|
||||
border-radius: 5px;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
#battery {
|
||||
color: #a6d189;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
color: #a6d189;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
color: #e78284;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
color: #e5c890;
|
||||
}
|
||||
|
||||
#backlight,
|
||||
#battery {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
color: #ea999c;
|
||||
border-radius: 5px 0px 0px 5%;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
#custom-music {
|
||||
color: #ca9ee6;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#custom-power {
|
||||
margin-right: 1rem;
|
||||
border-radius: 0px 0px 0px 0px;
|
||||
color: #e78284;
|
||||
}
|
||||
Reference in New Issue
Block a user