add waybar config
This commit is contained in:
32
waybar/modules/backlight.jsonc
Normal file
32
waybar/modules/backlight.jsonc
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"backlight": {
|
||||
// "interval":
|
||||
"format": "{icon} {percent}%",
|
||||
"format-icons": [
|
||||
"", "", "", "", "", "", "", "", ""
|
||||
],
|
||||
"min-length": 7,
|
||||
"max-length": 7,
|
||||
// "align":
|
||||
// "justify":
|
||||
// "rotate":
|
||||
// "states":
|
||||
// "on-click":
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
"on-scroll-up": "~/.config/waybar/scripts/backlight.sh up",
|
||||
"on-scroll-down": "~/.config/waybar/scripts/backlight.sh down",
|
||||
// "smooth-scrolling-threshold":
|
||||
// "reverse-scrolling":
|
||||
// "reverse-mouse-scrolling":
|
||||
// "scroll-step":
|
||||
// "min-brightness":
|
||||
"tooltip": false
|
||||
// "tooltip-format":
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
45
waybar/modules/battery.jsonc
Normal file
45
waybar/modules/battery.jsonc
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"battery": {
|
||||
// "bat":
|
||||
// "adapter":
|
||||
// "design-capacity":
|
||||
// "full-at":
|
||||
// "interval":
|
||||
"states": {
|
||||
"warning": 20,
|
||||
"critical": 10
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-time": "{H}h {M}min",
|
||||
"format-icons": [
|
||||
"", "", "", "", "", "", "", "", "", ""
|
||||
],
|
||||
"format-charging": " {capacity}%",
|
||||
"min-length": 7,
|
||||
"max-length": 7,
|
||||
// "align":
|
||||
// "justify":
|
||||
// "rotate":
|
||||
// "on-click":
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
// "tooltip":
|
||||
"tooltip-format": "<b>Discharging</b>: {time}",
|
||||
"tooltip-format-charging": "<b>Charging</b>: {time}",
|
||||
// "weighted-average":
|
||||
// "bat-compatibility":
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
"events": {
|
||||
"on-discharging-warning": "notify-send 'Battery Low (20%)' -u critical -i 'battery-020' -r 1525",
|
||||
"on-discharging-critical": "notify-send 'Battery Critical (10%)' -u critical -i 'battery-010' -r 1525",
|
||||
"on-charging-100": "notify-send 'Battery Full (100%)' -i 'battery-100-charged'"
|
||||
}
|
||||
}
|
||||
}
|
||||
38
waybar/modules/bluetooth.jsonc
Normal file
38
waybar/modules/bluetooth.jsonc
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"bluetooth": {
|
||||
// "controller":
|
||||
// "format-device-preference":
|
||||
"format": "",
|
||||
"format-disabled": "",
|
||||
"format-off": "",
|
||||
"format-on": "",
|
||||
"format-connected": "",
|
||||
// "format-connected-battery":
|
||||
// "format-no-controller":
|
||||
// "format-icons":
|
||||
// "rotate":
|
||||
"min-length": 2,
|
||||
"max-length": 2,
|
||||
// "align":
|
||||
// "justify":
|
||||
"on-click": "kitty -e ~/.config/waybar/scripts/bluetooth.sh",
|
||||
// "on-click-middle":
|
||||
"on-click-right": "bluetoothctl power off && notify-send 'Bluetooth Off' -i 'network-bluetooth-inactive' -r 1925",
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
// "tooltip":
|
||||
"tooltip-format": "Device Addr: {device_address}",
|
||||
"tooltip-format-disabled": "Bluetooth Disabled",
|
||||
"tooltip-format-off": "Bluetooth Off",
|
||||
"tooltip-format-on": "Bluetooth Disconnected",
|
||||
"tooltip-format-connected": "Device: {device_alias}",
|
||||
"tooltip-format-enumerate-connected": "Device: {device_alias}",
|
||||
"tooltip-format-connected-battery": "Device: {device_alias}\nBattery: {device_battery_percentage}%",
|
||||
"tooltip-format-enumerate-connected-battery": "Device: {device_alias}\nBattery: {device_battery_percentage}%"
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
71
waybar/modules/clock.jsonc
Normal file
71
waybar/modules/clock.jsonc
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"clock#time": {
|
||||
// "interval":
|
||||
"format": "{:%H:%M}",
|
||||
// "timezone":
|
||||
// "timezones":
|
||||
// "locale":
|
||||
"min-length": 5,
|
||||
"max-length": 5,
|
||||
// "rotate": 0,
|
||||
// "on-click":
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
// "tooltip":
|
||||
"tooltip-format": "<b>Standard Time</b>: <span text_transform='lowercase'>{:%I:%M %p}</span>"
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
},
|
||||
|
||||
/*--------------
|
||||
calendar
|
||||
--------------*/
|
||||
|
||||
"clock#date": {
|
||||
// "interval":
|
||||
"format": " {:%d-%m}",
|
||||
// "timezone":
|
||||
// "timezones":
|
||||
// "locale":
|
||||
"min-length": 8,
|
||||
"max-length": 8,
|
||||
// "rotate":
|
||||
// "on-click":
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
// "tooltip":
|
||||
"tooltip-format": "{calendar}",
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
"calendar": {
|
||||
"mode": "month",
|
||||
"mode-mon-col": 6,
|
||||
// "week-pos":
|
||||
// "on-scroll":
|
||||
"format": {
|
||||
"months": "<span alpha='100%'><b>{}</b></span>",
|
||||
"days": "<span alpha='90%'>{}</span>",
|
||||
// "weeks":
|
||||
"weekdays": "<span alpha='80%'><i>{}</i></span>",
|
||||
"today": "<span alpha='100%'><b><u>{}</u></b></span>"
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"on-click": "mode"
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
}
|
||||
}
|
||||
}
|
||||
27
waybar/modules/cpu.jsonc
Normal file
27
waybar/modules/cpu.jsonc
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"format-warning": " {usage}%",
|
||||
"format-critical": " {usage}%",
|
||||
// "format-icons":
|
||||
"min-length": 7,
|
||||
"max-length": 7,
|
||||
// "align":
|
||||
// "justify":
|
||||
// "rotate":
|
||||
"states": {
|
||||
"warning": 75,
|
||||
"critical": 90
|
||||
},
|
||||
// "on-click":
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
"tooltip": false
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
33
waybar/modules/custom/distro.jsonc
Normal file
33
waybar/modules/custom/distro.jsonc
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"custom/distro": {
|
||||
// "exec":
|
||||
// "exec-if":
|
||||
// "exec-on-event":
|
||||
// "hide-empty-text":
|
||||
// "return-type":
|
||||
// "interval":
|
||||
// "restart-interval":
|
||||
// "signal":
|
||||
"format": "",
|
||||
// "format-icons":
|
||||
// "rotate":
|
||||
// "min-length":
|
||||
// "max-length":
|
||||
// "align":
|
||||
// "justify":
|
||||
// "on-click":
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
"tooltip": false
|
||||
// "tooltip-format":
|
||||
// "escape":
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
79
waybar/modules/custom/dividers.jsonc
Normal file
79
waybar/modules/custom/dividers.jsonc
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
/*-------------------
|
||||
left dividers
|
||||
-------------------*/
|
||||
|
||||
"custom/left_div#1": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_div#2": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_div#3": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_div#4": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_div#5": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_div#6": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_div#7": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_div#8": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// inverse
|
||||
"custom/left_inv#1": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_inv#2": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
/*--------------------
|
||||
right dividers
|
||||
--------------------*/
|
||||
|
||||
"custom/right_div#1": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/right_div#2": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/right_div#3": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/right_div#4": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/right_div#5": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// inverse
|
||||
"custom/right_inv#1": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
33
waybar/modules/custom/power_menu.jsonc
Normal file
33
waybar/modules/custom/power_menu.jsonc
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"custom/power_menu": {
|
||||
// "exec":
|
||||
// "exec-if":
|
||||
// "exec-on-event":
|
||||
// "hide-empty-text":
|
||||
// "return-type":
|
||||
// "interval":
|
||||
// "restart-interval":
|
||||
// "signal":
|
||||
"format": "",
|
||||
// "format-icons":
|
||||
// "rotate":
|
||||
// "min-length":
|
||||
// "max-length":
|
||||
// "align":
|
||||
// "justify":
|
||||
"on-click": "kitty -e ~/.config/waybar/scripts/power-menu.sh",
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
// "tooltip":
|
||||
"tooltip-format": "Power Menu"
|
||||
// "escape":
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
33
waybar/modules/custom/system_update.jsonc
Normal file
33
waybar/modules/custom/system_update.jsonc
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"custom/system_update": {
|
||||
"exec": "~/.config/waybar/scripts/system-update.sh module",
|
||||
// "exec-if":
|
||||
// "exec-on-event":
|
||||
// "hide-empty-text":
|
||||
"return-type": "json",
|
||||
"interval": 3600,
|
||||
// "restart-interval":
|
||||
"signal": 1,
|
||||
"format": "{}",
|
||||
// "format-icons":
|
||||
// "rotate":
|
||||
// "align":
|
||||
// "justify":
|
||||
"min-length": 2,
|
||||
"max-length": 2,
|
||||
"on-click": "alacritty -e ~/.config/waybar/scripts/system-update.sh",
|
||||
// "on-click-middle":
|
||||
"on-click-right": "pkill -RTMIN+1 waybar"
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
// "tooltip":
|
||||
// "tooltip-format":
|
||||
// "escape":
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
83
waybar/modules/custom/user.jsonc
Normal file
83
waybar/modules/custom/user.jsonc
Normal file
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"group/user": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"custom/trigger",
|
||||
"custom/user"
|
||||
],
|
||||
"drawer": {
|
||||
// "transition-duration":
|
||||
// "transition-left-to-right":
|
||||
// "children-class":
|
||||
// "click-to-reveal":
|
||||
}
|
||||
},
|
||||
|
||||
"custom/trigger": {
|
||||
// "exec":
|
||||
// "exec-if":
|
||||
// "exec-on-event":
|
||||
// "hide-empty-text":
|
||||
// "return-type":
|
||||
// "interval":
|
||||
// "restart-interval":
|
||||
// "signal":
|
||||
"format": "",
|
||||
// "format-icons":
|
||||
// "rotate":
|
||||
"min-length": 4,
|
||||
"max-length": 4,
|
||||
// "align":
|
||||
// "justify":
|
||||
// "on-click":
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
"tooltip": false
|
||||
// "tooltip-format":
|
||||
// "escape":
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
},
|
||||
|
||||
/*--------------
|
||||
username
|
||||
--------------*/
|
||||
|
||||
"custom/user": {
|
||||
"exec": "id -un",
|
||||
// "exec-if":
|
||||
// "exec-on-event":
|
||||
// "hide-empty-text":
|
||||
// "return-type":
|
||||
// "interval":
|
||||
// "restart-interval":
|
||||
// "signal":
|
||||
"format": "{}",
|
||||
// "format-icons":
|
||||
// "rotate":
|
||||
// "min-length":
|
||||
// "max-length":
|
||||
// "align":
|
||||
// "justify":
|
||||
// "on-click":
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
"tooltip": false
|
||||
// "tooltip-format":
|
||||
// "escape":
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
21
waybar/modules/extras/taskbar.jsonc
Normal file
21
waybar/modules/extras/taskbar.jsonc
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"wlr/taskbar": {
|
||||
// "all-outputs":
|
||||
// "format":
|
||||
// "icon-theme":
|
||||
// "icon-size":
|
||||
// "markup":
|
||||
// "tooltip":
|
||||
// "tooltip-format":
|
||||
// "active-first":
|
||||
// "sort-by-app-id":
|
||||
"on-click": "activate",
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
"ignore-list": [ "kitty" ],
|
||||
// "app_ids-mapping":
|
||||
// "rewrite":
|
||||
"cursor": true
|
||||
}
|
||||
}
|
||||
13
waybar/modules/extras/tray.jsonc
Normal file
13
waybar/modules/extras/tray.jsonc
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"tray": {
|
||||
"icon-size": 16,
|
||||
// "show-passive-items":
|
||||
// "smooth-scrolling-threshold":
|
||||
"spacing": 12,
|
||||
// "reverse-direction":
|
||||
// "on-update":
|
||||
// "expand":
|
||||
// "icons":
|
||||
"cursor": true
|
||||
}
|
||||
}
|
||||
82
waybar/modules/extras/wireplumber.jsonc
Normal file
82
waybar/modules/extras/wireplumber.jsonc
Normal file
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"group/wireplumber": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"wireplumber#output",
|
||||
"wireplumber#input"
|
||||
],
|
||||
"drawer": {
|
||||
// "transition-duration":
|
||||
"transition-left-to-right": false
|
||||
// "children-class":
|
||||
// "click-to-reveal":
|
||||
}
|
||||
},
|
||||
|
||||
/*-------------------
|
||||
output device
|
||||
-------------------*/
|
||||
|
||||
"wireplumber#output": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": " {volume}%",
|
||||
// "format-source":
|
||||
// "format-source-muted":
|
||||
"format-icons": [
|
||||
"", "", ""
|
||||
],
|
||||
// "rotate":
|
||||
// "states":
|
||||
"min-length": 7,
|
||||
"max-length": 7,
|
||||
// "align":
|
||||
// "justify":
|
||||
// "scroll-step":
|
||||
"on-click": "~/.config/waybar/scripts/volume.sh output mute",
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
"on-scroll-up": "~/.config/waybar/scripts/volume.sh output raise",
|
||||
"on-scroll-down": "~/.config/waybar/scripts/volume.sh output lower",
|
||||
// "tooltip":
|
||||
"tooltip-format": "Device: {node_name}",
|
||||
// "max-volume":
|
||||
// "reverse-scrolling":
|
||||
"node-type": "Audio/Sink"
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
},
|
||||
|
||||
/*----------------
|
||||
microphone
|
||||
----------------*/
|
||||
|
||||
"wireplumber#input": {
|
||||
"format": " {volume}%",
|
||||
"format-muted": " {volume}%",
|
||||
// "format-source":
|
||||
// "format-source-muted":
|
||||
// "rotate":
|
||||
// "states":
|
||||
"min-length": 7,
|
||||
"max-length": 7,
|
||||
// "align":
|
||||
// "justify":
|
||||
// "scroll-step":
|
||||
"on-click": "~/.config/waybar/scripts/volume.sh input mute",
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
"on-scroll-up": "~/.config/waybar/scripts/volume.sh input raise",
|
||||
"on-scroll-down": "~/.config/waybar/scripts/volume.sh input lower",
|
||||
// "tooltip":
|
||||
"tooltip-format": "Device: {node_name}",
|
||||
// "max-volume":
|
||||
// "reverse-scrolling":
|
||||
"node-type": "Audio/Source"
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
}
|
||||
}
|
||||
19
waybar/modules/hyprland/window.jsonc
Normal file
19
waybar/modules/hyprland/window.jsonc
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
"rewrite": {
|
||||
"": "Desktop",
|
||||
"kitty": "Terminal",
|
||||
"zsh": "Terminal",
|
||||
"~": "Terminal"
|
||||
},
|
||||
// "separate-outputs":
|
||||
// "icon":
|
||||
// "icon-size":
|
||||
// "min-length":
|
||||
// "max-length":
|
||||
// "tooltip":
|
||||
"swap-icon-label": false
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
12
waybar/modules/hyprland/windowcount.jsonc
Normal file
12
waybar/modules/hyprland/windowcount.jsonc
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"hyprland/windowcount": {
|
||||
"format": "[{}]",
|
||||
// "format-empty":
|
||||
// "format-windowed":
|
||||
// "format-fullscreen":
|
||||
// "separate-outputs":
|
||||
// "min-length":
|
||||
// "max-length":
|
||||
"swap-icon-label": false
|
||||
}
|
||||
}
|
||||
38
waybar/modules/hyprland/workspaces.jsonc
Normal file
38
waybar/modules/hyprland/workspaces.jsonc
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"hyprland/workspaces": {
|
||||
// "active-only":
|
||||
// "hide-active":
|
||||
// "all-outputs":
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"active": "",
|
||||
"default": ""
|
||||
},
|
||||
"persistent-workspaces": {
|
||||
"*": 5
|
||||
},
|
||||
// "persistent-only":
|
||||
// "show-special":
|
||||
// "special-visible-only":
|
||||
// "sort-by":
|
||||
// "window-rewrite":
|
||||
// "window-rewrite-default":
|
||||
// "format-window-separator":
|
||||
"workspace-taskbar": {
|
||||
// "enable":
|
||||
// "update-active-window":
|
||||
// "format":
|
||||
// "icon-size":
|
||||
// "icon-theme":
|
||||
// "orientation":
|
||||
// "ignore-list":
|
||||
// "on-click-window":
|
||||
},
|
||||
// "move-to-monitor":
|
||||
// "ignore-workspaces":
|
||||
"on-scroll-up": "hyprctl dispatch workspace +1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace -1",
|
||||
// "expand":
|
||||
"cursor": true
|
||||
}
|
||||
}
|
||||
30
waybar/modules/idle_inhibitor.jsonc
Normal file
30
waybar/modules/idle_inhibitor.jsonc
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
// "rotate":
|
||||
"min-length": 3,
|
||||
"max-length": 3,
|
||||
// "align":
|
||||
// "justify":
|
||||
// "on-click":
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
// "tooltip":
|
||||
"tooltip-format-activated": "<b>Idle Inhibitor</b>: Activated",
|
||||
"tooltip-format-deactivated": "<b>Idle Inhibitor</b>: Deactivated",
|
||||
"start-activated": false
|
||||
// "timeout":
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
31
waybar/modules/memory.jsonc
Normal file
31
waybar/modules/memory.jsonc
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"memory": {
|
||||
"interval": 10,
|
||||
"format": " {percentage}%",
|
||||
"format-warning": " {percentage}%",
|
||||
"format-critical": " {percentage}%",
|
||||
// "format-icons":
|
||||
// "rotate":
|
||||
"states": {
|
||||
"warning": 75,
|
||||
"critical": 90
|
||||
},
|
||||
"min-length": 7,
|
||||
"max-length": 7,
|
||||
// "align":
|
||||
// "justify":
|
||||
// "on-click":
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
// "tooltip":
|
||||
"tooltip-format": "Memory Used: {used:0.0f}/{total:0.0f} GB"
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
36
waybar/modules/mpris.jsonc
Normal file
36
waybar/modules/mpris.jsonc
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"mpris": {
|
||||
// "player":
|
||||
// "ignored-players":
|
||||
// "interval":
|
||||
"format": "{player_icon} {title} - {artist}",
|
||||
"format-paused": "{status_icon} {title} - {artist}",
|
||||
"tooltip-format": "Playing: {title} - {artist}",
|
||||
"tooltip-format-paused": "Paused: {title} - {artist}",
|
||||
// "enable-tooltip-len-limits":
|
||||
// "on-click":
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
"player-icons": {
|
||||
"default": ""
|
||||
},
|
||||
"status-icons": {
|
||||
"paused": ""
|
||||
},
|
||||
// "artist-len":
|
||||
// "album-len":
|
||||
// "title-len":
|
||||
// "dynamic-len":
|
||||
// "dynamic-order":
|
||||
// "dynamic-separator":
|
||||
// "dynamic-importance-order":
|
||||
// "truncate-hours":
|
||||
// "ellipsis":
|
||||
// "rotate":
|
||||
// "min-length":
|
||||
"max-length": 1000
|
||||
// "align":
|
||||
// "justify":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
40
waybar/modules/network.jsonc
Normal file
40
waybar/modules/network.jsonc
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"network": {
|
||||
// "interface":
|
||||
// "rfkill":
|
||||
"interval": 10,
|
||||
// "family":
|
||||
"format": "",
|
||||
"format-ethernet": "",
|
||||
"format-wifi": "{icon}",
|
||||
// "format-linked":
|
||||
"format-disconnected": "",
|
||||
"format-disabled": "",
|
||||
// "format-alt":
|
||||
"format-icons": [
|
||||
"", "", "", ""
|
||||
],
|
||||
// "rotate":
|
||||
"min-length": 2,
|
||||
"max-length": 2,
|
||||
// "align":
|
||||
// "justify":
|
||||
"on-click": "kitty -e ~/.config/waybar/scripts/network.sh",
|
||||
// "on-click-middle":
|
||||
"on-click-right": "nmcli radio wifi off && notify-send 'Wi-Fi Disabled' -i 'network-wireless-off' -r 1125",
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
// "tooltip":
|
||||
"tooltip-format": "<b>Gateway</b>: {gwaddr}",
|
||||
"tooltip-format-ethernet": "<b>Interface</b>: {ifname}",
|
||||
"tooltip-format-wifi": "<b>Network</b>: {essid}\n<b>IP Addr</b>: {ipaddr}/{cidr}\n<b>Strength</b>: {signalStrength}%\n<b>Frequency</b>: {frequency} GHz",
|
||||
"tooltip-format-disconnected": "Wi-Fi Disconnected",
|
||||
"tooltip-format-disabled": "Wi-Fi Disabled"
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
96
waybar/modules/pulseaudio.jsonc
Normal file
96
waybar/modules/pulseaudio.jsonc
Normal file
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"group/pulseaudio": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"pulseaudio#output",
|
||||
"pulseaudio#input"
|
||||
],
|
||||
"drawer": {
|
||||
// "transition-duration":
|
||||
"transition-left-to-right": false
|
||||
// "children-class":
|
||||
// "click-to-reveal":
|
||||
}
|
||||
},
|
||||
|
||||
/*-------------------
|
||||
output device
|
||||
-------------------*/
|
||||
|
||||
"pulseaudio#output": {
|
||||
"format": "{icon} {volume}%",
|
||||
// "format-bluetooth":
|
||||
"format-muted": "{icon} {volume}%",
|
||||
// "format-source":
|
||||
// "format-source-muted":
|
||||
"format-icons": {
|
||||
"default": [ "", "", "" ],
|
||||
"default-muted": "",
|
||||
"headphone": "",
|
||||
"headphone-muted": "",
|
||||
"headset": "",
|
||||
"headset-muted": ""
|
||||
},
|
||||
// "rotate":
|
||||
// "states":
|
||||
"min-length": 7,
|
||||
"max-length": 7,
|
||||
// "align":
|
||||
// "justify":
|
||||
// "scroll-step":
|
||||
"on-click": "~/.config/waybar/scripts/volume.sh output mute",
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
"on-scroll-up": "~/.config/waybar/scripts/volume.sh output raise",
|
||||
"on-scroll-down": "~/.config/waybar/scripts/volume.sh output lower",
|
||||
// "smooth-scrolling-threshold":
|
||||
// "tooltip":
|
||||
"tooltip-format": "<b>Output Device</b>: {desc}"
|
||||
// "max-volume":
|
||||
// "ignored-sinks":
|
||||
// "reverse-scrolling":
|
||||
// "reverse-mouse-scrolling":
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
},
|
||||
|
||||
/*----------------
|
||||
microphone
|
||||
----------------*/
|
||||
|
||||
"pulseaudio#input": {
|
||||
"format": "{format_source}",
|
||||
// "format-bluetooth":
|
||||
// "format-muted":
|
||||
"format-source": " {volume}%",
|
||||
"format-source-muted": " {volume}%",
|
||||
// "format-icons":
|
||||
// "rotate":
|
||||
// "states":
|
||||
"min-length": 7,
|
||||
"max-length": 7,
|
||||
// "align":
|
||||
// "justify":
|
||||
// "scroll-step":
|
||||
"on-click": "~/.config/waybar/scripts/volume.sh input mute",
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
"on-scroll-up": "~/.config/waybar/scripts/volume.sh input raise",
|
||||
"on-scroll-down": "~/.config/waybar/scripts/volume.sh input lower",
|
||||
// "smooth-scrolling-threshold":
|
||||
// "tooltip":
|
||||
"tooltip-format": "<b>Input Device</b>: {desc}"
|
||||
// "max-volume":
|
||||
// "ignored-sinks":
|
||||
// "reverse-scrolling":
|
||||
// "reverse-mouse-scrolling":
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
35
waybar/modules/temperature.jsonc
Normal file
35
waybar/modules/temperature.jsonc
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"temperature": {
|
||||
"thermal-zone": 1,
|
||||
// "hwmon-path":
|
||||
// "hwmon-path-abs":
|
||||
// "input-filename":
|
||||
// "warning-threshold":
|
||||
"critical-threshold": 90,
|
||||
"interval": 10,
|
||||
// "format-warning":
|
||||
"format-critical": " {temperatureC}°C",
|
||||
"format": "{icon} {temperatureC}°C",
|
||||
"format-icons": [
|
||||
"", "", ""
|
||||
],
|
||||
// "rotate":
|
||||
"min-length": 8,
|
||||
"max-length": 8,
|
||||
// "align":
|
||||
// "justify":
|
||||
// "on-click":
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
// "tooltip":
|
||||
"tooltip-format": "Fahrenheit: {temperatureF}°F"
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user