init
This commit is contained in:
9
waybar/modules/backlight.jsonc
Normal file
9
waybar/modules/backlight.jsonc
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"format": "{percent}% {icon}",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", ""],
|
||||
"on-scroll-up": "swayosd-client --brightness +10",
|
||||
"on-scroll-down": "swayosd-client --brightness -10",
|
||||
},
|
||||
}
|
||||
15
waybar/modules/battery.jsonc
Normal file
15
waybar/modules/battery.jsonc
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"battery": {
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
||||
"interval": 5,
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 10,
|
||||
},
|
||||
"tooltip": false,
|
||||
},
|
||||
}
|
||||
14
waybar/modules/bluetooth.jsonc
Normal file
14
waybar/modules/bluetooth.jsonc
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-disabled": "",
|
||||
"format-connected": " {num_connections}",
|
||||
"format-connected-battery": "{icon} {num_connections}",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
||||
"tooltip-format": "{controller_alias}\n{num_connections} connected",
|
||||
"tooltip-format-connected": "{controller_alias}\n{num_connections} connected\n\n{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias}",
|
||||
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{icon} {device_battery_percentage}%",
|
||||
"on-click": "pypr toggle bluetooth",
|
||||
},
|
||||
}
|
||||
30
waybar/modules/clock-1.jsonc
Normal file
30
waybar/modules/clock-1.jsonc
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"clock#cl1": {
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
"calendar": {
|
||||
"mode": "month",
|
||||
"mode-mon-col": 3,
|
||||
"weeks-pos": "right",
|
||||
"on-scroll": 1,
|
||||
"on-click-right": "mode",
|
||||
"format": {
|
||||
"months": "<span color='#eed49f'><b>{}</b></span>",
|
||||
"days": "<span color='#cad3f5'><b>{}</b></span>",
|
||||
"weeks": "<span color='#8aadf4'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#8bd5ca'><b>{}</b></span>",
|
||||
"today": "<span color='#ed8796'><b><u>{}</u></b></span>",
|
||||
},
|
||||
},
|
||||
"interval": 1,
|
||||
"format": "{:%H:%M:%OS} ",
|
||||
"format-alt": "{:%A, %B %d, %Y} ",
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-click-forward": "tz_up",
|
||||
"on-click-backward": "tz_down",
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down",
|
||||
},
|
||||
"on-click-middle": "thunderbird -calendar && hyprctl dispatch workspace 23",
|
||||
},
|
||||
}
|
||||
28
waybar/modules/clock-2.jsonc
Normal file
28
waybar/modules/clock-2.jsonc
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"clock#cl2": {
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
"calendar": {
|
||||
"mode": "year",
|
||||
"mode-mon-col": 3,
|
||||
"weeks-pos": "right",
|
||||
"on-scroll": 1,
|
||||
"on-click-right": "mode",
|
||||
"format": {
|
||||
"months": "<span color='#eed49f'><b>{}</b></span>",
|
||||
"days": "<span color='#cad3f5'><b>{}</b></span>",
|
||||
"weeks": "<span color='#8aadf4'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#8bd5ca'><b>{}</b></span>",
|
||||
"today": "<span color='#ed8796'><b><u>{}</u></b></span>",
|
||||
},
|
||||
},
|
||||
"format": "{:%H:%M - %A, %B %d, %Y }",
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-click-forward": "tz_up",
|
||||
"on-click-backward": "tz_down",
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down",
|
||||
},
|
||||
"on-click-middle": "thunderbird -calendar && hyprctl dispatch workspace 23",
|
||||
},
|
||||
}
|
||||
8
waybar/modules/cpu.jsonc
Normal file
8
waybar/modules/cpu.jsonc
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"cpu": {
|
||||
"on-click": "pypr toggle btop",
|
||||
"format": "CPU: {usage}%",
|
||||
"tooltip": false,
|
||||
"interval": 2,
|
||||
},
|
||||
}
|
||||
19
waybar/modules/custom-cava.jsonc
Normal file
19
waybar/modules/custom-cava.jsonc
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"custom/cava": {
|
||||
"exec": "~/.config/waybar/scripts/cava.sh",
|
||||
"format": "{}",
|
||||
"format-icons": [
|
||||
"<span foreground='#cba6f7'>▁</span>",
|
||||
"<span foreground='#cba6f7'>▂</span>",
|
||||
"<span foreground='#cba6f7'>▃</span>",
|
||||
"<span foreground='#cba6f7'>▄</span>",
|
||||
"<span foreground='#89b4fa'>▅</span>",
|
||||
"<span foreground='#89b4fa'>▆</span>",
|
||||
"<span foreground='#89b4fa'>▇</span>",
|
||||
"<span foreground='#89b4fa'>█</span>",
|
||||
],
|
||||
"on-click": "kitty --class center-float-mini cava",
|
||||
"on-click-right": "qpwgraph",
|
||||
"on-click-middle": "easyeffects",
|
||||
},
|
||||
}
|
||||
9
waybar/modules/custom-gpu-usage.jsonc
Normal file
9
waybar/modules/custom-gpu-usage.jsonc
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"custom/gpu-usage": {
|
||||
"exec": "cat /sys/class/hwmon/hwmon4/device/gpu_busy_percent",
|
||||
"on-click": "pypr toggle nvtop",
|
||||
"format": "GPU: {}%",
|
||||
"return-type": "",
|
||||
"interval": 2,
|
||||
},
|
||||
}
|
||||
8
waybar/modules/custom-logo.jsonc
Normal file
8
waybar/modules/custom-logo.jsonc
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"custom/arch": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "sleep 0.1 && rofi -show drun",
|
||||
"on-click-right": "~/.config/rofi/scripts/powermenu/powermenu",
|
||||
},
|
||||
}
|
||||
13
waybar/modules/custom-music.jsonc
Normal file
13
waybar/modules/custom-music.jsonc
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"custom/music": {
|
||||
"format": "{0}",
|
||||
"return-type": "json",
|
||||
"max-length": 100,
|
||||
"escape": true,
|
||||
"tooltip": true,
|
||||
"exec": "~/.config/waybar/scripts/mediaplayer.py --player spotify",
|
||||
"on-click": "playerctl play-pause",
|
||||
"on-scroll-up": "playerctl next",
|
||||
"on-scroll-down": "playerctl previous",
|
||||
},
|
||||
}
|
||||
22
waybar/modules/custom-notifications.jsonc
Normal file
22
waybar/modules/custom-notifications.jsonc
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"custom/notifications": {
|
||||
"tooltip": false,
|
||||
"format": "{} {icon}",
|
||||
"format-icons": {
|
||||
"notification": "<span foreground='red'><sup></sup></span>",
|
||||
"none": "",
|
||||
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-none": "",
|
||||
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"inhibited-none": "",
|
||||
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-inhibited-none": "",
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "sleep 0.1 && swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true,
|
||||
},
|
||||
}
|
||||
15
waybar/modules/custom-updates.jsonc
Normal file
15
waybar/modules/custom-updates.jsonc
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"custom/updates": {
|
||||
"format": "{} {icon}",
|
||||
"return-type": "json",
|
||||
"tooltip": true,
|
||||
"format-icons": {
|
||||
"pending-updates": " ",
|
||||
"updated": " ",
|
||||
},
|
||||
"exec-if": "which waybar-updates",
|
||||
"exec": "waybar-updates",
|
||||
"on-click": "pypr toggle topgrade-system",
|
||||
"on-click-right": "pypr toggle topgrade-all",
|
||||
},
|
||||
}
|
||||
13
waybar/modules/custom-weather.jsonc
Normal file
13
waybar/modules/custom-weather.jsonc
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"custom/weather": {
|
||||
"exec-if": "which wttrbar",
|
||||
"exec": "wttrbar --location Alicante",
|
||||
"restart-interval": 300,
|
||||
"tooltip": true,
|
||||
"format": "{}°",
|
||||
"return-type": "json",
|
||||
"on-click": "kitty --hold --class center-float fish -c 'wttr Alicante'",
|
||||
"on-click-right": "kitty --hold --class center-float fish -c 'wttr -v2 Alicante'",
|
||||
"on-click-middle": "xdg-open https://wttr.in/alicante",
|
||||
},
|
||||
}
|
||||
11
waybar/modules/custom-wf-recorder.jsonc
Normal file
11
waybar/modules/custom-wf-recorder.jsonc
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"custom/wf-recorder": {
|
||||
"format": "{}",
|
||||
"interval": "once",
|
||||
"exec": "echo ''",
|
||||
"tooltip": "false",
|
||||
"exec-if": "pgrep 'wf-recorder'",
|
||||
"on-click": "exec $HOME/.config/hypr/scripts/rofi/recording",
|
||||
"signal": 8,
|
||||
},
|
||||
}
|
||||
12
waybar/modules/docker.jsonc
Normal file
12
waybar/modules/docker.jsonc
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"custom/docker": {
|
||||
//"exec-if": "which wg",
|
||||
"exec": "/home/timo/.config/waybar/scripts/get_docker_status.sh",
|
||||
"return-type": "json",
|
||||
"format": " {}",
|
||||
"interval": 5,
|
||||
"tooltip": "true",
|
||||
//"on-click": "pypr toggle network",
|
||||
//"on-click-right": "pypr toggle wifi",
|
||||
},
|
||||
}
|
||||
8
waybar/modules/hyprland-language.jsonc
Normal file
8
waybar/modules/hyprland-language.jsonc
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"hyprland/language": {
|
||||
"format": "{}",
|
||||
"format-en": " US",
|
||||
"format-es": " ES",
|
||||
"on-click": "hyprctl switchxkblayout evision-usb-device next",
|
||||
},
|
||||
}
|
||||
14
waybar/modules/hyprland-window.jsonc
Normal file
14
waybar/modules/hyprland-window.jsonc
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
"max-length": 80,
|
||||
"rewrite": {
|
||||
"(.*) — Mozilla Firefox": "$1 ",
|
||||
"(.*) — Ablaze Floorp": "$1 ",
|
||||
"(.*)VSCodium": "Codium ",
|
||||
"(.*)Spotify": "Spotify ",
|
||||
"(.*)Steam": "Steam ",
|
||||
},
|
||||
"separate-outputs": false,
|
||||
},
|
||||
}
|
||||
42
waybar/modules/hyprland-workspaces.jsonc
Normal file
42
waybar/modules/hyprland-workspaces.jsonc
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"active-only": false,
|
||||
"all-outputs": false,
|
||||
"enable-bar-scroll": true,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "🎜",
|
||||
"6": "",
|
||||
"7": "",
|
||||
"8": "",
|
||||
"9": "",
|
||||
"10": "",
|
||||
"11": "",
|
||||
"12": "",
|
||||
"13": "",
|
||||
"14": "🎜",
|
||||
"15": "",
|
||||
"16": "",
|
||||
"17": "",
|
||||
"18": "",
|
||||
"19": "",
|
||||
"20": "",
|
||||
"21": "✉",
|
||||
"22": "🖵",
|
||||
"23": "",
|
||||
"24": "",
|
||||
"25": "",
|
||||
"26": "",
|
||||
"27": "",
|
||||
},
|
||||
"on-scroll-up": "hyprctl dispatch workspace r-1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace r+1",
|
||||
"on-click": "activate",
|
||||
"sort-by-number": true,
|
||||
},
|
||||
}
|
||||
8
waybar/modules/memory.jsonc
Normal file
8
waybar/modules/memory.jsonc
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"memory": {
|
||||
"format": "{}% ",
|
||||
"on-click": "pypr toggle btop",
|
||||
"tooltip": true,
|
||||
"interval": 2,
|
||||
},
|
||||
}
|
||||
14
waybar/modules/network.jsonc
Normal file
14
waybar/modules/network.jsonc
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"network": {
|
||||
"format-wifi": " {essid}",
|
||||
"format-ethernet": " {ifname}",
|
||||
"tooltip-format-wifi": "Network: <b>{essid}</b>\nSignal strength: <b>{signaldBm}dBm ({signalStrength}%)</b>\nFrequency: <b>{frequency}MHz</b>\nInterface: <b>{ifname}</b>\nIP: <b>{ipaddr}/{cidr}</b>\nGateway: <b>{gwaddr}</b>\nNetmask: <b>{netmask}</b>\n<span foreground='#eed49f'> {bandwidthDownBytes}</span> <span foreground='#b7bdf8'> {bandwidthUpBytes}</span>",
|
||||
"tooltip-format-ethernet": "Network: <b>{essid}</b>\nInterface: <b>{ifname}</b>\nIP: <b>{ipaddr}/{cidr}</b>\nGateway: <b>{gwaddr}</b>\nNetmask: <b>{netmask}</b>\n<span foreground='#eed49f'> {bandwidthDownBytes}</span> <span foreground='#b7bdf8'> {bandwidthUpBytes}</span>",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": " ",
|
||||
"tooltip": true,
|
||||
"interval": 2,
|
||||
//"on-click": "pypr toggle network",
|
||||
//"on-click-right": "pypr toggle wifi",
|
||||
},
|
||||
}
|
||||
25
waybar/modules/pulseaudio.jsonc
Normal file
25
waybar/modules/pulseaudio.jsonc
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}% {format_source}",
|
||||
"format-bluetooth": "{icon} {volume}% {format_source}",
|
||||
"format-bluetooth-muted": " {volume}% {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-source": " ",
|
||||
"format-source-muted": " ",
|
||||
"format-icons": {
|
||||
"headphone": " ",
|
||||
"hands-free": " ",
|
||||
"headset": " ",
|
||||
"phone": " ",
|
||||
"portable": " ",
|
||||
"car": " ",
|
||||
"default": [" ", " ", " "],
|
||||
},
|
||||
"tooltip-format": "{desc}, {volume}%",
|
||||
"on-click": "swayosd-client --output-volume mute-toggle",
|
||||
"on-click-right": "swayosd-client --input-volume mute-toggle",
|
||||
"on-click-middle": "pypr toggle volume",
|
||||
"on-scroll-up": "swayosd-client --output-volume +1",
|
||||
"on-scroll-down": "swayosd-client --output-volume -1",
|
||||
},
|
||||
}
|
||||
12
waybar/modules/temperature-cpu.jsonc
Normal file
12
waybar/modules/temperature-cpu.jsonc
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"temperature#cpu": {
|
||||
"critical-threshold": 90,
|
||||
"on-click": "pypr toggle btop",
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||
"format-critical": "{icon} {temperatureC}°C",
|
||||
"format": "{icon} {temperatureC}°C",
|
||||
"format-icons": ["", "", ""],
|
||||
"tooltip": true,
|
||||
"interval": 2,
|
||||
},
|
||||
}
|
||||
12
waybar/modules/temperature-gpu.jsonc
Normal file
12
waybar/modules/temperature-gpu.jsonc
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"temperature#gpu": {
|
||||
"critical-threshold": 80,
|
||||
"on-click": "pypr toggle nvtop",
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input",
|
||||
"format-critical": "{icon} {temperatureC}°C",
|
||||
"format": "{icon} {temperatureC}°C",
|
||||
"format-icons": ["", "", ""],
|
||||
"tooltip": true,
|
||||
"interval": 2,
|
||||
},
|
||||
}
|
||||
5
waybar/modules/tray.jsonc
Normal file
5
waybar/modules/tray.jsonc
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"tray": {
|
||||
"spacing": 10,
|
||||
},
|
||||
}
|
||||
12
waybar/modules/wireguard.jsonc
Normal file
12
waybar/modules/wireguard.jsonc
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"custom/wireguard": {
|
||||
//"exec-if": "which wg",
|
||||
"exec": "/home/timo/.config/waybar/scripts/get_wg_status.sh",
|
||||
"return-type": "json",
|
||||
"format": " {}",
|
||||
"interval": 5,
|
||||
"tooltip": "true",
|
||||
//"on-click": "pypr toggle network",
|
||||
//"on-click-right": "pypr toggle wifi",
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user