diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index e5f777ba..25c38b01 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -95,28 +95,7 @@ "7": "", "8": "", "9": "", - "10": "", - "11": "", - "12": "", - "13": "🖵", - "14": "", - "15": "", - "16": "🎜", - "17": "", - "18": "", - "19": "", - "20": "", - "21": "", - "22": "󰍨", - "23": "✉", - "24": "🖵", - "25": "", - "26": "", - "27": "", - "28": "", - "29": "", - "30": "󰈙", - "default": "󰈙" + "10": "" }, "on-scroll-up": "hyprctl dispatch workspace r-1", "on-scroll-down": "hyprctl dispatch workspace r+1", @@ -222,116 +201,6 @@ "on-scroll-down": "playerctl --player=spotify previous" } }, - { - "height": 50, - "layer": "top", - "output": "HDMI-A-1", - "margin-top": 10, - "margin-left": 17, - "margin-bottom": 0, - "margin-right": 17, - "modules-left": ["custom/arch", "hyprland/workspaces"], - "modules-center": ["clock#cl2"], - "modules-right": ["tray", "custom/notifications"], - "custom/arch": { - "format": "  ", - "tooltip": false, - "on-click": "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": "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": "", - "10": "", - "11": "", - "12": "", - "13": "🖵", - "14": "", - "15": "", - "16": "🎜", - "17": "", - "18": "", - "19": "", - "20": "", - "21": "", - "22": "󰍨", - "23": "✉", - "24": "🖵", - "25": "", - "26": "", - "27": "", - "28": "", - "29": "", - "30": "", - "default": "󰈙" - }, - "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" - } - }, { "height": 50, "position": "bottom", @@ -345,9 +214,9 @@ "modules-right": [ "memory", "cpu", - "temperature", + "temperature#cpu", "custom/gpu-usage", - "custom/gpu-temp", + "temperature#gpu", "custom/notifications" ], "hyprland/window": { @@ -393,16 +262,6 @@ "enable-bar-scroll": true, "format": "{icon}", "format-icons": { - "1": "", - "2": "", - "3": "🖵", - "4": "", - "5": "", - "6": "🎜", - "7": "", - "8": "", - "9": "", - "10": "", "11": "", "12": "", "13": "🖵", @@ -412,18 +271,7 @@ "17": "", "18": "", "19": "", - "20": "", - "21": "", - "22": "󰍨", - "23": "✉", - "24": "🖵", - "25": "", - "26": "", - "27": "", - "28": "", - "29": "", - "30": "", - "default": "󰈙" + "20": "" }, "on-scroll-up": "hyprctl dispatch workspace r-1", "on-scroll-down": "hyprctl dispatch workspace r+1", @@ -449,8 +297,8 @@ "tooltip": true, "interval": 2 }, - "temperature": { - "critical-threshold": 80, + "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", @@ -459,12 +307,104 @@ "tooltip": true, "interval": 2 }, - "custom/gpu-temp": { - "exec": "cat /sys/class/hwmon/hwmon1/temp1_input | cut -b 1-2", + "temperature#gpu": { + "critical-threshold": 80, "on-click": "kitty --class center-float-large nvtop", - "format": " {}°C", - "return-type": "", + "hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input", + "format-critical": "{icon} {temperatureC}°C", + "format": "{icon} {temperatureC}°C", + "format-icons": ["", "", ""], + "tooltip": true, "interval": 2 } + }, + { + "height": 50, + "layer": "top", + "output": "HDMI-A-1", + "margin-top": 10, + "margin-left": 17, + "margin-bottom": 0, + "margin-right": 17, + "modules-left": ["custom/arch", "hyprland/workspaces"], + "modules-center": ["clock#cl2"], + "modules-right": ["tray", "custom/notifications"], + "custom/arch": { + "format": "  ", + "tooltip": false, + "on-click": "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": "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": { + "21": "", + "22": "󰍨", + "23": "✉", + "24": "🖵", + "25": "", + "26": "", + "27": "", + "28": "", + "29": "", + "30": "" + }, + "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" + } } ]