diff --git a/.config/waybar/bars/bar-1.jsonc b/.config/waybar/bars/bar-1.jsonc
new file mode 100644
index 00000000..62c5968a
--- /dev/null
+++ b/.config/waybar/bars/bar-1.jsonc
@@ -0,0 +1,30 @@
+{
+ "include": [
+ "~/.config/waybar/modules/custom-cava.jsonc",
+ "~/.config/waybar/modules/custom-wf-recorder.jsonc",
+ "~/.config/waybar/modules/custom-updates.jsonc",
+ "~/.config/waybar/modules/custom-music.jsonc",
+ "~/.config/waybar/modules/custom-logo.jsonc",
+ "~/.config/waybar/modules/custom-notifications.jsonc",
+ "~/.config/waybar/modules/custom-weather.jsonc",
+ "~/.config/waybar/modules/hyprland-language.jsonc",
+ "~/.config/waybar/modules/hyprland-workspaces.jsonc",
+ "~/.config/waybar/modules/clock-1.jsonc",
+ "~/.config/waybar/modules/pulseaudio.jsonc",
+ ],
+ "modules-left": [
+ "custom/arch",
+ "hyprland/workspaces",
+ "custom/cava",
+ "custom/wf-recorder",
+ ],
+ "modules-center": ["custom/music"],
+ "modules-right": [
+ "custom/updates",
+ "hyprland/language",
+ "custom/weather",
+ "clock#cl1",
+ "pulseaudio",
+ "custom/notifications",
+ ],
+}
diff --git a/.config/waybar/bars/bar-2.jsonc b/.config/waybar/bars/bar-2.jsonc
new file mode 100644
index 00000000..43762707
--- /dev/null
+++ b/.config/waybar/bars/bar-2.jsonc
@@ -0,0 +1,23 @@
+{
+ "include": [
+ "~/.config/waybar/modules/cpu.jsonc",
+ "~/.config/waybar/modules/memory.jsonc",
+ "~/.config/waybar/modules/custom-gpu-usage.jsonc",
+ "~/.config/waybar/modules/temperature-gpu.jsonc",
+ "~/.config/waybar/modules/temperature-cpu.jsonc",
+ "~/.config/waybar/modules/custom-logo.jsonc",
+ "~/.config/waybar/modules/custom-notifications.jsonc",
+ "~/.config/waybar/modules/hyprland-window.jsonc",
+ "~/.config/waybar/modules/hyprland-workspaces.jsonc",
+ ],
+ "modules-left": ["custom/arch", "hyprland/workspaces"],
+ "modules-center": ["hyprland/window"],
+ "modules-right": [
+ "memory",
+ "cpu",
+ "temperature#cpu",
+ "custom/gpu-usage",
+ "temperature#gpu",
+ "custom/notifications",
+ ],
+}
diff --git a/.config/waybar/bars/bar-3.jsonc b/.config/waybar/bars/bar-3.jsonc
new file mode 100644
index 00000000..7ff5089d
--- /dev/null
+++ b/.config/waybar/bars/bar-3.jsonc
@@ -0,0 +1,12 @@
+{
+ "include": [
+ "~/.config/waybar/modules/clock-2.jsonc",
+ "~/.config/waybar/modules/custom-logo.jsonc",
+ "~/.config/waybar/modules/custom-notifications.jsonc",
+ "~/.config/waybar/modules/hyprland-workspaces.jsonc",
+ "~/.config/waybar/modules/tray.jsonc",
+ ],
+ "modules-left": ["custom/arch", "hyprland/workspaces"],
+ "modules-center": ["clock#cl2"],
+ "modules-right": ["tray", "custom/notifications"],
+}
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc
index 50be0375..3e035373 100644
--- a/.config/waybar/config.jsonc
+++ b/.config/waybar/config.jsonc
@@ -1,6 +1,6 @@
[
{
- "include": "~/.config/waybar/modules/top-bar.jsonc",
+ "include": "~/.config/waybar/bars/bar-1.jsonc",
"height": 50,
"layer": "top",
"output": "DP-1",
@@ -12,24 +12,9 @@
"margin-left": 17,
"margin-bottom": 0,
"margin-right": 17,
- "modules-left": [
- "custom/arch",
- "hyprland/workspaces",
- "custom/cava",
- "custom/wf-recorder",
- ],
- "modules-center": ["custom/music"],
- "modules-right": [
- "custom/updates",
- "hyprland/language",
- "custom/weather",
- "clock",
- "pulseaudio",
- "custom/notifications",
- ],
},
{
- "include": "~/.config/waybar/modules/bottom-bar.jsonc",
+ "include": "~/.config/waybar/bars/bar-2.jsonc",
"height": 50,
"position": "bottom",
"layer": "top",
@@ -41,19 +26,9 @@
"margin-left": 17,
"margin-bottom": 10,
"margin-right": 17,
- "modules-left": ["custom/arch", "hyprland/workspaces"],
- "modules-center": ["hyprland/window"],
- "modules-right": [
- "memory",
- "cpu",
- "temperature#cpu",
- "custom/gpu-usage",
- "temperature#gpu",
- "custom/notifications",
- ],
},
{
- "include": "~/.config/waybar/modules/top-bar-2.jsonc",
+ "include": "~/.config/waybar/bars/bar-3.jsonc",
"height": 50,
"layer": "top",
"output": "HDMI-A-1",
@@ -65,8 +40,5 @@
"margin-left": 17,
"margin-bottom": 0,
"margin-right": 17,
- "modules-left": ["custom/arch", "hyprland/workspaces"],
- "modules-center": ["clock#cl2"],
- "modules-right": ["tray", "custom/notifications"],
},
]
diff --git a/.config/waybar/modules/bottom-bar.jsonc b/.config/waybar/modules/bottom-bar.jsonc
deleted file mode 100644
index 7680a7bc..00000000
--- a/.config/waybar/modules/bottom-bar.jsonc
+++ /dev/null
@@ -1,99 +0,0 @@
-{
- "hyprland/window": {
- "format": "{}",
- "max-length": 80,
- "rewrite": {
- "(.*) — LibreWolf": " $1",
- "(.*) - Discord": " $1",
- "(.*) - fish": "> [$1]",
- },
- "separate-outputs": false,
- },
- "custom/arch": {
- "format": " ",
- "tooltip": false,
- "on-click": "sleep 0.1 && rofi -show drun",
- "on-click-right": "wleave",
- },
- "custom/notifications": {
- "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": "sleep 0.1 && swaync-client -t -sw",
- "on-click-right": "swaync-client -d -sw",
- "escape": true,
- },
- "hyprland/workspaces": {
- "disable-scroll": true,
- "active-only": false,
- "all-outputs": false,
- "enable-bar-scroll": true,
- "format": "{icon}",
- "format-icons": {
- "10": "",
- "11": "",
- "12": "",
- "13": "",
- "14": "🎜",
- "15": "",
- "16": "",
- "17": "",
- "18": "",
- },
- "on-scroll-up": "hyprctl dispatch workspace r-1",
- "on-scroll-down": "hyprctl dispatch workspace r+1",
- "on-click": "activate",
- "sort-by-number": true,
- },
- "cpu": {
- "on-click": "kitty --class center-float-large btop",
- "format": "CPU: {usage}%",
- "tooltip": false,
- "interval": 2,
- },
- "custom/gpu-usage": {
- "exec": "cat /sys/class/hwmon/hwmon1/device/gpu_busy_percent",
- "on-click": "kitty --class center-float-large nvtop",
- "format": "GPU: {}%",
- "return-type": "",
- "interval": 2,
- },
- "memory": {
- "format": "{}% ",
- "on-click": "kitty --class center-float-large btop",
- "tooltip": true,
- "interval": 2,
- },
- "temperature#cpu": {
- "critical-threshold": 90,
- "on-click": "kitty --class center-float-large btop",
- "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
- "format-critical": "{icon} {temperatureC}°C",
- "format": "{icon} {temperatureC}°C",
- "format-icons": ["", "", ""],
- "tooltip": true,
- "interval": 2,
- },
- "temperature#gpu": {
- "critical-threshold": 80,
- "on-click": "kitty --class center-float-large nvtop",
- "hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
- "format-critical": "{icon} {temperatureC}°C",
- "format": "{icon} {temperatureC}°C",
- "format-icons": ["", "", ""],
- "tooltip": true,
- "interval": 2,
- },
-}
diff --git a/.config/waybar/modules/clock-1.jsonc b/.config/waybar/modules/clock-1.jsonc
new file mode 100644
index 00000000..5cfcdf17
--- /dev/null
+++ b/.config/waybar/modules/clock-1.jsonc
@@ -0,0 +1,30 @@
+{
+ "clock#cl1": {
+ "tooltip-format": "{calendar}",
+ "calendar": {
+ "mode": "month",
+ "mode-mon-col": 3,
+ "weeks-pos": "right",
+ "on-scroll": 1,
+ "on-click-right": "mode",
+ "format": {
+ "months": "{}",
+ "days": "{}",
+ "weeks": "W{}",
+ "weekdays": "{}",
+ "today": "{}",
+ },
+ },
+ "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",
+ },
+}
diff --git a/.config/waybar/modules/clock-2.jsonc b/.config/waybar/modules/clock-2.jsonc
new file mode 100644
index 00000000..27a6d705
--- /dev/null
+++ b/.config/waybar/modules/clock-2.jsonc
@@ -0,0 +1,28 @@
+{
+ "clock#cl2": {
+ "tooltip-format": "{calendar}",
+ "calendar": {
+ "mode": "year",
+ "mode-mon-col": 3,
+ "weeks-pos": "right",
+ "on-scroll": 1,
+ "on-click-right": "mode",
+ "format": {
+ "months": "{}",
+ "days": "{}",
+ "weeks": "W{}",
+ "weekdays": "{}",
+ "today": "{}",
+ },
+ },
+ "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",
+ },
+}
diff --git a/.config/waybar/modules/cpu.jsonc b/.config/waybar/modules/cpu.jsonc
new file mode 100644
index 00000000..4b652349
--- /dev/null
+++ b/.config/waybar/modules/cpu.jsonc
@@ -0,0 +1,8 @@
+{
+ "cpu": {
+ "on-click": "kitty --class center-float-large btop",
+ "format": "CPU: {usage}%",
+ "tooltip": false,
+ "interval": 2,
+ },
+}
diff --git a/.config/waybar/modules/custom-cava.jsonc b/.config/waybar/modules/custom-cava.jsonc
new file mode 100644
index 00000000..2bb1f263
--- /dev/null
+++ b/.config/waybar/modules/custom-cava.jsonc
@@ -0,0 +1,19 @@
+{
+ "custom/cava": {
+ "exec": "~/.config/waybar/scripts/cava.sh",
+ "format": "{}",
+ "format-icons": [
+ "▁",
+ "▂",
+ "▃",
+ "▄",
+ "▅",
+ "▆",
+ "▇",
+ "█",
+ ],
+ "on-click": "pypr toggle cava",
+ "on-click-right": "qpwgraph",
+ "on-click-middle": "easyeffects",
+ },
+}
diff --git a/.config/waybar/modules/custom-gpu-usage.jsonc b/.config/waybar/modules/custom-gpu-usage.jsonc
new file mode 100644
index 00000000..19eac8bd
--- /dev/null
+++ b/.config/waybar/modules/custom-gpu-usage.jsonc
@@ -0,0 +1,9 @@
+{
+ "custom/gpu-usage": {
+ "exec": "cat /sys/class/hwmon/hwmon1/device/gpu_busy_percent",
+ "on-click": "kitty --class center-float-large nvtop",
+ "format": "GPU: {}%",
+ "return-type": "",
+ "interval": 2,
+ },
+}
diff --git a/.config/waybar/modules/custom-logo.jsonc b/.config/waybar/modules/custom-logo.jsonc
new file mode 100644
index 00000000..37b6f2e5
--- /dev/null
+++ b/.config/waybar/modules/custom-logo.jsonc
@@ -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",
+ },
+}
diff --git a/.config/waybar/modules/custom-music.jsonc b/.config/waybar/modules/custom-music.jsonc
new file mode 100644
index 00000000..fde43b7d
--- /dev/null
+++ b/.config/waybar/modules/custom-music.jsonc
@@ -0,0 +1,16 @@
+{
+ "custom/music": {
+ "format": "{icon} {}",
+ "return-type": "json",
+ "max-length": 100,
+ "format-icons": {
+ "spotify": " ",
+ "default": " ",
+ },
+ "escape": true,
+ "exec": "$HOME/.config/waybar/scripts/mediaplayer.py 2> /dev/null",
+ "on-click": "playerctl --player=spotify play-pause",
+ "on-scroll-up": "playerctl --player=spotify next",
+ "on-scroll-down": "playerctl --player=spotify previous",
+ },
+}
diff --git a/.config/waybar/modules/custom-notifications.jsonc b/.config/waybar/modules/custom-notifications.jsonc
new file mode 100644
index 00000000..06486a5d
--- /dev/null
+++ b/.config/waybar/modules/custom-notifications.jsonc
@@ -0,0 +1,22 @@
+{
+ "custom/notifications": {
+ "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": "sleep 0.1 && swaync-client -t -sw",
+ "on-click-right": "swaync-client -d -sw",
+ "escape": true,
+ },
+}
diff --git a/.config/waybar/modules/custom-updates.jsonc b/.config/waybar/modules/custom-updates.jsonc
new file mode 100644
index 00000000..6e99ac37
--- /dev/null
+++ b/.config/waybar/modules/custom-updates.jsonc
@@ -0,0 +1,14 @@
+{
+ "custom/updates": {
+ "format": "{} {icon}",
+ "return-type": "json",
+ "format-icons": {
+ "has-updates": "",
+ "updated": "",
+ },
+ "exec-if": "which waybar-module-pacman-updates",
+ "exec": "waybar-module-pacman-updates",
+ "on-click": "pypr toggle topgrade-system",
+ "on-click-right": "pypr toggle topgrade-all",
+ },
+}
diff --git a/.config/waybar/modules/custom-weather.jsonc b/.config/waybar/modules/custom-weather.jsonc
new file mode 100644
index 00000000..0fe96874
--- /dev/null
+++ b/.config/waybar/modules/custom-weather.jsonc
@@ -0,0 +1,12 @@
+{
+ "custom/weather": {
+ "exec": "wttrbar --location Alicante",
+ "restart-interval": 300,
+ "tooltip": true,
+ "format": "{}°",
+ "return-type": "json",
+ "on-click": "kitty --hold --class center-float wttr Alicante",
+ "on-click-right": "kitty --hold --class center-float wttr -v2 Alicante",
+ "on-click-middle": "xdg-open https://wttr.in/alicante",
+ },
+}
diff --git a/.config/waybar/modules/custom-wf-recorder.jsonc b/.config/waybar/modules/custom-wf-recorder.jsonc
new file mode 100644
index 00000000..b0061837
--- /dev/null
+++ b/.config/waybar/modules/custom-wf-recorder.jsonc
@@ -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,
+ },
+}
diff --git a/.config/waybar/modules/hyprland-language.jsonc b/.config/waybar/modules/hyprland-language.jsonc
new file mode 100644
index 00000000..900392f1
--- /dev/null
+++ b/.config/waybar/modules/hyprland-language.jsonc
@@ -0,0 +1,8 @@
+{
+ "hyprland/language": {
+ "format": "{}",
+ "format-en": " US",
+ "format-es": " ES",
+ "on-click": "hyprctl switchxkblayout evision-usb-device next",
+ },
+}
diff --git a/.config/waybar/modules/hyprland-window.jsonc b/.config/waybar/modules/hyprland-window.jsonc
new file mode 100644
index 00000000..cfa8ee82
--- /dev/null
+++ b/.config/waybar/modules/hyprland-window.jsonc
@@ -0,0 +1,15 @@
+{
+ "hyprland/window": {
+ "format": "{}",
+ "max-length": 80,
+ "rewrite": {
+ "(.*) — LibreWolf": " $1",
+ "(.*) — Abaze Floorp": " $1",
+ "(.*) — Mozilla Firefox": " $1",
+ "(.*) — Brave": " $1",
+ "(.*) - Discord": " $1",
+ "(.*) - fish": "> [$1]",
+ },
+ "separate-outputs": false,
+ },
+}
diff --git a/.config/waybar/modules/hyprland-workspaces.jsonc b/.config/waybar/modules/hyprland-workspaces.jsonc
new file mode 100644
index 00000000..3a62dbab
--- /dev/null
+++ b/.config/waybar/modules/hyprland-workspaces.jsonc
@@ -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,
+ },
+}
diff --git a/.config/waybar/modules/memory.jsonc b/.config/waybar/modules/memory.jsonc
new file mode 100644
index 00000000..31a2e6e1
--- /dev/null
+++ b/.config/waybar/modules/memory.jsonc
@@ -0,0 +1,8 @@
+{
+ "memory": {
+ "format": "{}% ",
+ "on-click": "kitty --class center-float-large btop",
+ "tooltip": true,
+ "interval": 2,
+ },
+}
diff --git a/.config/waybar/modules/pulseaudio.jsonc b/.config/waybar/modules/pulseaudio.jsonc
new file mode 100644
index 00000000..8f6dbcbf
--- /dev/null
+++ b/.config/waybar/modules/pulseaudio.jsonc
@@ -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",
+ },
+}
diff --git a/.config/waybar/modules/temperature-cpu.jsonc b/.config/waybar/modules/temperature-cpu.jsonc
new file mode 100644
index 00000000..14860986
--- /dev/null
+++ b/.config/waybar/modules/temperature-cpu.jsonc
@@ -0,0 +1,12 @@
+{
+ "temperature#cpu": {
+ "critical-threshold": 90,
+ "on-click": "kitty --class center-float-large btop",
+ "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
+ "format-critical": "{icon} {temperatureC}°C",
+ "format": "{icon} {temperatureC}°C",
+ "format-icons": ["", "", ""],
+ "tooltip": true,
+ "interval": 2,
+ },
+}
diff --git a/.config/waybar/modules/temperature-gpu.jsonc b/.config/waybar/modules/temperature-gpu.jsonc
new file mode 100644
index 00000000..20cab760
--- /dev/null
+++ b/.config/waybar/modules/temperature-gpu.jsonc
@@ -0,0 +1,12 @@
+{
+ "temperature#gpu": {
+ "critical-threshold": 80,
+ "on-click": "kitty --class center-float-large nvtop",
+ "hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
+ "format-critical": "{icon} {temperatureC}°C",
+ "format": "{icon} {temperatureC}°C",
+ "format-icons": ["", "", ""],
+ "tooltip": true,
+ "interval": 2,
+ },
+}
diff --git a/.config/waybar/modules/top-bar-2.jsonc b/.config/waybar/modules/top-bar-2.jsonc
deleted file mode 100644
index 69c9be66..00000000
--- a/.config/waybar/modules/top-bar-2.jsonc
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "custom/arch": {
- "format": " ",
- "tooltip": false,
- "on-click": "sleep 0.1 && rofi -show drun",
- "on-click-right": "wleave",
- },
- "custom/notifications": {
- "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": "sleep 0.1 && swaync-client -t -sw",
- "on-click-right": "swaync-client -d -sw",
- "escape": true,
- },
- "hyprland/workspaces": {
- "disable-scroll": true,
- "all-outputs": false,
- "enable-bar-scroll": true,
- "format": "{icon}",
- "format-icons": {
- "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,
- },
- "tray": {
- "spacing": 10,
- },
- "clock#cl2": {
- "tooltip-format": "{calendar}",
- "calendar": {
- "mode": "year",
- "mode-mon-col": 3,
- "weeks-pos": "right",
- "on-scroll": 1,
- "on-click-right": "mode",
- "format": {
- "months": "{}",
- "days": "{}",
- "weeks": "W{}",
- "weekdays": "{}",
- "today": "{}",
- },
- },
- "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",
- },
-}
diff --git a/.config/waybar/modules/top-bar.jsonc b/.config/waybar/modules/top-bar.jsonc
deleted file mode 100644
index 1a895319..00000000
--- a/.config/waybar/modules/top-bar.jsonc
+++ /dev/null
@@ -1,183 +0,0 @@
-{
- "custom/cava": {
- "exec": "~/.config/waybar/scripts/cava.sh",
- "format": "{}",
- "on-click": "pypr toggle cava",
- "on-click-right": "qpwgraph",
- "on-click-middle": "easyeffects",
- },
- "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,
- },
- "custom/updates": {
- "format": "{} {icon}",
- "return-type": "json",
- "format-icons": {
- "has-updates": "",
- "updated": "",
- },
- "exec-if": "which waybar-module-pacman-updates",
- "exec": "waybar-module-pacman-updates",
- "on-click": "pypr toggle topgrade-system",
- "on-click-right": "pypr toggle topgrade-all",
- },
- "custom/arch": {
- "format": " ",
- "tooltip": false,
- "on-click": "sleep 0.1 && rofi -show drun",
- "on-click-right": "wleave",
- },
- "custom/weather": {
- "exec": "wttrbar --location Alicante",
- "restart-interval": 300,
- "tooltip": true,
- "format": "{}°",
- "return-type": "json",
- "on-click": "kitty --hold --class center-float wttr Alicante",
- "on-click-right": "kitty --hold --class center-float wttr -v2 Alicante",
- "on-click-middle": "xdg-open https://wttr.in/alicante",
- },
- "custom/notifications": {
- "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": "sleep 0.1 && swaync-client -t -sw",
- "on-click-right": "swaync-client -d -sw",
- "escape": true,
- },
- "hyprland/workspaces": {
- "disable-scroll": true,
- "all-outputs": false,
- "enable-bar-scroll": true,
- "format": "{icon}",
- "format-icons": {
- "1": "",
- "2": "",
- "3": "",
- "4": "",
- "5": "🎜",
- "6": "",
- "7": "",
- "8": "",
- "9": "",
- },
- "on-scroll-up": "hyprctl dispatch workspace r-1",
- "on-scroll-down": "hyprctl dispatch workspace r+1",
- "on-click": "activate",
- "sort-by-number": true,
- },
- "hyprland/language": {
- "format": "{}",
- "format-en": " US",
- "format-es": " ES",
- "on-click": "hyprctl switchxkblayout evision-usb-device next",
- },
- "clock": {
- "tooltip-format": "{calendar}",
- "calendar": {
- "mode": "month",
- "mode-mon-col": 3,
- "weeks-pos": "right",
- "on-scroll": 1,
- "on-click-right": "mode",
- "format": {
- "months": "{}",
- "days": "{}",
- "weeks": "W{}",
- "weekdays": "{}",
- "today": "{}",
- },
- },
- "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",
- },
- "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",
- },
- "cava": {
- "autosens": 1,
- "bar_delimiter": 0,
- "bars": 18,
- "format-icons": [
- "▁",
- "▂",
- "▃",
- "▄",
- "▅",
- "▆",
- "▇",
- "█",
- ],
- "framerate": 75,
- "higher_cutoff_freq": 10000,
- "input_delay": 5,
- "lower_cutoff_freq": 50,
- "method": "pipewire",
- "monstercat": false,
- "reverse": false,
- "source": "auto",
- "stereo": true,
- "waves": false,
- },
- "custom/music": {
- "format": "{icon} {}",
- "return-type": "json",
- "max-length": 100,
- "format-icons": {
- "spotify": " ",
- "default": " ",
- },
- "escape": true,
- "exec": "$HOME/.config/waybar/scripts/mediaplayer.py 2> /dev/null",
- "on-click": "playerctl --player=spotify play-pause",
- "on-scroll-up": "playerctl --player=spotify next",
- "on-scroll-down": "playerctl --player=spotify previous",
- },
-}
diff --git a/.config/waybar/modules/tray.jsonc b/.config/waybar/modules/tray.jsonc
new file mode 100644
index 00000000..28c799e2
--- /dev/null
+++ b/.config/waybar/modules/tray.jsonc
@@ -0,0 +1,5 @@
+{
+ "tray": {
+ "spacing": 10,
+ },
+}