{ // 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, "on-click": "activate", "on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-down": "hyprctl dispatch workspace e-1", "persistent_workspaces": { "1": [], "2": [], "3": [], "4": [], "5": [], }, "format-icons": { "active": "", "default": "", }, }, // ROMAN Numerals style "hyprland/workspaces#roman": { "active-only":false, "all-outputs": true, "format": "{icon}", "show-special": false, "on-click": "activate", "on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-down": "hyprctl dispatch workspace e-1", "persistent_workspaces":{ "1": [], "2": [], "3": [], "4": [], "5": [], }, "format-icons": { "1": "I", "2": "II", "3": "III", "4": "IV", "5": "V", "6": "VI", "7": "VII", "8": "VIII", "9": "IX", "10": "X", }, }, // PACMAN Style "hyprland/workspaces#pacman": { "active-only":false, "all-outputs": true, "format": "{icon}", "on-click": "activate", "on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-down": "hyprctl dispatch workspace e-1", "show-special": false, "persistent_workspaces":{ "1": [], "2": [], "3": [], "4": [], "5": [], }, "format": "{icon}", "format-icons": { "active": " 󰮯 ", "default": "  ", "persistent":"󰑊", }, }, "hyprland/workspaces#kanji": { "disable-scroll": true, "all-outputs": true, "format": "{icon}", "persistent_workspaces": { "1": [], "2": [], "3": [], "4": [], "5": [], }, "format-icons": { "1": "一", "2": "二", "3": "三", "4": "四", "5": "五", "6": "六", "7": "七", "8": "八", "9": "九", "10": "十", } }, // NUMBERS and ICONS style "hyprland/workspaces#4": { "format": "{name}", "format": " {icon} ", //"format": " {icon} ", "show-special": false, "on-click": "activate", "on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-down": "hyprctl dispatch workspace e-1", "all-outputs": true, "sort-by-number": true, "format-icons": { "1": "", "2": "", "3": "", "4": "", "5": "", "6": "󰚌", "7": "", "8": "", "9": "", "10": "", "focused": "", "default": "", }, }, // GROUP "group/motherboard": { "orientation": "horizontal", "modules": [ "cpu", "memory", "custom/CpuTemp", "disk", ] }, "group/laptop": { "orientation": "horizontal", "modules": [ "backlight", "battery", ] }, "group/audio": { "orientation": "horizontal", "modules": [ "pulseaudio", "pulseaudio#microphone", ] }, "backlight": { "interval": 2, "align": 0, "rotate": 0, //"format": "{icon} {percent}%", //"format-icons": ["󰃞", "󰃟", "󰃠"], "format": "{icon}", "format-icons": ["󰛩", "󱩎", "󱩏", "󱩑", "󱩒", "󱩓", "󱩔", "󱩕", "󰛨"], "tooltip-format": "backlight {percent}%", "icon-size": 10, "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, }, "battery": { "interval": 1, "align": 0, "rotate": 0, //"bat": "BAT1", //"adapter": "ACAD", "full-at": 100, "design-capacity": false, "states": { "good": 100, "warning": 30, "critical": 15 }, "format": "{icon}", "format-charging": "", "format-plugged": "󱘖", "format-full": "{icon}", "format-alt": "{icon}", "format-icons": [" ", " ", " ", " ", " "], "format-time": "{H}h {M}min", "tooltip": true, //"tooltip-format": "{timeTo} {power}w", "tooltip-format": "{capacity}%", "on-click-middle": "~/.config/hypr/scripts/RunCMD.sh toggle_blur", }, "bluetooth": { "format": "", "format-disabled": "󰂳", "format-connected": "󰂱 {num_connections}", "tooltip-format": " {device_alias}", "tooltip-format-connected": "{device_enumerate}", "tooltip-format-enumerate-connected": " {device_alias} 󰂄{device_battery_percentage}%", "tooltip": true, "on-click": "blueberry", }, "clock": { "interval": 1, "format": " {:%I:%M %p}", //"format": " {:%H:%M:%S}", "format-alt": " {:%H:%M  %Y, %d %B, %A}", "tooltip-format": "{calendar}", "calendar": { "mode" : "year", "mode-mon-col" : 3, "weeks-pos" : "right", "on-scroll" : 1, "format": { "months": "{}", "days": "{}", "weeks": "W{}", "weekdays": "{}", "today": "{}" } } }, "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" }, "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": { "interval": 1, //"format": "󰋊", "path": "/", //"format-alt-click": "click", "format": "󰋊 {percentage_used}%", //"tooltip": true, "tooltip-format": "{used} used out of {total} on {path} ({percentage_used}%)", }, "hyprland/window": { "format": "󰥳 {}", "max-length": 40, "separate-outputs": true, "offscreen-css" : true, "offscreen-css-text": "(inactive)", "rewrite": { "(.*) - fish": "", "(.*) - zsh": "", "(.*) - kitty": "", "${USER}@${set_sysname}:(.*)": "$1 ", "(.*) — Mozilla Firefox": "$1 󰈹", "(.*)Mozilla Firefox": "Firefox 󰈹", //"(.*) - Visual Studio Code": "$1 󰨞", //"(.*)Visual Studio Code": "Code 󰨞", "(.*) - codium": "$1 󰨞", "(.*)codium": "Code 󰨞", "(.*)Thunar": "$1 󰉋", "(.*)yazi": "$1 󰉋", "(.*)Spotify": "Spotify 󰓇", "(.*)nvim": "$1 ", }, }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": " ", "deactivated": " ", } }, "keyboard-state": { //"numlock": true, "capslock": true, "format": { "numlock": "N {icon}", "capslock":"󰪛 {icon}", }, "format-icons": { "locked": "", "unlocked": "" }, }, "memory": { "interval": 1, "format": "󰾆 {used:0.1f}G", "format-alt": "󰾆 {percentage}%", "format-alt-click": "click", "tooltip": true, "tooltip-format": "{used:0.1f}GB/{total:0.1f}G", "on-click-right": "kitty --title btop sh -c 'btop'" }, "network": { "format": "{ifname}", "format-wifi": "{icon}", "format-ethernet": "󰌘", "format-disconnected": "󰌙", "tooltip-format": "{ipaddr}  {bandwidthUpBytes}  {bandwidthDownBytes}", "format-linked": "󰈁 {ifname} (No IP)", "tooltip-format-wifi": "{essid} {icon} {signalStrength}%", "tooltip-format-ethernet": "{ifname} 󰌘", "tooltip-format-disconnected": "󰌙 Disconnected", "max-length": 50, "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"] }, "network#speed": { "interval": 1, "format": "{ifname}", "format-wifi": "{icon}  {bandwidthUpBytes}  {bandwidthDownBytes}", "format-ethernet": "󰌘  {bandwidthUpBytes}  {bandwidthDownBytes}", "format-disconnected": "󰌙", "tooltip-format": "{ipaddr}", "format-linked": "󰈁 {ifname} (No IP)", "tooltip-format-wifi": "{essid} {icon} {signalStrength}%", "tooltip-format-ethernet": "{ifname} 󰌘", "tooltip-format-disconnected": "󰌙 Disconnected", "max-length": 50, "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"] }, "pulseaudio": { "format": "{icon}", "format-bluetooth": "{icon} 󰂰 {volume}%", "format-muted": "󰖁", "format-icons": { "headphone": "", "hands-free": "", "headset": "", "phone": "", "portable": "", "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, "tooltip-format": "{volume}%", }, "pulseaudio#microphone": { "format": "{format_source}", "format-source": " {volume}%", "format-source-muted": "", "on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic", "on-click-right": "pavucontrol -t 4", "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec", "tooltip-format":"{source_volume}%", "scroll-step": 5, }, "tray": { "icon-size": 14, "spacing": 8, }, "wireplumber": { "format": "{icon} {volume} %", "format-muted": " Mute", "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", "format-icons": ["", "", "󰕾", ""], }, "mpris": { "interval": 10, "format": "{player_icon} ", "format-paused": "{status_icon}", "on-click": "playerctl play-pause", "on-click-middle": "playerctl previous", "on-click-right": "playerctl next", "scroll-step": 5.0, "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", "smooth-scrolling-threshold": 1, "player-icons": { "chromium": "", "default": "", "firefox": "", "kdeconnect": "", "mopidy": "", "mpv": "󰐹", "spotify": "", "vlc": "󰕼", }, "status-icons": { "paused": "󰐎", "playing": "", "stopped": "", }, // "ignored-players": ["firefox"] "max-length": 30, }, // This is a custom cava visualizer "custom/music": { "format": "{icon}{}", "format-icons": { // "Playing": " ", // Uncomment if not using the dynamic script "Paused": " ", "Stopped": "‭ﭥ " // This stop symbol is RTL. So ‭ is left-to-right override. }, "escape": true, "tooltip": true, "exec": "~/.config/hypr/scripts/Caway.sh -b 10", "return-type": "json", "on-click": "playerctl play-pause", "on-click-middle": "playerctl previous", "on-click-right": "playerctl next", "max-length": 30 }, "wlr/taskbar": { "format": "{icon}", "icon-size": 15, "all-outputs": false, "tooltip-format": "{title}", "on-click": "activate", "on-click-middle": "close", "ignore-list": [ "wofi", "rofi", ] }, "custom/swaync": { "tooltip":true, "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, }, "custom/cycle_wall":{ "format":" ", "exec": "echo ; echo 󰸉 wallpaper select", "on-click": "~/.config/hypr/scripts/RunCMD.sh selectwall", "on-click-right": "~/.config/hypr/scripts/RunCMD.sh randomwall", "interval" : 86400, // once every day "tooltip": true, }, "custom/keybinds": { "format":"󰺁 HINT!", "exec": "echo ; echo  Key Hints SUPER F1", "interval": 86400, // once every day "tooltip": false, "on-click": "~/.config/hypr/scripts/RunCMD.sh keybind", }, "custom/keyboard": { "exec": "cat ~/.cache/kb_layout", "interval": 1, "format": " {}", "on-click": "~/.config/hypr/scripts/RunCMD.sh kb", "tooltip": false, }, "custom/lock": { "format": "󰌾 {}", "exec": "echo ; echo 󰷛 screen lock", "interval" : 86400, // once every day "on-click": "swaylock", "tooltip": false, }, "custom/menu": { "format": " {}", "exec": "echo ; echo 󱓟 app launcher", "interval" : 86400, // once every day "tooltip": false, "on-click": "pkill rofi || rofi -show drun -modi drun,filebrowser,run,window -config ~/.config/rofi/launcher.rasi", "on-click-right": "~/.config/hypr/scripts/RunCMD.sh waybarl", }, "custom/power": { "format": "⏻ {}", "exec": "echo ; echo 󰟡 power // blur", "interval": 86400, "tooltip": false, "on-click": "~/.config/hypr/scripts/RunCMD.sh powermenu", "on-click-right": "~/.config/hypr/scripts/RunCMD.sh blur", }, // NOTE:! This is only for Arch and Arch Based Distros "custom/updates":{ "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": { "exec": "curl -s 'https://wttr.in/kohalpur?format=2' | tr -d ' '", "tooltip": false, "interval": 900 }, "custom/CpuTemp":{ "exec": "~/.config/hypr/scripts/HeatSensors.sh", "interval": 10, "format": "{} 󰈸", "tooltip": false, }, // Separators "custom/separator#dot": { "format": "", "interval": "once", "tooltip": false }, "custom/separator#dot-line": { "format": "", "interval": "once", "tooltip": false }, "custom/separator#line": { "format": "|", "interval": "once", "tooltip": false }, "custom/separator#blank": { "format": "", "interval": "once", "tooltip": false }, "custom/separator#blank_2": { "format": " ", "interval": "once", "tooltip": false }, "custom/separator#blank_3": { "format": " ", "interval": "once", "tooltip": false }, // Modules below are for vertical layout "backlight#vertical": { "interval": 2, "align": 0.4, "rotate": 1, "format": "{icon}", "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, "format": "{:\n%I\n%M\n%p\n\n \n%d\n%m\n%y}", "tooltip": true, "tooltip-format": "{calendar}", "calendar": { "mode": "year", "mode-mon-col": 3, "format": { "today": "{}", } } }, "cpu#vertical": { "format": "󰍛\n{usage}%", "interval": 1, "on-click-right": "gnome-system-monitor", }, "memory#vertical": { "interval": 10, "format": "󰾆\n{percentage}%", "format-alt": "󰾆\n{used:0.1f}G", "format-alt-click": "click", "tooltip": true, "tooltip-format": "{used:0.1f}GB/{total:0.1f}G", "on-click-right": "kitty --title btop sh -c 'btop'", }, "pulseaudio#vertical": { "format": "{icon}", "format-bluetooth": "󰂰", "format-muted": "󰖁", "format-icons": { "headphone": "", "hands-free": "", "headset": "", "phone": "", "portable": "", "car": "", "default": ["", "", "󰕾", ""], "tooltip-format": "{volume}%", "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", "tooltip-format":"{volume}%", "smooth-scrolling-threshold": 1, }, "pulseaudio#microphone_vertical": { "format": "{format_source}", "format-source": "󰍬", "format-source-muted": "󰍭", "on-click-right": "pavucontrol", "on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic", "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc", "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec", "max-volume": 100, "tooltip": true, "tooltip-format": "{volume}%", }, "custom/power_vertical": { "format": "⏻", "exec": "echo ; echo 󰟡 power // blur", "on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", "on-click":"~/.config/hypr/scripts/RunCMD.sh powermenu", "interval": 86400, // once every day "tooltip": false, }, }