Initial commit
This commit is contained in:
commit
44ca2ba179
11 changed files with 968 additions and 0 deletions
137
.config/waybar/config.jsonc
Normal file
137
.config/waybar/config.jsonc
Normal file
|
|
@ -0,0 +1,137 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"margin-bottom": 0,
|
||||
"spacing" : 0,
|
||||
"modules-left": [
|
||||
"hyprland/workspaces",
|
||||
"custom/uptime",
|
||||
"cpu",
|
||||
"memory"
|
||||
],
|
||||
|
||||
"modules-center": ["clock"],
|
||||
|
||||
"modules-right": [
|
||||
"bluetooth",
|
||||
"network",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"battery",
|
||||
"custom/power"
|
||||
],
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"format": "{name}: {icon}",
|
||||
"format-icons": {
|
||||
"active": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-on": "{icon}",
|
||||
"format-off": "{icon}",
|
||||
"format-connected":"{icon}",
|
||||
"format-icons":{
|
||||
"on":"",
|
||||
"off": "",
|
||||
"connected": ""
|
||||
},
|
||||
"on-click": "ghostty -e bluetuith",
|
||||
"tooltip-format-connected":"{device_enumerate}"
|
||||
},
|
||||
|
||||
"custom/music": {
|
||||
"format": " {}",
|
||||
"escape": true,
|
||||
"interval": 5,
|
||||
"tooltip": false,
|
||||
"exec": "playerctl metadata --format='{{ artist }} - {{ title }}'",
|
||||
"on-click": "playerctl play-pause",
|
||||
"max-length": 50
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"timezone": "Europe/Berlin",
|
||||
"tooltip": false,
|
||||
"format": "{:%H:%M:%S - %A, %d}",
|
||||
"interval": 1
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format-wifi": "",
|
||||
"format-ethernet": " ",
|
||||
"format-disconnected": " ",
|
||||
"interval": 5,
|
||||
"tooltip-format": "{essid} ({signalStrength}%)",
|
||||
"on-click": "nm-connection-editor"
|
||||
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": " {icon0}{icon1}{icon2}{icon3} {usage:>2}%",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
|
||||
"on-click": "ghostty -e htop"
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {used:0.1f}G/{total:0.1f}G",
|
||||
"tooltip-format": "Memory"
|
||||
},
|
||||
|
||||
"custom/uptime": {
|
||||
"format": "{}",
|
||||
"format-icon": [""],
|
||||
"tooltip": false,
|
||||
"interval": 1600,
|
||||
"exec": "$HOME/.config/waybar/scripts/uptime.sh"
|
||||
},
|
||||
|
||||
"backlight": {
|
||||
"format": "{icon} {percent}%",
|
||||
"format-icons": ["","", "", "","","",""],
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"default": ["", "", " "]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"interval":2,
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-full": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-alt": "{icon} {time}",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
|
||||
"custom/lock": {
|
||||
"tooltip": false,
|
||||
"on-click": "sh -c '(sleep 0s; hyprlock)' & disown",
|
||||
"format" : ""
|
||||
},
|
||||
|
||||
"custom/power": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"tooltip-format": "Power Menu",
|
||||
"on-click": "~/.config/waybar/scripts/power-menu.sh"
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue