aboutsummaryrefslogtreecommitdiff
path: root/home-manager/laptop/programs/waybar/config.jsonc
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/laptop/programs/waybar/config.jsonc')
-rw-r--r--home-manager/laptop/programs/waybar/config.jsonc94
1 files changed, 94 insertions, 0 deletions
diff --git a/home-manager/laptop/programs/waybar/config.jsonc b/home-manager/laptop/programs/waybar/config.jsonc
new file mode 100644
index 0000000..84aeafd
--- /dev/null
+++ b/home-manager/laptop/programs/waybar/config.jsonc
@@ -0,0 +1,94 @@
+{
+ "layer": "top", // Waybar at top layer
+ "height": 40, // Waybar height (to be removed for auto height)
+ "spacing": 8, // Gaps between modules (4px)
+ "margin-top": 20,
+ "margin-left": 20,
+ "margin-right": 20,
+ "margin-down": 5,
+ "modules-left": ["hyprland/workspaces"],
+ "modules-center": ["clock"],
+ "modules-right": ["network", "memory", "backlight", "pulseaudio", "hyprland/language", "tray", "battery"],
+
+ "hyprland/workspaces": {
+ "format": "{icon}",
+ "on-click": "activate",
+ "all-outputs": false,
+ "format-icons": {
+ "1": "α",
+ "2": "β",
+ "3": "γ",
+ "4": "δ",
+ "5": "ε",
+ "urgent": "λ",
+ "focused": "σ",
+ "default": "ω"}
+ },
+ "hyprland/language": {
+ "format": "{} <span font-family='Material Design Icons' rise='-1000' size='medium'>󰌌</span>",
+ "format-ru": "ru",
+ "format-en": "en"
+ },
+ "tray": {
+ "spacing": 10
+ },
+ "clock": {
+ // "timezone": "America/New_York",
+ "format": "{:%H:%M 󰅐}",
+ "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
+ "format-alt": "{:%d %h %Y 󰃮}",
+ "on-click": "killall calcure || alacritty -t calcure -e calcure;sudo ydotool click 0xc1"
+ },
+ "memory": {
+ "format": "{}% ",
+ "on-click": "killall btop || alacritty -t btop -e btop;sudo ydotool click 0xc1"
+ },
+ "backlight": {
+ // "device": "acpi_video1",
+ "format": "{percent}% {icon}",
+ "format-icons": ["󰃞", "󰃟", "󰃠"]
+ },
+ "battery": {
+ "states": {
+ // "good": 95,
+ "warning": 30,
+ "critical": 15
+ },
+ "format": "{capacity}% {icon}",
+ "format-charging": "{capacity}% 󰂄",
+ "format-plugged": "{capacity}% ",
+ "format-alt": "{icon}",
+ // "format-good": "", // An empty format will hide the module
+ // "format-full": "",
+ "format-icons": ["󱃍", "󰁼", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"],
+ },
+ "network": {
+ // "interface": "wlp2*", // (Optional) To force the use of this interface
+ "format-wifi": "{essid} ({signalStrength}%) 󰤨",
+ "format-ethernet": "{ipaddr}/{cidr} ",
+ "tooltip-format": "{ifname} via {gwaddr} ",
+ "format-linked": "{ifname} (No IP) ",
+ "format-disconnected": "󰤫",
+ "on-click": "killall connman-gtk || connman-gtk;sudo ydotool click 0xc1"
+ },
+ "pulseaudio": {
+ // "scroll-step": 1, // %, can be a float
+ "format": "{volume}% {icon} {format_source}",
+ "format-bluetooth": "{volume}% <span font-family='Material Design Icons' rise='-2000' font-size='x-large'>󰥰</span> {format_source}",
+ "format-bluetooth-muted": "󰟎 {format_source}",
+ "format-muted": "󰝟 {format_source}",
+ "format-source": "{volume}% 󰍬",
+ "format-source-muted": "󰍭",
+ "format-icons": {
+ "headphone": "󰋋",
+ "hands-free": "",
+ "headset": "",
+ "phone": "",
+ "portable": "",
+ "car": "",
+ "muted-icon": "󰝟",
+ "default": ["󰕿", "󰖀", "󰕾"]
+ },
+ "on-click": "killall bluetuith || alacritty -t blue -e bluetuith; sudo ydotool click 0xc1"
+ },
+}