dotfiles/home/.config/waybar/config.jsonc.bak2
2024-10-08 21:32:03 +02:00

130 lines
3.8 KiB
Text

{
"layer": "top",
"position": "top",
"margin-top": 10,
"margin-left": 10,
"margin-right": 10,
"height": 30,
"spacing": 0,
"modules-left": ["custom/launcher","hyprland/workspaces","cpu","memory"],
"modules-center": ["custom/song_name","custom/pre","custom/spotify","custom/next"],
"modules-right": ["tray","network", "pulseaudio","clock","custom/powermenu"],
"hyprland/workspaces": {
"on-click": "activate",
"format": "{icon}",
"format-icons": {
"default": "",
"1": "",
"2": "",
"3": "",
"4": "",
"active": "󱓻",
"urgent": "󱓻",
},
"persistent_workspaces": {
"*": 4,
}
},
"memory": {
"interval": 3,
"format": "  {}% ",
"max-length": 10
},
"cpu": {
"interval": 1,
"format": "  {}% ",
"max-length": 10
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"format-alt": "  {:%a, %d %b %Y} ",
"format": "  {:%H:%M} ",
"calendar": {
"weeks-pos" : "none",
"on-scroll" : 1,
"format": {
"months": "<span color='#8fbcbb'><b>{}</b></span>",
"days": "<span color='#8a909e'>{}</span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#81a1c1'><b>{}</b></span>",
"today": "<span color='#88c0d0'><b>{}</b></span>"
}
},
"actions": {
"on-click-right": "none",
"on-click-forward": "tz_up",
"on-click-backward": "tz_down",
"on-scroll-up": "shift_up",
"on-scroll-down": "shift_down"
}
},
"network": {
"format-wifi": "{icon}",
"format-disconnected": "󰤭 ",
"format-icons": ["󰤯 ","󰤟 ","󰤢 ","󰤥 ","󰤨 "],
"tooltip-format-wifi": "{essid}",
"tooltip-format-disconnected": "Disconnected",
"nospacing": 1,
},
"pulseaudio": {
"format": "{icon}",
"nospacing": 1,
"tooltip-format": "Volume : {volume}%",
"format-muted": "󰝟 ",
"format-icons": {
"headphone": " ",
"default": ["󰕿 ", "󰖀 ", "󰕾 "]
},
"on-click": "pamixer -t",
"on-click-right": "pavucontrol",
"scroll-step": 5,
},
"custom/launcher": {
"format": "  ",
"tooltip": false,
"on-click": "/home/tdm/.config/rofi/launchers/misc/launcher.sh &"
},
"custom/next": {
"exec": "python3 ~/.config/waybar/scripts/next.py --player spotify",
"format": "{}",
"tooltip": false,
"on-click": "playerctl next",
"return-type": "json",
},
"custom/pre": {
"exec": "python3 ~/.config/waybar/scripts/pre.py --player spotify",
"format": "{}",
"tooltip": false,
"on-click": "playerctl previous",
"return-type": "json",
},
"custom/powermenu": {
"format": "⏻ ",
"tooltip": false,
"on-click": "~/.config/rofi/powermenu/type-2/powermenu.sh &"
},
"custom/ibus": {
"format": "{}",
"exec": "/home/tdm/.config/waybar/scripts/input.sh &",
"interval": 1,
"tooltip": false,
"tooltip-format": "{}",
"on-click": "/home/tdm/.config/waybar/scripts/ibus.sh &",
},
"custom/spotify": {
"exec": "python3 ~/.config/waybar/scripts/mediaplayer.py --player spotify",
"format": "{}",
"return-type": "json",
"on-click": "playerctl play-pause",
},
"custom/song_name": {
"exec": "python3 ~/.config/waybar/scripts/spotify.py --player spotify",
"format": "{}",
"return-type": "json",
},
}