213 lines
5.2 KiB
Text
213 lines
5.2 KiB
Text
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
"spacing": 4,
|
|
"margin-top": 3,
|
|
"margin-bottom": 3,
|
|
"margin-left": 3,
|
|
"margin-right": 5,
|
|
|
|
"modules-left": [
|
|
"custom/icon",
|
|
"hyprland/workspaces",
|
|
"hyprland/window",
|
|
"custom/spotify",
|
|
],
|
|
|
|
"modules-center": [
|
|
"clock"
|
|
],
|
|
|
|
"modules-right": [
|
|
"tray",
|
|
"backlight",
|
|
"cpu",
|
|
"pulseaudio",
|
|
"network",
|
|
"memory",
|
|
"battery",
|
|
"idle_inhibitor",
|
|
"custom/notification",
|
|
"custom/power",
|
|
],
|
|
|
|
"custom/icon": {
|
|
"format": "",
|
|
"on-click-right": "rofi -config $HOME/.config/rofi/ssh-config.rasi -show ssh",
|
|
"on-click": "pkill rofi || rofi -show drun -modi drun,filebrowser,run,window,ssh",
|
|
"on-click-middle": "nwg-look",
|
|
"tooltip": false
|
|
},
|
|
|
|
"cpu": {
|
|
"interval": 10,
|
|
"format": " {usage}%",
|
|
"max-length": 10,
|
|
"tooltip": false,
|
|
"on-click-right": "kitty --class floating -e btop"
|
|
},
|
|
|
|
"clock": {
|
|
"format": "<b> {:%H:%M %d/%m}</b> ",
|
|
//"format": "{:%a}",
|
|
"tooltip-format": "<tt>{calendar}</tt>",
|
|
"calendar": {
|
|
"mode" : "month",
|
|
"format": {
|
|
"months": "<span color='#cdd6f4'><b>{}</b></span>",
|
|
"days": "<span color='#cdd6f4'><b>{}</b></span>",
|
|
"weeks": "<span color='#cdd6f4'><b>W{}</b></span>",
|
|
"weekdays": "<span color='#cdd6f4'><b>{}</b></span>",
|
|
"today": "<span color='#f38ba8'><b>{}</b></span>"
|
|
}
|
|
},
|
|
},
|
|
|
|
"memory": {
|
|
"interval": 30,
|
|
"format": " {used}GiB",
|
|
"format-alt": " {used:0.1f}G",
|
|
"on-click-right": "kitty --class floating -e btop",
|
|
"max-length": 10
|
|
},
|
|
|
|
"temperature": {
|
|
"format": " {temperatureF}°F"
|
|
},
|
|
|
|
"hyprland/window": {
|
|
"format": " {}",
|
|
"on-click-right": "$HOME/.config/hypr/scripts/screenshot_area",
|
|
"rewrite": {
|
|
"(.*) - NVIM": " NeoVim",
|
|
"(.*) — Mozilla Firefox": " Firefox",
|
|
" ": " Desktop",
|
|
"(.*) Spotify Free": " Spotify",
|
|
"(.*) Spotify": " Spotify",
|
|
" ~": " pika@home",
|
|
"(.*) - Obsidian(.*)": " Obsidian",
|
|
}
|
|
},
|
|
|
|
"hyprland/workspaces" : {
|
|
"on-click": "activate",
|
|
"active-only": false,
|
|
"all-outputs": true,
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"urgent": "",
|
|
"active": "",
|
|
"default": ""
|
|
},
|
|
"persistent-workspaces": {
|
|
"*": 4
|
|
}
|
|
},
|
|
|
|
"backlight": {
|
|
"format": "{icon} <b>{percent}%</b>",
|
|
"format-icons": ["", "", ""],
|
|
"tooltip": false,
|
|
},
|
|
|
|
"pulseaudio": {
|
|
"format": "{icon} <b>{volume}%</b>",
|
|
"format-bluetooth": "{icon} <b>{volume}%</b>",
|
|
"format-bluetooth-muted": " ",
|
|
"format-muted": " ",
|
|
"format-icons": {
|
|
"headset": "",
|
|
"default": ["", "", ""],
|
|
},
|
|
"tooltip": false,
|
|
"on-click": "pavucontrol",
|
|
},
|
|
|
|
"network": {
|
|
"interval": 30,
|
|
"on-click": "wl-copy $(ip address show up scope global | grep inet | head -n1 | cut -d/ -f 1 | tr -d [:space:] | cut -c5-)",
|
|
"on-click-right": "kitty --class floating $HOME/.config/hypr/scripts/wlan.sh",
|
|
"format-wifi": " {essid}",
|
|
"format-ethernet": " Wired",
|
|
"fomat-disconnected": " Disconnected",
|
|
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
|
|
"tooltip-format-ethernet": "{ifname} ",
|
|
"tooltip-format-disconnected": "Disconnected",
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
"warning": 45,
|
|
"critical": 20
|
|
},
|
|
"format": "{icon} {capacity}%",
|
|
"format-icons": ["", "", "", "", "", ""],
|
|
"max-length": 25,
|
|
"tooltip": false,
|
|
"on-click-right": "kitty --class floating $HOME/.config/hypr/scripts/wlan.sh",
|
|
},
|
|
|
|
|
|
"tray": {
|
|
"icon-size": 18,
|
|
"spacing": 10,
|
|
},
|
|
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": " ",
|
|
"deactivated": " "
|
|
},
|
|
},
|
|
|
|
"custom/separator-space": {
|
|
"format": " ",
|
|
"tooltip": false,
|
|
},
|
|
|
|
"custom/separator-gap": {
|
|
"format": " ",
|
|
"tooltip": false,
|
|
},
|
|
|
|
"custom/separator-arrow": {
|
|
"format": " ",
|
|
"tooltip": false,
|
|
},
|
|
|
|
"custom/power": {
|
|
"format": "",
|
|
"on-click": "wlogout",
|
|
"tooltip": false,
|
|
},
|
|
"custom/notification": {
|
|
"tooltip": false,
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"notification": " ",
|
|
"none": " ",
|
|
"dnd-notification": " ",
|
|
"dnd-none": " ",
|
|
"inhibited-notification": " ",
|
|
"inhibited-none": " ",
|
|
"dnd-inhibited-notification": " ",
|
|
"dnd-inhibited-none": " "
|
|
},
|
|
"return-type": "json",
|
|
"exec-if": "which swaync-client",
|
|
"exec": "swaync-client -swb",
|
|
"on-click": "swaync-client -t -sw",
|
|
"on-click-right": "swaync-client -d -sw",
|
|
"escape": true
|
|
},
|
|
|
|
"custom/updates": {
|
|
"format": " {}",
|
|
"tooltip-format": "{}",
|
|
"escape": true,
|
|
"return-type": "json",
|
|
"restart-interval": 60,
|
|
"tooltip": false
|
|
},
|
|
|
|
}
|