diff --git a/.config/waybar/modules/audio.jsonc b/.config/waybar/modules/audio.jsonc new file mode 100644 index 0000000..9a98d47 --- /dev/null +++ b/.config/waybar/modules/audio.jsonc @@ -0,0 +1,28 @@ +{ + "pulseaudio": { + "format": "{icon}", + "format-muted": "", + "format-icons": { + "headphone": "󰋋", + "headset": "󰋋", + "hands-free": "󰋋", + "default": [ + "", + "", + "" + ] + }, + "on-click": "pavucontrol", + "tooltip-format": "Output: {volume}%" + }, + "pulseaudio#microphone": { + "format": "{format_source}", + "format-source": "", + "format-source-muted": "" + }, + "pulseaudio/slider": { + "min": 0, + "max": 100, + "orientation": "horizontal" + } +} diff --git a/.config/waybar/modules/battery.jsonc b/.config/waybar/modules/battery.jsonc new file mode 100644 index 0000000..7f186db --- /dev/null +++ b/.config/waybar/modules/battery.jsonc @@ -0,0 +1,30 @@ +{ + "battery": { + "interval": 60, + "states": { + "warning": 30, + "critical": 15 + }, + "format": "{icon} {capacity}%", + "format-full": "{icon} {capacity}%", + "format-charging": "󱐌 {capacity}%", + "format-plugged": " ", + "format-alt": "{icon} {time}", + "tooltip-format": "{timeTo}\n\n󰠠 Usage: {power:0.1f}W\n󱤅 Condition: {health}%\n󱍸 Total: {cycles} cycles", + "format-icons": { + "default": [ + "󰂎", + "󰁺", + "󰁻", + "󰁼", + "󰁽", + "󰁾", + "󰁿", + "󰂀", + "󰂁", + "󰂂", + "󰁹" + ] + } + } +} diff --git a/.config/waybar/modules/clock.jsonc b/.config/waybar/modules/clock.jsonc new file mode 100644 index 0000000..d7695f0 --- /dev/null +++ b/.config/waybar/modules/clock.jsonc @@ -0,0 +1,8 @@ +{ + "clock": { + "timezone": "Asia/Jakarta", + "format": "󰃱 {:%H.%M }", + "format-alt": "󰃱 {:%d %B %Y}", + "tooltip-format": "{calendar}" + } +} diff --git a/.config/waybar/modules/connections.jsonc b/.config/waybar/modules/connections.jsonc new file mode 100644 index 0000000..69aab7f --- /dev/null +++ b/.config/waybar/modules/connections.jsonc @@ -0,0 +1,35 @@ +{ + "network": { + "format-wifi": "{icon}", + "format-ethernet": "", + "format-linked": "󱘖", + "format-disconnected": "󰤣", + "format-disabled": "󰤮", + "format-icons": [ + "󰤯", + "󰤟", + "󰤢", + "󰤥", + "󰤨" + ], + "tooltip-format-disconnected": "No Connection", + "tooltip-format-disabled": "Wi-Fi is OFF", + "tooltip-format-wifi": "󱄙 {essid} ({signalStrength}%)\n\n󰐻 Freq: {frequency}GHz\n {bandwidthDownBytes}  {bandwidthUpBytes}", + "tooltip-format-ethernet": "󰈀 {ifname} (Connected)\n {bandwidthDownBytes}  {bandwidthUpBytes}", + "tooltip-format-linked": "󱘖 {ifname}: No IP Address", + "on-click": "nm-applet --indicator", + "on-click-right": "pkill nm-applet", + "on-scroll-up": "nmcli radio wifi on", + "on-scroll-down": "nmcli radio wifi off" + }, + "bluetooth": { + "format": "󰂯", + "format-connected": "󰂱", + "format-disabled": "󰂲", + "tooltip-format": "{controller_alias} {status}", + "tooltip-format-connected": "󰐻 {num_connections} Connected:\n{device_enumerate}", + "tooltip-format-enumerate-connected-battery": "󰂱 {device_alias} (󰠠 {device_battery_percentage}%)", + "on-click": "blueman-manager", + "on-click-right": "rfkill toggle bluetooth" + } +} diff --git a/.config/waybar/modules/distro.jsonc b/.config/waybar/modules/distro.jsonc new file mode 100644 index 0000000..089f023 --- /dev/null +++ b/.config/waybar/modules/distro.jsonc @@ -0,0 +1,41 @@ +{ + "custom/distro": { + "format": "", + "tooltip": false + }, + "custom/terminal": { + "format": "󰆍", + "on-click": "kitty", + "tooltip": false + }, + "custom/code": { + "format": "󰨞", + "on-click": "code", + "tooltip": false + }, + "custom/obsidian": { + "format": "󰹕", + "on-click": "obsidian", + "tooltip": false + }, + "custom/office": { + "format": "󰏆", + "on-click": "onlyoffice-desktopeditors", + "tooltip": false + }, + "custom/files": { + "format": "", + "on-click": "thunar", + "tooltip": false + }, + "custom/spotify": { + "format": "", + "on-click": "spotify", + "tooltip": false + }, + "custom/browser": { + "format": "", + "on-click": "firefox", + "tooltip": false + } +}