diff --git a/dot_config/waybar/config.jsonc b/dot_config/waybar/config.jsonc
index c50ef52..d58e512 100644
--- a/dot_config/waybar/config.jsonc
+++ b/dot_config/waybar/config.jsonc
@@ -1,490 +1,44 @@
-{
- "output": ["DP-1", "HDMI-A-1"],
- "layer": "top",
- "position": "top",
- "height": 32,
- "modules-left": [
- "hyprland/workspaces",
- "sway/workspaces#sway",
- "niri/workspaces",
- "river/tags",
- // "custom/workspaces",
- // "river/layout",
+[
+ {
+ "output": ["DP-1", "HDMI-A-1"],
+ "layer": "top",
+ "position": "top",
+ "height": 32,
+ "include": ["~/.config/waybar/default-modules.jsonc"],
+ "modules-left": [
+ "hyprland/workspaces",
+ "sway/workspaces#sway",
+ "niri/workspaces",
+ "river/tags"
+ // "custom/workspaces",
+ // "river/layout",
- "group/visualisation"
- // "custom/media",
- // "hyprland/window",
- ],
- "modules-center": [
- "group/tray-group",
- "wlr/taskbar"
- // "mpd",
- ],
- "modules-right": [
- "group/hardware",
- "group/audio",
- "network",
- "group/rightmost"
- ],
- "group/tray-group": {
- "orientation": "horizontal",
- "modules": [
- "tray",
- "gamemode"
- // "keyboard-state",
- ]
- },
- "group/mpdris": {
- "orientation": "horizontal",
- "modules": [
- // "image#album-art",
- "mpris"
- ]
- },
- "group/visualisation": {
- "orientation": "horizontal",
- "drawer": {
- "transition-duration": 500,
- "children-class": "visualiser",
- "transition-left-to-right": true
- },
- "modules": ["cava", "group/mpdris"]
- },
- "group/audio": {
- "orientation": "horizontal",
- "drawer": {
- "transition-duration": 500,
- "children-class": "not-power",
- "transition-left-to-right": false
- },
- "modules": [
- "pulseaudio"
- // "pulseaudio/slider"
- ]
- },
- "group/hardware": {
- "orientation": "horizontal",
- "drawer": {
- "transition-duration": 500,
- "children-class": "not-power",
- "transition-left-to-right": false
- },
- "modules": ["temperature", "memory", "cpu", "temperature#amdgpu"]
- },
- "group/rightmost": {
- "orientation": "horizontal",
- "modules": [
- "custom/notification",
- "custom/updates",
- "clock"
- // "custom/logo"
- ]
- },
- "hyprland/workspaces": {
- "active-only": false,
- "disable-scroll": true,
- "all-outputs": false,
- "format": "{icon}",
- "sort-by-number": true,
- "format-icons": {
- "1": " ",
- "2": " ",
- "3": " ",
- "4": " ",
- "5": " ",
- "6": " ",
- "7": " ",
- "8": " ",
- "default": ""
- }
- // "persistent-workspaces": {
- // "*": 4,
- // "DP-1": [1, 2, 3, 4],
- // "HDMI-A-1": [5, 6, 7, 8]
- // }
- },
- "sway/workspaces#sway": {
- "current-only": false,
- "disable-scroll": true,
- "all-outputs": false,
- "format": "{name}: {icon}",
- "numeric-first": true,
- "format-icons": {
- "1": " ",
- "2": " ",
- "3": " ",
- "4": " ",
- "5": " ",
- "6": " ",
- "7": " ",
- "8": " ",
- "9": " ",
- "default": " "
- }
- // "persistent-workspaces": {
- // "1": ["DP-1"],
- // "2": ["DP-1"],
- // "3": ["DP-1"],
- // "4": ["DP-1"],
- // "5": ["DP-1"],
- // "6": ["HDMI-A-1"],
- // "7": ["HDMI-A-1"],
- // "8": ["HDMI-A-1"],
- // "9": ["HDMI-A-1"],
- // "10": ["HDMI-A-1"]
- // }
- },
- "river/tags": {
- "num-tags": 8,
- "set-tags": [
- // 00000001
- 2147483649,
-
- // 00000010
- 2147483650,
-
- // 00000100
- 2147483652,
-
- // 00001000
- 2147483656,
-
- // 00010000
- 2147483664,
-
- // 00100000
- 2147483680,
-
- // 01000000
- 2147483712,
-
- // 10000000
- 2147483776
+ // "group/visualisation"
+ // "custom/media",
+ // "hyprland/window",
],
- "tag-labels": [" ", " ", " ", " ", " ", " ", " ", " "]
- },
- "river/layout": {
- "format": "{}",
- "min-length": 4,
- "align": "right"
- },
- "custom/workspaces": {
- "exec": "$HOME/.config/waybar/modules/workspaces.nu \"$WAYBAR_OUTPUT_NAME\""
- },
- "wlr/taskbar": {
- "all-outputs": false,
- "format": "{icon}",
- "icon-size": 14,
- "icon-theme": "Papirus-Dark",
- "active-first": false,
- "tooltip-format": "{title} [{app_id}]",
- "on-click": "activate",
- "on-click-middle": "close",
- "ignore-list": [],
- "app_ids-mapping": {
- "firefoxdeveloperedition": "firefox-developer-edition"
- }
- },
- "tray": {
- "icon-size": 12,
- "spacing": 10
- },
- "custom/media": {
- "format": "{icon} {}",
- "max-length": 40,
- "escape": true,
- "exec": "$HOME/.config/waybar/modules/mpris/scroll_status.sh NOBAR",
- "on-click": "playerctl play-pause",
- "on-click-middle": "playerctl previous",
- "on-click-right": "playerctl next"
- },
- "mpd": {
- "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})",
- "format-disconnected": "Disconnected",
- "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon} Stopped",
- "interval": 10,
- "consume-icons": {
- "on": " " // Icon shows only when "consume" is on
- },
- "random-icons": {
- "off": " ", // Icon grayed out when "random" is off
- "on": " "
- },
- "repeat-icons": {
- "on": " "
- },
- "single-icons": {
- "on": "1 "
- },
- "state-icons": {
- "paused": "",
- "playing": ""
- },
- "tooltip-format": "MPD (connected)",
- "tooltip-format-disconnected": "MPD (disconnected)"
- },
- "mpris": {
- "markup": true,
- "interval": 5,
- // "format": "{player_icon} {title} - {artist}\n{album}",
- // "format-paused": "{player_icon} {title} - {artist}\n{album}",
- "format": "{player_icon} {dynamic}",
- "format-paused": "{status_icon} {dynamic}",
- "title-len": 30,
- "dynamic-len": 60,
- "player-icons": {
- "default": " ",
- "mpv": " ",
- "plasma-browser-integration": " ",
- "firefox": " ",
- "spotify": " "
- },
- "status-icons": {
- "paused": "▶"
- }
- // "ignored-players": ["firefox"]
- },
- "memory": {
- "interval": 30,
- "format": " {used:0.1f}G/{total:0.1f}G"
- },
- "cpu": {
- "interval": 1,
- "max-length": 16,
- // "format": " {}%",
- "format": "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}",
- "format-icons": [
- "▁", // green
- "▂", // blue
- "▃", // white
- "▄", // white
- "▅", // yellow
- "▆", // yellow
- "▇", // orange
- "█" // red
+ "modules-right": [
+ "group/hardware",
+ "pulseaudio",
+ "network",
+ "group/rightmost"
]
},
- "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-release": "swaync-client -t -sw",
- "on-click-middle-release": "sleep 0.150 && swaync-client -d -sw",
- "escape": true
- },
- "gamemode": {
- "format": "{glyph}",
- "format-alt": "{glyph} {count}",
- "glyph": " ",
- "hide-not-running": true,
- "use-icon": true,
- "icon-name": "input-gaming-symbolic",
- "icon-spacing": 4,
- "icon-size": 20,
- "tooltip": true,
- "tooltip-format": "Games running: {count}"
- },
- "clock": {
- // "format": "{:%a %d %b %R}",
- "format": "{:%R}",
- "format-alt": "{:L%A %d %B, %Y (%R)}",
- "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": "{}"
- }
- }
- },
- "temperature": {
- "thermal-zone": 0,
- "hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input",
- "critical-threshold": 80,
- "format-critical": "{icon}",
- "format": "{icon}",
- "tooltip-format": "CPU: {temperatureC}°C",
- "format-icons": [
- " ▁", // green
- " ▂", // blue
- " ▃", // white
- " ▄", // white
- " ▅", // yellow
- " ▆", // yellow
- " ▇", // orange
- " █" // red
- ]
- },
- "temperature#amdgpu": {
- "thermal-zone": 0,
- "hwmon-path": "/sys/class/hwmon/hwmon0/temp1_input",
- "critical-threshold": 100,
- "format-critical": "{icon}",
- "format": "{icon}",
- "tooltip-format": "GPU (edge): {temperatureC}°C",
- "format-icons": [
- " ▁", // green
- " ▂", // blue
- " ▃", // white
- " ▄", // white
- " ▅", // yellow
- " ▆", // yellow
- " ▇", // orange
- " █" // red
- ]
- },
- "network": {
- "format-wifi": " ",
- "format-ethernet": " ",
- "format-linked": "{ifname} (No IP) ",
- "format-disconnected": " Disconnected ",
- "tooltip-format-ethernet": "{ifname} | {ipaddr}/{cidr} | Down Speed: {bandwidthDownBits}, Up Speed: {bandwidthUpBits}",
- "tooltip-format-wifi": "{ifname} | {ipaddr}/{cidr} | {essid} | Signal Strenght: {signalStrength}% | Down Speed: {bandwidthDownBits}, Up Speed: {bandwidthUpBits}",
- "on-click": "networkmanager_dmenu"
- },
- "image#album-art": {
- "exec": "~/.config/waybar/modules/mpris/album_art.sh",
- "size": 20,
- "interval": 30
- },
- "custom/updates": {
- "interval": 60,
- "return-type": "string",
- "exec": "~/.config/waybar/modules/updates.sh",
- "tooltip": false,
- "on-click": "setsid -f foot -e paru -Syyu"
- },
- "custom/downloads": {
- "interval": 600,
- "return-type": "string",
- "exec": "~/.config/waybar/modules/downloads.py",
- "tooltip": false,
- "on-click": "xdg-open https://github.com/xelphlinux/xelph-iso"
- },
- "custom/logo": {
- "format": " ",
- "tooltip": false,
- "on-click-release": "rofi -show power-menu -modi power-menu:rofi-power-menu"
- },
- "wireplumber": {
- "format": "{volume}%",
- "format-muted": "",
- "on-click": "helvum",
- "max-volume": 150,
- "scroll-step": 0.2
- },
- "pulseaudio": {
- "format": "{icon}",
- "format-bluetooth": "{icon} ",
- "format-muted": " ",
- "tooltip-format": "{volume}% {format_source} {desc}",
- "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
- "on-click-middle": "helvum",
- "on-click-right": "pavucontrol",
- "scroll-step": 5,
- // "format-icons": {
- // "headphone": "",
- // "hands-free": "",
- // "headset": "",
- // "phone": "",
- // "portable": "",
- // "car": "",
- // "default": ["", "", ""]
- // },
- "format-icons": [
- " ▁", // green
- " ▂", // blue
- " ▃", // white
- " ▄", // white
- " ▅", // yellow
- " ▆", // yellow
- " ▇", // orange
- " █" // red
+ {
+ "output": ["DP-1", "HDMI-A-1"],
+ "layer": "top",
+ "position": "bottom",
+ "height": 44,
+ "include": ["~/.config/waybar/default-modules.jsonc"],
+ "modules-left": [
+ "group/visualisation"
],
- "ignored-sinks": ["Easy Effects Sink"]
- },
- "pulseaudio/slider": {
- "min": 0,
- "max": 100,
- "orientation": "horizontal"
- },
- "cava": {
- //"cava_config": "$HOME/.config/cava/config",
- "framerate": 144,
- "hide_on_silence": false,
- "autosens": 1,
- "bars": 12,
- "lower_cutoff_freq": 50,
- "higher_cutoff_freq": 10000,
- "method": "pulse",
- "source": "auto",
- "stereo": true,
- "reverse": false,
- "bar_delimiter": 0,
- "monstercat": false,
- "waves": false,
- "noise_reduction": 0.77,
- "input_delay": 2,
- "format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
- "actions": {
- // "on-click-right": "mode"
- }
- },
- "keyboard-state": {
- "numlock": false,
- "capslock": true,
- "format": {
- "numlock": "N {icon}",
- "capslock": "{icon}"
- },
- "format-icons": {
- "locked": "",
- "unlocked": ""
- }
- },
- "hyprland/window": {
- "format": "{title}",
- "separate-outputs": false
- },
- "privacy": {
- "icon-spacing": 4,
- "icon-size": 18,
- "transition-duration": 250,
- "modules": [
- {
- "type": "screenshare",
- "tooltip": true,
- "tooltip-icon-size": 24
- },
- {
- "type": "audio-out",
- "tooltip": true,
- "tooltip-icon-size": 24
- },
- {
- "type": "audio-in",
- "tooltip": true,
- "tooltip-icon-size": 24
- }
+ "modules-center": [
+ "group/tray-group",
+ "wlr/taskbar"
+ // "mpd",
+ ],
+ "modules-right": [
]
}
-}
+]
diff --git a/dot_config/waybar/default-modules.jsonc b/dot_config/waybar/default-modules.jsonc
new file mode 100644
index 0000000..b70613c
--- /dev/null
+++ b/dot_config/waybar/default-modules.jsonc
@@ -0,0 +1,447 @@
+{
+ "group/tray-group": {
+ "orientation": "horizontal",
+ "modules": [
+ "tray",
+ "gamemode"
+ // "keyboard-state",
+ ]
+ },
+ "group/mpdris": {
+ "orientation": "horizontal",
+ "modules": [
+ "mpris"
+ ]
+ },
+ "group/visualisation": {
+ "orientation": "horizontal",
+ // "drawer": {
+ // "transition-duration": 500,
+ // "children-class": "visualiser",
+ // "transition-left-to-right": true
+ // },
+ "modules": [
+ "cava",
+ "group/mpdris"
+ ]
+ },
+ "group/hardware": {
+ "orientation": "horizontal",
+ "drawer": {
+ "transition-duration": 500,
+ "children-class": "not-power",
+ "transition-left-to-right": false
+ },
+ "modules": ["temperature", "memory", "cpu", "temperature#amdgpu"]
+ },
+ "group/rightmost": {
+ "orientation": "horizontal",
+ "modules": [
+ "custom/notification",
+ "custom/updates",
+ "clock"
+ // "custom/logo"
+ ]
+ },
+ "hyprland/workspaces": {
+ "active-only": false,
+ "disable-scroll": true,
+ "all-outputs": false,
+ "format": "{icon}",
+ "sort-by-number": true,
+ "format-icons": {
+ "1": " ",
+ "2": " ",
+ "3": " ",
+ "4": " ",
+ "5": " ",
+ "6": " ",
+ "7": " ",
+ "8": " ",
+ "default": ""
+ }
+ // "persistent-workspaces": {
+ // "*": 4,
+ // "DP-1": [1, 2, 3, 4],
+ // "HDMI-A-1": [5, 6, 7, 8]
+ // }
+ },
+ "sway/workspaces#sway": {
+ "current-only": false,
+ "disable-scroll": true,
+ "all-outputs": false,
+ "format": "{name}: {icon}",
+ "numeric-first": true,
+ "format-icons": {
+ "1": " ",
+ "2": " ",
+ "3": " ",
+ "4": " ",
+ "5": " ",
+ "6": " ",
+ "7": " ",
+ "8": " ",
+ "9": " ",
+ "default": " "
+ }
+ // "persistent-workspaces": {
+ // "1": ["DP-1"],
+ // "2": ["DP-1"],
+ // "3": ["DP-1"],
+ // "4": ["DP-1"],
+ // "5": ["DP-1"],
+ // "6": ["HDMI-A-1"],
+ // "7": ["HDMI-A-1"],
+ // "8": ["HDMI-A-1"],
+ // "9": ["HDMI-A-1"],
+ // "10": ["HDMI-A-1"]
+ // }
+ },
+ "river/tags": {
+ "num-tags": 8,
+ "set-tags": [
+ // 00000001
+ 2147483649,
+
+ // 00000010
+ 2147483650,
+
+ // 00000100
+ 2147483652,
+
+ // 00001000
+ 2147483656,
+
+ // 00010000
+ 2147483664,
+
+ // 00100000
+ 2147483680,
+
+ // 01000000
+ 2147483712,
+
+ // 10000000
+ 2147483776
+ ],
+ "tag-labels": [" ", " ", " ", " ", " ", " ", " ", " "]
+ },
+ "river/layout": {
+ "format": "{}",
+ "min-length": 4,
+ "align": "right"
+ },
+ "custom/workspaces": {
+ "exec": "$HOME/.config/waybar/modules/workspaces.nu \"$WAYBAR_OUTPUT_NAME\""
+ },
+ "wlr/taskbar": {
+ "all-outputs": true,
+ "format": "{icon}",
+ "icon-size": 24,
+ "icon-theme": "Papirus-Dark",
+ "active-first": false,
+ "tooltip-format": "{title} [{app_id}]",
+ "on-click": "activate",
+ "on-click-middle": "close",
+ "ignore-list": [],
+ "app_ids-mapping": {
+ "firefoxdeveloperedition": "firefox-developer-edition"
+ }
+ },
+ "tray": {
+ "icon-size": 12,
+ "spacing": 10
+ },
+ "custom/media": {
+ "format": "{icon} {}",
+ "max-length": 40,
+ "escape": true,
+ "exec": "$HOME/.config/waybar/modules/mpris/scroll_status.sh NOBAR",
+ "on-click": "playerctl play-pause",
+ "on-click-middle": "playerctl previous",
+ "on-click-right": "playerctl next"
+ },
+ "mpd": {
+ "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})",
+ "format-disconnected": "Disconnected",
+ "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon} Stopped",
+ "interval": 10,
+ "consume-icons": {
+ "on": " " // Icon shows only when "consume" is on
+ },
+ "random-icons": {
+ "off": " ", // Icon grayed out when "random" is off
+ "on": " "
+ },
+ "repeat-icons": {
+ "on": " "
+ },
+ "single-icons": {
+ "on": "1 "
+ },
+ "state-icons": {
+ "paused": "",
+ "playing": ""
+ },
+ "tooltip-format": "MPD (connected)",
+ "tooltip-format-disconnected": "MPD (disconnected)"
+ },
+ "mpris": {
+ "markup": true,
+ "interval": 10,
+ // "format": "{player_icon} {title} - {artist}\n{album}",
+ // "format-paused": "{player_icon} {title} - {artist}\n{album}",
+ "format": "{player_icon} {title}\n{artist} {album}",
+ // "format": "{player_icon} {dynamic}",
+ // "format-paused": "{status_icon} {dynamic}",
+ "title-len": 60,
+ "dynamic-len": 60,
+ "player-icons": {
+ "default": " ",
+ "mpv": " ",
+ "plasma-browser-integration": " ",
+ "firefox": " ",
+ "spotify": " "
+ },
+ "status-icons": {
+ "paused": "▶"
+ }
+ // "ignored-players": ["firefox"]
+ },
+ "memory": {
+ "interval": 30,
+ "format": " {used:0.1f}G/{total:0.1f}G"
+ },
+ "cpu": {
+ "interval": 10,
+ "max-length": 16,
+ // "format": " {}%",
+ "format": "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}",
+ "format-icons": [
+ "▁", // green
+ "▂", // blue
+ "▃", // white
+ "▄", // white
+ "▅", // yellow
+ "▆", // yellow
+ "▇", // orange
+ "█" // red
+ ]
+ },
+ "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-release": "swaync-client -t -sw",
+ "on-click-middle-release": "sleep 0.150 && swaync-client -d -sw",
+ "escape": true
+ },
+ "gamemode": {
+ "format": "{glyph}",
+ "format-alt": "{glyph} {count}",
+ "glyph": " ",
+ "hide-not-running": true,
+ "use-icon": true,
+ "icon-name": "input-gaming-symbolic",
+ "icon-spacing": 4,
+ "icon-size": 20,
+ "tooltip": true,
+ "tooltip-format": "Games running: {count}"
+ },
+ "clock": {
+ // "format": "{:%a %d %b %R}",
+ "format": "{:%R}",
+ "format-alt": "{:L%A %d %B, %Y (%R)}",
+ "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": "{}"
+ }
+ }
+ },
+ "temperature": {
+ "thermal-zone": 0,
+ "hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input",
+ "critical-threshold": 80,
+ "format-critical": "{icon}",
+ "format": "{icon}",
+ "tooltip-format": "CPU: {temperatureC}°C",
+ "format-icons": [
+ " ▁", // green
+ " ▂", // blue
+ " ▃", // white
+ " ▄", // white
+ " ▅", // yellow
+ " ▆", // yellow
+ " ▇", // orange
+ " █" // red
+ ]
+ },
+ "temperature#amdgpu": {
+ "thermal-zone": 0,
+ "hwmon-path": "/sys/class/hwmon/hwmon0/temp1_input",
+ "critical-threshold": 100,
+ "format-critical": "{icon}",
+ "format": "{icon}",
+ "tooltip-format": "GPU (edge): {temperatureC}°C",
+ "format-icons": [
+ " ▁", // green
+ " ▂", // blue
+ " ▃", // white
+ " ▄", // white
+ " ▅", // yellow
+ " ▆", // yellow
+ " ▇", // orange
+ " █" // red
+ ]
+ },
+ "network": {
+ "format-wifi": " ",
+ "format-ethernet": " ",
+ "format-linked": "{ifname} (No IP) ",
+ "format-disconnected": " Disconnected ",
+ "tooltip-format-ethernet": "{ifname} | {ipaddr}/{cidr} | Down Speed: {bandwidthDownBits}, Up Speed: {bandwidthUpBits}",
+ "tooltip-format-wifi": "{ifname} | {ipaddr}/{cidr} | {essid} | Signal Strenght: {signalStrength}% | Down Speed: {bandwidthDownBits}, Up Speed: {bandwidthUpBits}",
+ "on-click": "networkmanager_dmenu"
+ },
+ "image#album-art": {
+ "exec": "~/.config/waybar/modules/mpris/album_art.sh",
+ "size": 45,
+ "interval": 30
+ },
+ "custom/updates": {
+ "interval": 120,
+ "return-type": "string",
+ "exec": "~/.config/waybar/modules/updates.sh",
+ "tooltip": false,
+ "on-click": "setsid -f foot -e paru -Syyu"
+ },
+ "custom/logo": {
+ "format": " ",
+ "tooltip": false,
+ "on-click-release": "rofi -show power-menu -modi power-menu:rofi-power-menu"
+ },
+ "wireplumber": {
+ "format": "{volume}%",
+ "format-muted": "",
+ "on-click": "helvum",
+ "max-volume": 150,
+ "scroll-step": 0.2
+ },
+ "pulseaudio": {
+ "format": "{icon}",
+ "format-bluetooth": "{icon} ",
+ "format-muted": " ",
+ "tooltip-format": "{volume}% {format_source} {desc}",
+ "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
+ "on-click-middle": "helvum",
+ "on-click-right": "pavucontrol",
+ "scroll-step": 5,
+ // "format-icons": {
+ // "headphone": "",
+ // "hands-free": "",
+ // "headset": "",
+ // "phone": "",
+ // "portable": "",
+ // "car": "",
+ // "default": ["", "", ""]
+ // },
+ "format-icons": [
+ " ▁", // green
+ " ▂", // blue
+ " ▃", // white
+ " ▄", // white
+ " ▅", // yellow
+ " ▆", // yellow
+ " ▇", // orange
+ " █" // red
+ ],
+ "ignored-sinks": ["Easy Effects Sink"]
+ },
+ "pulseaudio/slider": {
+ "min": 0,
+ "max": 100,
+ "orientation": "horizontal"
+ },
+ "cava": {
+ //"cava_config": "$HOME/.config/cava/config",
+ "framerate": 144,
+ "hide_on_silence": false,
+ "autosens": 1,
+ "bars": 16,
+ "lower_cutoff_freq": 50,
+ "higher_cutoff_freq": 10000,
+ "method": "pulse",
+ "source": "auto",
+ "stereo": true,
+ "reverse": false,
+ "bar_delimiter": 0,
+ "monstercat": false,
+ "waves": false,
+ "noise_reduction": 0.77,
+ "input_delay": 2,
+ "format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
+ "actions": {
+ // "on-click-right": "mode"
+ }
+ },
+ "keyboard-state": {
+ "numlock": false,
+ "capslock": true,
+ "format": {
+ "numlock": "N {icon}",
+ "capslock": "{icon}"
+ },
+ "format-icons": {
+ "locked": "",
+ "unlocked": ""
+ }
+ },
+ "hyprland/window": {
+ "format": "{title}",
+ "separate-outputs": false
+ },
+ "privacy": {
+ "icon-spacing": 4,
+ "icon-size": 18,
+ "transition-duration": 250,
+ "modules": [
+ {
+ "type": "screenshare",
+ "tooltip": true,
+ "tooltip-icon-size": 24
+ },
+ {
+ "type": "audio-out",
+ "tooltip": true,
+ "tooltip-icon-size": 24
+ },
+ {
+ "type": "audio-in",
+ "tooltip": true,
+ "tooltip-icon-size": 24
+ }
+ ]
+ }
+}
diff --git a/dot_config/waybar/style.css b/dot_config/waybar/style.css
index 3bb48a8..8bd1490 100644
--- a/dot_config/waybar/style.css
+++ b/dot_config/waybar/style.css
@@ -14,7 +14,7 @@ window#waybar {
tooltip {
background: rgba(24, 25, 38, 0.95);
- border-radius: 5px;
+ border-radius: 10px;
border-width: 0px;
border-style: solid;
border-color: rgb(24, 25, 38);
@@ -22,10 +22,15 @@ tooltip {
.modules-left,
.modules-center,
-.modules-right,
-#mpdris {
+.modules-right {
background-color: #24273a;
margin: 2px;
+ /* padding: 2px; */
+}
+
+#workspaces,
+.modules-center box,
+.modules-right box {
padding: 2px;
}
@@ -39,7 +44,7 @@ tooltip {
#layout,
#custom-notification.notification
{
- border-radius: 5px 5px 5px 5px;
+ border-radius: 10px 10px 10px 10px;
}
#tray,
@@ -48,7 +53,7 @@ widget>label {
}
#mpdris {
- color: #f4dbd6;
+ color: #24273a;
}
#visualisation
@@ -71,7 +76,7 @@ widget>label {
#tags button {
color: #939ab7;
margin-right: 2px;
- border-radius: 5px;
+ border-radius: 10px;
}
#tags button.occupied {
@@ -80,8 +85,17 @@ widget>label {
#workspaces button {
color: #f4dbd6;
- margin-right: 2px;
- border-radius: 5px;
+ border-radius: 10px;
+ margin-left: 1px;
+ margin-right: 1px;
+}
+
+#workspaces button:last-child {
+ margin-right: 0px;
+}
+
+#workspaces button:first-child {
+ margin-left: 0px;
}
#workspaces button.empty,
@@ -119,7 +133,7 @@ widget>label {
#mpris {
- font-size: 7px;
+ font-size: 9px;
}
#custom-notification {
@@ -134,32 +148,33 @@ widget>label {
}
#taskbar button {
- margin: 0px 2px;
padding-top: 2px;
padding-bottom: 2px;
- padding-left: 10px;
+ padding-left: 8px;
padding-right: 8px;
- border-radius: 4px;
- background-color: #363a4f;
+ border-radius: 0px;
transition-duration: 150ms;
}
#taskbar button:hover {
- background-color: #494d64;
- border-radius: 4px;
+ background-color: #363a4f;
+}
+
+#taskbar button:last-child {
+ margin-right: 6px;
}
#taskbar button.maximized,
#taskbar button.fullscreen {
- border-top: 3px solid #8aadf4;
+ border-top: 1px solid #8aadf4;
}
#taskbar button.active {
- background-color: #5b6078;
- border-radius: 4px;
- border-bottom: 3px solid #b7bdf8;
+ background-color: #494d64;
+ border-bottom: 2px solid #b7bdf8;
}
+
#clock {
color: #1e2030;
background-color: #8aadf4;