Files
Thraix aecdb34116 Add fetch and install scripts
- Add fetch script which fetches the current config that is used by the
  system into the git repo
- Add install script which copies the config in the repo into the config
  folder for the user
- Add waybar as config
2026-05-19 19:38:06 +02:00

158 lines
4.2 KiB
Plaintext

{
"layer": "top",
"position": "top",
"reload_style_on_change": true,
"modules-left": ["custom/pacman","tray"],
"modules-center": ["hyprland/workspaces"],
"modules-right": ["custom/hyperx", "pulseaudio", "cpu", "temperature", "memory", "clock","custom/notification", "custom/power"],
"hyprland/workspaces": {
"format": "{icon}"
},
"custom/notification": {
"tooltip": false,
"format": "",
"on-click": "swaync-client -t -sw",
"escape": true
},
"clock": {
"format": "{:%a-%V %Y-%m-%d %H:%M:%S} ",
"interval": 1,
"tooltip-format": "<tt>{calendar}</tt>",
"calendar": {
"weeks-pos": "left",
"locale": "sv_SE",
"format": {
"weeks": "<span><b>{:%V}</b></span>",
"today": "<span><u><b>{}</b></u></span>"
}
},
"actions": {
"on-scroll-down": "shift_down",
"on-scroll-up": "shift_up"
}
},
"network": {
"format-wifi": "",
"format-ethernet":"",
"format-disconnected": "",
"tooltip-format-disconnected": "Error",
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
"tooltip-format-ethernet": "{ifname} 🖧 ",
"on-click": "kitty nmtui"
},
"bluetooth": {
"format-on": "󰂯",
"format-off": "BT-off",
"format-disabled": "󰂲",
"format-connected-battery": "{device_battery_percentage}% 󰂯",
"format-alt": "{device_alias} 󰂯",
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\n{device_address}",
"tooltip-format-enumerate-connected-battery": "{device_alias}\n{device_address}\n{device_battery_percentage}%",
"on-click-right": "blueman-manager"
},
"battery": {
"interval":30,
"states": {
"good": 95,
"warning": 30,
"critical": 20
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% 󰂄",
"format-plugged": "{capacity}% 󰂄 ",
"format-alt": "{time} {icon}",
"format-icons": [
"󰁻",
"󰁼",
"󰁾",
"󰂀",
"󰂂",
"󰁹"
]
},
"custom/pacman": {
"format": "󰅢 {}",
"interval": 30,
"exec": "checkupdates | wc -l",
"exec-if": "exit 0",
"on-click": "kitty --title kitty-update sh -c 'sudo pacman -Syu | tee ~/.cache/pacman.log; echo ''Done! Log written to ~/.cache/pacman.log''; sleep 1'",
"signal": 8,
"tooltip": false
},
"custom/hyperx": {
"format": " {}%",
"interval": 60,
"exec": "cat /tmp/hyperx/battery",
"exec-if": "exit 0",
},
"custom/power": {
"format":" ",
"on-click": "~/Scripts/rofi_power.sh"
},
"custom/expand": {
"format": "",
"tooltip": false
},
"custom/endpoint":{
"format": "aa | aa",
"tooltip": false
},
"group/expand": {
"orientation": "horizontal",
"drawer": {
"transition-duration": 600,
"transition-to-left": true,
"click-to-reveal": true
},
"modules": ["custom/expand", "custom/colorpicker", "cpu","memory","temperature","custom/endpoint"]
},
"custom/colorpicker": {
"format": "xdd {}",
"return-type": "json",
"interval": "once",
"exec": "~/.config/waybar/scripts/colorpicker.sh -j",
"on-click": "~/.config/waybar/scripts/colorpicker.sh",
"signal": 1
},
"cpu": {
"format": "󰻠 {usage}%",
"tooltip": true
},
"memory": {
"format": " {used} GiB"
},
"temperature": {
"critical-threshold": 80,
"format": " {}°C",
"hwmon-path": "/tmp/temperature",
"interval": 1
},
"tray": {
"icon-size": 14,
"spacing": 10
},
"pulseaudio": {
"format": "{icon} {volume}% {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": " {volume}%",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
}
}
}