411 lines
13 KiB
Plaintext

{
"layer": "top",
"margin-top": 5,
"spacing": 5,
"modules-left": ["group/sys", "tray", "hyprland/workspaces"],
"modules-center": ["mpris", "wlr/taskbar"],
"modules-right": ["group/stats", "group/net", "group/sound", "cava", "battery", "group/indicators", "custom/notification"],
"group/indicators": {
"orientation": "inherit",
"modules": [
"gamemode", "privacy", "custom/updates", "idle_inhibitor"
]
},
"group/net": {
"orientation": "inherit",
"modules": [
"custom/vpn",
"network",
"bluetooth"
]
},
"group/stats": {
"orientation": "inherit",
"modules": [
"custom/cpugov",
"cpu",
"memory",
"custom/gpu-usage"
],
"drawer": {
"transition-duration": 500,
"transition-left-to-right": false
}
},
"group/sound": {
"orientation": "inherit",
"modules": [
"pulseaudio", "pulseaudio/slider"
],
"drawer": {
"transition-duration": 500,
"transition-left-to-right": true
}
},
"group/sys": {
"orientation": "inherit",
"modules": [
"custom/power", "clock"
]
},
"network": {
"format-wifi": "{icon}",
"format-ethernet": " {ifname}",
"format-disconnected": "󰱟 Offline",
"tooltip-format": "󰊗 {ifname} via {gwaddr}",
"tooltip-format-wifi": " WiFi {essid} ({signalStrength}%)",
"tooltip-format-ethernet": "󰱔 {ifname}",
"tooltip-format-disconnected": "Disconnected",
"max-length": 50,
"on-click": "nm-applet --indicator",
"format-icons": ["󱛅", "󱛂", "󱛃", "󱚽"],
"max-length": 5
},
"tray": {
"icon-size": 15,
"spacing": 10
},
"clock": {
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": " <b>{:%d.%m.%Y}</b>",
"format": " <b>{:%H:%M}</b>",
"calendar": {
"mode" : "month",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"on-click-right": "mode",
"format": {
"months": "<span color='#b4befe'><b>{}</b></span>",
"days": "<span color='#bac2de'><b>{}</b></span>",
"weeks": "<span color='#f5e0dc'><b>W{}</b></span>",
"weekdays": "<span color='#f9e2af'><b>{}</b></span>",
"today": "<span color='#f38ba8'><b><u>{}</u></b></span>"
}
},
"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": "alarm-clock-applet"
}
// "on-click": "evolution"
},
"user": {
"format": "{user}",
"interval": 240,
"height": 30,
"width": 30,
"icon": false,
"height": 16,
"width": 16,
"open-on-click": false
},
"pulseaudio": {
"format": "{format_source} {icon} <small>{volume}%</small>",
"format-bluetooth": "{icon} {volume}% {format_source}",
"format-bluetooth-muted": "{icon} {format_source}",
"format-muted": "{icon} <b>0</b>%",
"format-source": "",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", "󰕾"]
},
"on-click": "$HOME/.config/rofi/audio/rofi-sink-switcher.sh &",
"on-click-right": "pavucontrol",
"scroll-step": 5.0,
"max-volume": 99
},
"pulseaudio/slider": {
"min": 0,
"max": 99,
"orientation": "horizontal"
},
"mpris": {
"format": "⏸ {title:.10}",
"format-paused": "▶ {player}",
"player-icons": {
"default": "⏸",
"mpv": "🎵",
"spotify": "",
"firefox": "󰈹"
},
"status-icons": {
"paused": "⏸"
}
},
"custom/power": {
"format": "󰣇",
"on-click": "wlogout -P 1 -s -r 10 -c 10"
},
"gamemode": {
"format": "{glyph}<small>{count}</small>",
"format-alt": "{glyph}",
"glyph": "",
"hide-not-running": true,
"use-icon": true,
"icon-name": "input-gaming-symbolic",
"icon-spacing": 1,
"icon-size": 12,
"tooltip": true,
"tooltip-format": "Games running: {count}"
},
"wlr/taskbar": {
"markup": true,
"format": "{icon} {title:.10}",
"icon-size": 16,
"tooltip-format": "{title:.100}",
"sort-by-app-id": true,
"on-click": "activate",
"on-click-middle": "close",
"on-right-middle": "minimize-raise",
"active-first": false,
"ignore-list": [
],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"
},
"rewrite": {
"Mozilla Firefox": "Firefox",
"Visual Studio Code": "Code",
"Alacritty": "Terminal"
}
},
"hyprland/workspaces": {
"format": "{name}{windows}",
"active-only": false,
"window-rewrite-default": " 󰘔",
"on-click": "activate",
"format-window-separator": " ",
"format-icons": {
"urgent": "",
"focused": "",
"active": "",
"default": ""
},
"window-rewrite": {
"firefox": " ",
"LibreWolf": " ",
"celluloid": " ",
"videostream": " ",
"mpv": " ",
"rust": " ",
"private browsing": " ",
"google": " ",
"chrome": " ",
"Chromium": " ",
"nemo": " ",
"pcmanfm": " ",
"libreoffice calc": " ",
"libreoffice writer": " 󰈙",
"libreoffice": " 󰈙",
"vim": " ",
"nvim": " ",
"viewnior": " ",
"transmission": " ",
"music": " ",
"audacious": " ",
"webcord": " 󰙯",
"armcord": " 󰙯",
"goofcord": " 󰙯",
"discord": " 󰙯",
"Steam": " 󰓓",
"Teams": " 󰊻",
"kitty": " ",
"alacritty": " ",
"foot": " ",
"code": " 󰨞",
"codium": " 󰅨",
"subl": " "
},
"sort-by-number": true
},
"hyprland/window": {
"format": "{}",
"rewrite": {
"(.*) — firefox": "🌎 $1",
"(.*) - zsh": "> [$1]",
"(.*) - kitty": "> [$1]",
"(.*) - alacritty": "> [$1]"
},
"separate-outputs": false
},
"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": "paru"
},
"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": "sh -c 'sleep 0.1s; swaync-client -t -sw; sleep 0.1s'",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
"cava": {
// "cava_config": "$XDG_CONFIG_HOME/cava/cava.conf",
"framerate": 30,
"autosens": 1,
//"sensitivity": 50,
"bars": 2,
"lower_cutoff_freq": 50,
"higher_cutoff_freq": 10000,
"method": "pipewire",
"source": "auto",
"stereo": true,
"reverse": false,
"bar_delimiter": 0,
"monstercat": true,
"hide_on_silence": true,
"waves": true,
"noise_reduction": 0.77,
"input_delay": 2,
"sleep_timer": 5,
"format-icons" : ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" ],
"actions": {
"on-click-right": "mode"
}
},
"cpu": {
"interval": 10,
"format": "CPU {icon}",
"max-length": 10,
"format-icons": [
"<span color='#69ff94' size='8pt' rise='1.5pt'>▁</span>", // green
"<span color='#2aa9ff' size='8pt' rise='1.5pt'>▂</span>", // blue
"<span color='#f8f8f2' size='8pt' rise='1.5pt'>▃</span>", // white
"<span color='#f8f8f2' size='8pt' rise='1.5pt'>▄</span>", // white
"<span color='#ffffa5' size='8pt' rise='1.5pt'>▅</span>", // yellow
"<span color='#ffffa5' size='8pt' rise='1.5pt'>▆</span>", // yellow
"<span color='#ff9977' size='8pt' rise='1.5pt'>▇</span>", // orange
"<span color='#dd532e' size='8pt' rise='1.5pt'>█</span>" // red
]
},
"memory": {
"interval": 30,
"format": "MEM {icon}",
"max-length": 10,
"tooltip": true,
"format-icons": [
"<span color='#69ff94' size='8pt' rise='1.5pt'>▁</span>", // green
"<span color='#2aa9ff' size='8pt' rise='1.5pt'>▂</span>", // blue
"<span color='#f8f8f2' size='8pt' rise='1.5pt'>▃</span>", // white
"<span color='#f8f8f2' size='8pt' rise='1.5pt'>▄</span>", // white
"<span color='#ffffa5' size='8pt' rise='1.5pt'>▅</span>", // yellow
"<span color='#ffffa5' size='8pt' rise='1.5pt'>▆</span>", // yellow
"<span color='#ff9977' size='8pt' rise='1.5pt'>▇</span>", // orange
"<span color='#dd532e' size='8pt' rise='1.5pt'>█</span>" // red
]
},
"custom/cpugov": {
"exec": "$HOME/.config/waybar/waybar-cpugov",
"return-type": "json",
"restart-interval": 10,
"on-click": "$HOME/.config/rofi/cpugov/rofi-cpugov.sh",
"on-click-right": "env GTK_THEME=Adwaita:dark resources"
},
"custom/gpu-usage": {
"exec": "$HOME/.config/waybar/waybar-gpustat",
"return-type": "json",
"restart-interval": 10
},
"battery": {
"interval": 60,
"states": {
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-icons": ["", "", "", "", ""],
"max-length": 25
},
"bluetooth": {
// "controller": "controller1", // specify the alias of the controller if there are more than 1 on the system
"format": " {status}",
"format-disabled": "󰂲", // an empty format will hide the module
"format-connected": "<small>{num_connections}</small>",
"tooltip-format": "{controller_alias}\t{controller_address}",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{device_enumerate}\t{device_battery_percentage}%",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
"on-click": "blueberry"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "󱎴",
"deactivated": "󱩛"
},
"tooltip-format-activated": "󱎴 Active: No Lockscreen on idle",
"tooltip-format-deactivated": "󱩛 Active: Lockscreen on idle"
},
"custom/vpn": {
"format": "󰖂",
"exec": "echo '{\"class\": \"connected\", \"tooltip\": \"VPN Connected\"}'",
"exec-if": "test -d /proc/sys/net/ipv4/conf/tun0",
"return-type": "json",
"interval": 5
},
"power-profiles-daemon": {
"format": "{icon}",
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
"tooltip": true,
"format-icons": {
"default": "󰓅",
"performance": "󰓅",
"balanced": "󰾅",
"power-saver": "󰌪"
}
},
"privacy": {
"icon-spacing": 4,
"icon-size": 12,
"transition-duration": 250,
"modules": [
{
"type": "screenshare",
"tooltip": true,
"tooltip-icon-size": 12
},
{
"type": "audio-out",
"tooltip": true,
"tooltip-icon-size": 12
},
{
"type": "audio-in",
"tooltip": true,
"tooltip-icon-size": 12
}
]
}
}