add bongobar
This commit is contained in:
12
config
12
config
@@ -2,8 +2,8 @@
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"modules-left": ["custom/haskell", "hyprland/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["pulseaudio", "backlight", "battery", "custom/music", "tray", "custom/lock", "custom/power"],
|
||||
"modules-center": ["clock", "custom/bongobar"],
|
||||
"modules-right": ["pulseaudio", "backlight", "battery", "tray", "custom/lock", "custom/power"],
|
||||
"custom/haskell": {
|
||||
"format": "λ",
|
||||
"tooltip": false
|
||||
@@ -50,6 +50,14 @@
|
||||
"format-muted": "VOL MUTE",
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"custom/bongobar": {
|
||||
"exec": "$HOME/.cargo/bin/bongobar",
|
||||
"return-type": "json",
|
||||
"format": " {}",
|
||||
"restart-interval": 1,
|
||||
"tooltip": true,
|
||||
"escape": false
|
||||
},
|
||||
"custom/lock": {
|
||||
"tooltip": false,
|
||||
"on-click": "sh -c '(sleep 0.5s; swaylock --grace 0)' & disown",
|
||||
|
||||
Reference in New Issue
Block a user