diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2023-12-10 01:49:23 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2023-12-10 01:49:23 +0900 |
| commit | 962bffebb6559fa769e48f9ff588c2c69d64e3c1 (patch) | |
| tree | 33d52cd02c5ef1503e5a6ef3b8124b02700341da /config/waybar/modules | |
| parent | 0b1e332c10ad0eadb0295b9dea2201dfe17b4cc6 (diff) | |
added waybar mpris module
Diffstat (limited to 'config/waybar/modules')
| -rw-r--r-- | config/waybar/modules | 285 |
1 files changed, 151 insertions, 134 deletions
diff --git a/config/waybar/modules b/config/waybar/modules index 9955e3df..ef61f9c3 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -1,10 +1,10 @@ //* ---- π« https://github.com/JaKooLit π« ---- *// { - // HYPRLAND WORKSPACES. CHOOSE as desired and place on waybar configs - // CIRCLES Style - "hyprland/workspaces": { - "active-only": false, +// HYPRLAND WORKSPACES. CHOOSE as desired and place on waybar configs +// CIRCLES Style +"hyprland/workspaces": { + "active-only": false, "all-outputs": true, "format": "{icon}", "show-special": false, @@ -21,10 +21,11 @@ "format-icons": { "active": "ο", "default": "ο", - }, - }, - // ROMAN Numerals style - "hyprland/workspaces#roman": { + }, +}, + +// ROMAN Numerals style +"hyprland/workspaces#roman": { "active-only":false, "all-outputs": true, "format": "{icon}", @@ -52,8 +53,9 @@ "10": "X", }, - }, - // PACMAN Style +}, + +// PACMAN Style "hyprland/workspaces#pacman": { "active-only":false, "all-outputs": true, @@ -75,9 +77,9 @@ "default": "σ° ", "persistent":"σ° ", }, - }, +}, - "hyprland/workspaces#kanji": { +"hyprland/workspaces#kanji": { "disable-scroll": true, "all-outputs": true, "format": "{icon}", @@ -100,10 +102,10 @@ "9": "δΉ", "10": "ε", } - }, +}, - // NUMBERS and ICONS style - "hyprland/workspaces#4": { +// NUMBERS and ICONS style +"hyprland/workspaces#4": { "format": "{name}", "format": " {name} {icon} ", //"format": " {icon} ", @@ -127,11 +129,11 @@ "focused": "ο", "default": "ο", }, - }, +}, + +// GROUP - // GROUP - - "group/motherboard": { +"group/motherboard": { "orientation": "horizontal", "modules": [ "cpu", @@ -139,25 +141,25 @@ "temperature", "disk", ] - }, +}, - "group/laptop": { +"group/laptop": { "orientation": "horizontal", "modules": [ "backlight", "battery", ] - }, +}, - "group/audio": { +"group/audio": { "orientation": "horizontal", "modules": [ "pulseaudio", "pulseaudio#microphone", ] - }, - - "backlight": { +}, + +"backlight": { "interval": 2, "align": 0, "rotate": 0, @@ -174,9 +176,9 @@ "on-scroll-up": "~/.config/hypr/scripts/Brightness.sh --inc", "on-scroll-down": "~/.config/hypr/scripts/Brightness.sh --dec", "smooth-scrolling-threshold": 1, - }, +}, - "battery": { +"battery": { "interval": 60, "align": 0, "rotate": 0, @@ -200,9 +202,9 @@ "tooltip-format": "{timeTo} {power}w", "on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh", "on-click-right": "~/.config/hypr/scripts/RofiPower.sh", - }, +}, - "bluetooth": { +"bluetooth": { "format": "ο", "format-disabled": "σ°³", "format-connected": "σ°± {num_connections}", @@ -211,9 +213,9 @@ "tooltip-format-enumerate-connected": "ο {device_alias} σ°{device_battery_percentage}%", "tooltip": true, "on-click": "blueman-manager", - }, +}, - "cava": { +"cava": { //"cava_config": "$XDG_CONFIG_HOME/cava/cava.conf", "framerate": 30, "autosens": 1, @@ -234,9 +236,9 @@ "actions": { "on-click-right": "mode" } - }, +}, - "clock": { +"clock": { "interval": 1, //"format": "ο {:%I:%M %p}", "format": "ο {:%H:%M:%S}", @@ -262,18 +264,18 @@ "on-click-backward": "tz_down", "on-scroll-up": "shift_up", "on-scroll-down": "shift_down" - }, +}, - "cpu": { +"cpu": { "format": "{usage}% σ°", "interval": 1, "format-alt-click": "click", "format-alt": "{icon0}{icon1}{icon2}{icon3} {usage:>2}% σ°", "format-icons": ["β", "β", "β", "β", "β
", "β", "β", "β"], "on-click-right": "gnome-system-monitor", - }, +}, - "disk": { +"disk": { "interval": 30, //"format": "σ°", "path": "/", @@ -281,22 +283,22 @@ "format": "{percentage_used}% σ°", //"tooltip": true, "tooltip-format": "{used} used out of {total} on {path} ({percentage_used}%)", - }, +}, - "hyprland/language": { +"hyprland/language": { "format": "Lang: {}", "format-en": "US", "format-tr": "Korea", "keyboard-name": "at-translated-set-2-keyboard", "on-click": "hyprctl switchxkblayout $SET_KB next" - }, +}, - "hyprland/submap": { +"hyprland/submap": { "format": "<span style=\"italic\">ο {}</span>", // Icon: expand-arrows-alt "tooltip": false, - }, +}, - "hyprland/window": { +"hyprland/window": { "format": "{}", "max-length": 40, "separate-outputs": true, @@ -308,17 +310,17 @@ "(.*) - zsh": "> [$1]", "(.*) - kitty": "> [$1]", }, - }, +}, - "idle_inhibitor": { +"idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "ο
", "deactivated": "ο ", } - }, +}, - "keyboard-state": { +"keyboard-state": { //"numlock": true, "capslock": true, "format": { @@ -329,9 +331,9 @@ "locked": "ο£", "unlocked": "ο" }, - }, +}, - "memory": { +"memory": { "interval": 10, "format": "{used:0.1f}G σ°Ύ", "format-alt": "{percentage}% σ°Ύ", @@ -339,9 +341,23 @@ "tooltip": true, "tooltip-format": "{used:0.1f}GB/{total:0.1f}G", "on-click-right": "kitty --title btop sh -c 'btop'" - }, +}, + +"mpris": { + "format": "{player_icon}", + "format-paused": "{status_icon} <i>{dynamic}</i>", + "player-icons": { + "default": "βΆ", + "mpv": "π»", + }, + "status-icons": { + "paused": "βΈ" + }, + // "ignored-players": ["firefox"] + "max-length": 30, +}, - "network": { +"network": { "format": "{ifname}", "format-wifi": "{icon}", "format-ethernet": "σ°", @@ -353,9 +369,9 @@ "tooltip-format-disconnected": "σ° Disconnected", "max-length": 50, "format-icons": ["σ°€―","σ°€","σ°€’","σ°€₯","󰀨"] - }, +}, - "network#speed": { +"network#speed": { "interval": 1, "format": "{ifname}", "format-wifi": "{icon} οΉ {bandwidthUpBytes} οΊ {bandwidthDownBytes}", @@ -368,9 +384,9 @@ "tooltip-format-disconnected": "σ° Disconnected", "max-length": 50, "format-icons": ["σ°€―","σ°€","σ°€’","σ°€₯","󰀨"] - }, +}, - "pulseaudio": { +"pulseaudio": { "format": "{icon}", "format-bluetooth": "{icon} σ°° {volume}%", "format-muted": "σ°", @@ -390,9 +406,9 @@ "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", "smooth-scrolling-threshold": 1, - }, +}, - "pulseaudio#microphone": { +"pulseaudio#microphone": { "format": "{format_source}", "format-source": "ο° {volume}%", "format-source-muted": "ο±", @@ -401,9 +417,9 @@ "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec", "scroll-step": 5, - }, +}, - "temperature": { +"temperature": { "interval": 10, "tooltip": false, "hwmon-path": ["/sys/class/hwmon/hwmon1/temp1_input", "/sys/class/thermal/thermal_zone0/temp"], @@ -413,14 +429,14 @@ "format": "{temperatureC}Β°C {icon}", "format-icons": ["σ°Έ"], "on-click-right": "kitty --title nvtop sh -c 'nvtop'" - }, +}, - "tray": { +"tray": { "icon-size": 14, "spacing": 8, - }, +}, - "wireplumber": { +"wireplumber": { "format": "{icon} {volume} %", "format-muted": "ο¦ Mute", "on-click": "~/.config/hypr/scripts/Volume.sh --toggle", @@ -428,9 +444,9 @@ "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", "format-icons": ["ο¦", "ο§", "σ°Ύ", "ο¨"], - }, +}, - "wlr/taskbar": { +"wlr/taskbar": { "format": "{icon} {name} ", "icon-size": 16, "all-outputs": false, @@ -441,24 +457,24 @@ "wofi", "rofi", ] - }, +}, - "custom/cycle_wall":{ +"custom/cycle_wall":{ "format":"οΎ ", "on-click": "~/.config/hypr/scripts/WallpaperSelect.sh", "on-click-right": "~/.config/hypr/scripts/Wallpaper.sh", "on-click-middle": "~/.config/hypr/scripts/WaybarStyles.sh", "tooltip": true, "tooltip-format": "Change wallpaper or style" - }, +}, - "custom/keybinds": { +"custom/keybinds": { "format":"σ°Ί HINT!", "tooltip": false, "on-click": "~/.config/hypr/scripts/KeyHints.sh", - }, +}, - "custom/keyboard": { +"custom/keyboard": { "exec": "cat ~/.cache/kb_layout", "interval": 1, "format": "ο {}", @@ -466,29 +482,29 @@ "tooltip": false, }, - "custom/light_dark": { +"custom/light_dark": { "format": "ο", "on-click": "~/.config/hypr/scripts/DarkLight.sh", "on-click-right": "~/.config/hypr/scripts/WaybarStyles.sh", "on-click-middle": "~/.config/hypr/scripts/Wallpaper.sh", "tooltip": false, - }, +}, - "custom/lock": { +"custom/lock": { "format": "ο£", "on-click": "~/.config/hypr/scripts/LockScreen.sh", "tooltip": false, - }, +}, - "custom/menu": { +"custom/menu": { "format": "ο
Ό", "tooltip": false, "on-click": "pkill rofi || rofi -show drun -modi run,drun,filebrowser", "on-click-middle": "~/.config/hypr/scripts/WallpaperSelect.sh", "on-click-right": "~/.config/hypr/scripts/WaybarLayout.sh", - }, +}, - "custom/playerctl": { +"custom/playerctl": { "format": "<span>{}</span>", "return-type": "json", "max-length": 35, @@ -500,25 +516,25 @@ "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", "smooth-scrolling-threshold": 1, - }, +}, - "custom/power": { +"custom/power": { "format": "β» ", "tooltip": false, "on-click": "~/.config/hypr/scripts/Wlogout.sh", "on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", - }, +}, - // NOTE:! This is only for Arch and Arch Based Distros - "custom/updater":{ +// NOTE:! This is only for Arch and Arch Based Distros +"custom/updater":{ "format": "ο {}", "exec": "checkupdates | wc -l", "exec-if": "[[ $(checkupdates | wc -l) ]]", "interval": 15, "on-click": "kitty -T update paru -Syu || yay -Syu && notify-send 'The system has been updated'", - }, +}, - "custom/weather": { +"custom/weather": { "format": "{}", "format-alt": "{alt}: {}", "format-alt-click": "click", @@ -528,62 +544,62 @@ //"exec": "~/.config/hypr/scripts/Weather.py", "exec-if": "ping wttr.in -c1", "tooltip" : true, - }, +}, - // Separators - "custom/separator#dot": { +// Separators +"custom/separator#dot": { "format": "ο", "interval": "once", "tooltip": false - }, +}, - "custom/separator#dot-line": { +"custom/separator#dot-line": { "format": "ξ‘", "interval": "once", "tooltip": false - }, +}, - "custom/separator#line": { +"custom/separator#line": { "format": "|", "interval": "once", "tooltip": false - }, +}, - "custom/separator#blank": { +"custom/separator#blank": { "format": "", "interval": "once", "tooltip": false - }, +}, - "custom/separator#blank_2": { - "format": " ", +"custom/separator#blank_2": { + "format": " ", "interval": "once", "tooltip": false - }, +}, - // Modules below are for vertical layout +// Modules below are for vertical layout - "backlight#vertical": { - "interval": 2, - "align": 0.35, - "rotate": 1, - "format": "{icon}", - //"format-icons": ["σ°", "σ°", "σ° "], - "format-icons": ["ξ","ξ","ξ","ξ","ξ","ξ","ξ","ξ","ξ","ξ","ξ","ξ ","ξ‘","ξ’","ξ£"], - "on-click": "", - "on-click-middle": "", - "on-click-right": "", - "on-update": "", - "on-scroll-up": "~/.config/hypr/scripts/Brightness.sh --inc", - "on-scroll-down": "~/.config/hypr/scripts/Brightness.sh --dec", - "smooth-scrolling-threshold": 1, - //"tooltip-format": "{percent}%", - }, +"backlight#vertical": { + "interval": 2, + "align": 0.35, + "rotate": 1, + "format": "{icon}", + //"format-icons": ["σ°", "σ°", "σ° "], + "format-icons": ["ξ","ξ","ξ","ξ","ξ","ξ","ξ","ξ","ξ","ξ","ξ","ξ ","ξ‘","ξ’","ξ£"], + "on-click": "", + "on-click-middle": "", + "on-click-right": "", + "on-update": "", + "on-scroll-up": "~/.config/hypr/scripts/Brightness.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Brightness.sh --dec", + "smooth-scrolling-threshold": 1, + //"tooltip-format": "{percent}%", +}, - "clock#vertical": { - "format": "{:ο\n%H\n%M\n%S\n\nο³ \n%d\n%m\n%y}", - "interval": 1, +"clock#vertical": { + "format": "{:ο\n%H\n%M\n%S\n\nο³ \n%d\n%m\n%y}", + "interval": 1, //"format": "{:ο\n%I\n%M\n%p\n\nο³ \n%d\n%m\n%y}", "tooltip": true, "tooltip-format": "{calendar}", @@ -594,14 +610,15 @@ "today": "<span color='#0dbc79'>{}</span>", } } - }, - "cpu#vertical": { +}, + +"cpu#vertical": { "format": "σ°\n{usage}%", "interval": 1, "on-click-right": "gnome-system-monitor", - }, +}, - "memory#vertical": { +"memory#vertical": { "interval": 10, "format": "σ°Ύ\n{percentage}%", "format-alt": "σ°Ύ\n{used:0.1f}G", @@ -609,9 +626,9 @@ "tooltip": true, "tooltip-format": "{used:0.1f}GB/{total:0.1f}G", "on-click-right": "kitty --title btop sh -c 'btop'", - }, +}, - "pulseaudio#vertical": { +"pulseaudio#vertical": { "format": "{icon}", "format-bluetooth": "σ°°", "format-muted": "σ°", @@ -624,16 +641,16 @@ "car": "οΉ", "default": ["ο¦", "ο§", "σ°Ύ", "ο¨"], "ignored-sinks": ["Easy Effects Sink"], - }, + }, "scroll-step": 5.0, "on-click": "~/.config/hypr/scripts/Volume.sh --toggle", "on-click-right": "pavucontrol -t 3", "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", "smooth-scrolling-threshold": 1, - }, +}, - "pulseaudio#microphone_vertical": { +"pulseaudio#microphone_vertical": { "format": "{format_source}", "format-source": "σ°¬", "format-source-muted": "σ°", @@ -644,9 +661,9 @@ "max-volume": 100, "tooltip": true, "tooltip-format": "{icon} {desc} {volume}%", - }, +}, - "temperature#vertical": { +"temperature#vertical": { "interval": 10, "tooltip": true, "hwmon-path": ["/sys/class/hwmon/hwmon1/temp1_input", "/sys/class/thermal/thermal_zone0/temp"], @@ -656,16 +673,16 @@ "format": " {icon}", "format-icons": ["σ°Έ"], "on-click-right": "kitty --title nvtop sh -c 'nvtop'" - }, +}, - "custom/power_vertical": { +"custom/power_vertical": { "format": "β»", "tooltip": false, "on-click": "~/.config/hypr/scripts/RofiPower.sh", "on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", - }, +}, - } +}
\ No newline at end of file |
