Update '.config/waybar/config'

This commit is contained in:
tk1rk 2022-11-14 23:52:45 +01:00
parent 379150e3a0
commit ae0d37dd95

View File

@ -1,10 +1,10 @@
"settings": [
"mainBar": [
"settings": {
"mainBar": {
"layer": "top",
"position": "left",
"width": "60",
"spacing": "7",
"modules-left": [
"modules-left": {
"custom/search"
"wlr/workspaces"
"custom/lock"
@ -12,88 +12,88 @@
"custom/todo"
"backlight"
"battery"
],
],
},
},
"modules-center": [],
"modules-right": ["pulseaudio" "network" "custom/swallow" "clock" "custom/power"],
"wlr/workspaces": [
"wlr/workspaces": {
"on-click": "activate",
"format": "{icon}",
"active-only": "false",
"format-icons": [
"format-icons": {
"default": "",
"active": " 󰮯",
],
],
"custom/search": [
},
},
"custom/search": {
"format": " ",
"tooltip": "false",
"on-click": "killall rofi || ${pkgs.rofi}/bin/rofi -show drun",
],
"custom/todo": [
},
"custom/todo": {
"format": "[]",
"tooltip": "true",
"interval": "7",
"exec": "${./scripts/todo.sh}",
"return-type": "json",
],
},
"custom/weather": [
"custom/weather": {
"format: "[]",
"tooltip: "true",
"interval: "3600",
"exec": "${waybar-wttr}",
"return-type", "json",
],
"custom/lock" = [
"return-type": "json",
},
"custom/lock": {
"tooltip": "false",
"on-click" "sh -c '(sleep 0.5s; ${pkgs.swaylock}/bin/swaylock --grace 0)' & disown",
"on-click": "sh -c '(sleep 0.5s; ${pkgs.swaylock}/bin/swaylock --grace 0)' & disown",
"format": "",
],
"custom/swallow" = [
},
"custom/swallow": {
"tooltip": "false",
"on-click": "${./scripts/waybar-swallow.sh}",
"format": "",
],
"custom/power" = {
},
"custom/power": {
"tooltip": "false",
"on-click": "${./scripts/shutdown.sh} &",
"format": "襤",
],
"clock": [
},
"clock": {
"format": ":%H %M}",
"tooltip-format": "<big>{:%Y %B}</big><tt><small>{calendar}</small></tt>",
],
"backlight": [
},
"backlight": {
"format": "[icon]",
"format-icons": ["" "" "" "" "" "" "" "" ""],
],
"battery": [
"format-icons": "["" "" "" "" "" "" "" "" ""]"",
},
"battery": {
"states": [],
"warning": "30",
"critical": "15",
],
},
"format": "{icon}",
"format-charging": "",
"format-plugged": "",
"format-alt": "{icon}",
"format-icons": ["" "" "" "" "" "" "" "" "" "" "" ""],
],
"network" = [
},
"network": {
"format-wifi": "󰤨",
"format-ethernet": "󰤨",
"format-alt": "󰤨",
"format-disconnected": "󰤭",
"tooltip-format": "{ipaddr}/{ifname} via {gwaddr} ({signalStrength}%)",
],
"pulseaudio" = [
},
"pulseaudio": {
"scroll-step": "5",
"tooltip"": "false",
"format": "{icon}",
"format-icons": "default = ["" "" "墳"]",
"on-click": "${pkgs.killall}/bin/killall pavucontrol || ${pkgs.pavucontrol}/bin/pavucontrol",
],
],
],
],
]
},
},
},
},
}