262 lines
6.7 KiB
Plaintext
262 lines
6.7 KiB
Plaintext
{
|
|
"backlight": {
|
|
"interval": 2,
|
|
"align": 0,
|
|
"rotate": 0,
|
|
"format": "{icon} {percent}",
|
|
"format-icons": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"on-click": "",
|
|
"on-click-middle": "",
|
|
"on-click-right": "",
|
|
"on-update": "",
|
|
"on-scroll-up": "~/.config/hypr/scripts/brightness --inc",
|
|
"on-scroll-down": "~/.config/hypr/scripts/brightness --dec",
|
|
"smooth-scrolling-threshold": 1,
|
|
},
|
|
"wlr/workspaces-cn": {
|
|
"format": "{icon}",
|
|
"on-click": "activate",
|
|
"all-outputs": true,
|
|
"sort-by-number": true,
|
|
"format-icons": {
|
|
"1": "一",
|
|
"2": "二",
|
|
"3": "三",
|
|
"4": "四",
|
|
"5": "五",
|
|
"6": "六",
|
|
"7": "七",
|
|
"8": "八",
|
|
"9": "九",
|
|
"10": "十",
|
|
"focused": "",
|
|
"default": ""
|
|
},
|
|
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
|
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
|
},
|
|
"wlr/workspaces": {
|
|
"format": "{icon}",
|
|
"on-click": "activate",
|
|
"all-outputs": true,
|
|
"sort-by-number": true,
|
|
"format-icons": {
|
|
"1": "1",
|
|
"2": "2",
|
|
"3": "3",
|
|
"4": "4",
|
|
"5": "5",
|
|
"6": "6",
|
|
"7": "7",
|
|
"8": "8",
|
|
"9": "9",
|
|
"10": "10",
|
|
"urgent": "",
|
|
"default": ""
|
|
},
|
|
},
|
|
"hyprland/workspaces": {
|
|
"format": "{icon}",
|
|
"on-click": "activate",
|
|
"all-outputs": true,
|
|
"format-icons": {
|
|
"1": "1",
|
|
"2": "2",
|
|
"3": "3",
|
|
"4": "4",
|
|
"5": "5",
|
|
"6": "6",
|
|
"7": "7",
|
|
"8": "8",
|
|
"9": "9",
|
|
"10": "10",
|
|
"urgent": "",
|
|
"default": ""
|
|
},
|
|
"sort-by-number": true
|
|
},
|
|
"battery": {
|
|
"interval": 60,
|
|
"align": 0,
|
|
"rotate": 0,
|
|
//"bat": "BAT1",
|
|
//"adapter": "ACAD",
|
|
"full-at": 100,
|
|
"design-capacity": false,
|
|
"states": {
|
|
"good": 95,
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{icon} {capacity}%",
|
|
"format-charging": " {capacity}%",
|
|
"format-plugged": " {capacity}%",
|
|
"format-full": "{icon} Full",
|
|
//"format-good": "",
|
|
"format-alt": "{icon} {time}",
|
|
"format-icons": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"format-time": "{H}h {M}min",
|
|
"tooltip": true,
|
|
"on-click-right": "~/.config/hypr/scripts/glassmorphismToggle"
|
|
},
|
|
"clock": {
|
|
"interval": 60,
|
|
"align": 0,
|
|
"rotate": 0,
|
|
"tooltip-format": "<big>{:%B %Y}</big>\n<tt><small>{calendar}</small></tt>",
|
|
"format": "{:%d %b, %H:%M}",
|
|
"format-alt": " {:%a %b %d, %G}",
|
|
"on-click-right": "~/.config/hypr/scripts/changeWallpaper",
|
|
},
|
|
"cpu": {
|
|
// "interval": 5,
|
|
// "format": " {usage}%",
|
|
"interval": 1,
|
|
"format": "{icon0}{icon1}{icon2}{icon3} {usage:>2}% ",
|
|
"format-icons": [
|
|
"▁",
|
|
"▂",
|
|
"▃",
|
|
"▄",
|
|
"▅",
|
|
"▆",
|
|
"▇",
|
|
"█"
|
|
],
|
|
},
|
|
"custom/menu": {
|
|
"format": " ",
|
|
"tooltip": false,
|
|
"on-click": "$HOME/.config/hypr/scripts/fullmenu",
|
|
},
|
|
"custom/power": {
|
|
"format": " ",
|
|
"tooltip": false,
|
|
"on-click": "archlinux-logout",
|
|
},
|
|
"disk": {
|
|
"interval": 30,
|
|
"format": " {free}",
|
|
},
|
|
"memory": {
|
|
"interval": 10,
|
|
"format": " {used:0.1f}G",
|
|
},
|
|
"network": {
|
|
"interval": 5,
|
|
"format-wifi": " {essid}",
|
|
"format-ethernet": " {ipaddr}/{cidr}",
|
|
"format-linked": " {ifname} (No IP)",
|
|
"format-disconnected": "睊 Disconnected",
|
|
"format-disabled": "睊 Disabled",
|
|
"format-alt": " {bandwidthUpBits} | {bandwidthDownBits}",
|
|
"tooltip-format": " {ifname} via {gwaddr}",
|
|
},
|
|
"custom/weather": {
|
|
"format": "{}",
|
|
"format-alt": "{alt}: {}",
|
|
"format-alt-click": "click-right",
|
|
"interval": 1800,
|
|
"return-type": "json",
|
|
"exec": "~/.config/hypr/scripts/weather.sh",
|
|
"exec-if": "ping wttr.in -c1"
|
|
},
|
|
"custom/updater": {
|
|
"format": " {}",
|
|
"exec": "checkupdates | wc -l",
|
|
"exec-if": "[[ $(checkupdates | wc -l) ]]",
|
|
"interval": 10800,
|
|
"on-click": "kitty --class update -T update -o font_size=13 -e yay -Syu && notify-send 'The system has been updated' "
|
|
},
|
|
"custom/updater-improved": {
|
|
"format": " {}",
|
|
"exec": "checkupdates | wc -l",
|
|
"exec-if": "[[ $(checkupdates | wc -l) ]]",
|
|
"interval": 10800,
|
|
"on-click": "kitty --class update -T update -o font_size=13 -e yay -Syu; pkill -RTMIN+8 waybar"
|
|
},
|
|
"custom/cycle_wall": {
|
|
"format": "",
|
|
"on-click": "~/.config/hypr/scripts/changeWallpaper",
|
|
"tooltip-format": "Change wallpaper",
|
|
},
|
|
"pulseaudio": {
|
|
/* "format": "{icon} {volume}% {format_source}", */
|
|
"format": "{icon} {volume}",
|
|
"format-muted": " Mute",
|
|
"format-bluetooth": " {volume}% {format_source}",
|
|
"format-bluetooth-muted": " Mute",
|
|
"format-source": " {volume}",
|
|
"format-source-muted": "",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": [
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
"scroll-step": 5.0,
|
|
"on-click": "pamixer -t",
|
|
"on-click-right": "pavucontrol",
|
|
"on-scroll-up": "~/.config/hypr/scripts/volume --inc",
|
|
"on-scroll-down": "~/.config/hypr/scripts/volume --dec",
|
|
"smooth-scrolling-threshold": 1,
|
|
},
|
|
"custom/keybindings": {
|
|
"format": " ",
|
|
"tooltip": false,
|
|
"on-click": "~/.config/hypr/scripts/keyhint",
|
|
},
|
|
"tray": {
|
|
"icon-size": 18,
|
|
"spacing": 6
|
|
},
|
|
"temperature": {
|
|
// "thermal-zone": 2,
|
|
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
|
// "critical-threshold": 80,
|
|
// "format-critical": "{temperatureC}°C ",
|
|
"format": "{temperatureC}°C "
|
|
},
|
|
"bluetooth": {
|
|
"format": " {status}",
|
|
"format-connected": " {device_alias}",
|
|
"format-connected-battery": " {device_alias} {device_battery_percentage}%",
|
|
// "format-device-preference": [ "device1", "device2" ], // preference list deciding the displayed device
|
|
"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}\t{device_address}",
|
|
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%"
|
|
},
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "",
|
|
"deactivated": ""
|
|
},
|
|
},
|
|
"custom/changewaybar": {
|
|
"on-click": "~/.bin/change-waybar-hyprland",
|
|
"tooltip": true,
|
|
"tooltip-format": "Swap between waybar configs",
|
|
"format": "CW "
|
|
},
|
|
}
|