summary refs log tree commit diff
path: root/.config/waybar/config.jsonc
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar/config.jsonc')
-rw-r--r--.config/waybar/config.jsonc257
1 files changed, 0 insertions, 257 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc
deleted file mode 100644
index 70ab60f..0000000
--- a/.config/waybar/config.jsonc
+++ /dev/null
@@ -1,257 +0,0 @@
-{
-  "modules-left": ["sway/mode", "sway/workspaces", "mpris"],
-
-  "sway/workspaces": {
-    "format": "{icon}",
-    "format-icons": {
-      "1": "󰄰",
-      "2": "󰍥",
-      "3": "󰃖",
-      "m": "󰎇",
-      "v": "󰿏",
-      "g": "󰺵",
-      "__vnc": "󱒃"
-    }
-  },
-
-  "river/tags": {
-    "format": ":{}",
-    "num-tags": 9
-  },
-
-  "mpris": {
-    "max-width": 60,
-    "format": "{player_icon} {dynamic}",
-    "format-paused": "{status_icon} <i>{dynamic}</i>",
-    "player-icons": {
-      "default": "󰲸",
-      // "firefox": "X",
-      // "mpv": "XX",
-    },
-    "status-icons": {
-      "paused": "󰏤",
-      "playing": "",
-      "stopped": "",
-    }
-  },
-
-  // ------------------------------------------------------------------------ //
-
-  "modules-center": ["custom/weather", "clock#local", "clock#utc", "clock#extra", "custom/timetracked", "custom/hotspots"],
-
-  "custom/weather": {
-    "format": "{icon} {percentage}℃",
-    "format-icons": {
-      "sunny": "󰖙",
-      "partlycloudy": "󰖕",
-      "cloudy": "󰖐",
-      "verycloudy": "󰼯",
-      "fog": "󰖑",
-      "lightrain": "󰖗",
-      "heavyrain": "󰖖",
-      "hail": "󰖒",
-      "thunder": "󰖓",
-      "lightsnow": "󰖘",
-      "heavysnow": "󰼶",
-      "snowrain": "󰙿"
-    },
-    "exec": "$HOME/.config/waybar/modules/weather.sh",
-    "interval": 600,
-    "return-type": "json",
-    "tooltip": true,
-    "on-click": "swx -t env REPORT=1 $HOME/.config/waybar/modules/weather.sh"
-  },
-
-  "clock#local": {
-    "format": "{:<i>%a</i> %d %b <b>%H:%M</b>}",
-    "tooltip-format": "TZ: {:%Z %z}\n\n{calendar}",
-    // "locale": "ja_JP.utf-8"
-    // "locale": "en_US.utf-8"
-  },
-
-  "clock#utc": {
-    "timezone": "UTC",
-    "format": "{:<small>%Z</small> %H:%M}",
-    "tooltip-format": "{:%Z %z}"
-  },
-  "clock#extra": {
-    "timezone": "Asia/Kolkata",
-    "format": "{:<small>%Z</small> %H:%M}",
-    "tooltip-format": "{:%Z %z}"
-  },
-
-  "custom/todo": {
-    "format": "{icon} {}",
-    "format-icons": {
-      "off": "󰒲",
-      "on": "󰈻"
-    },
-    "exec": "env WAYBAR_TODO_FILE=$HOME/.zk/todo.md $HOME/.config/waybar/modules/waybar-todo",
-    "on-click": "pkill -x -USR1 waybar-todo",
-    "on-click-right": "pkill -x -USR2 waybar-todo",
-    "escape": true,
-    "return-type": "json"
-  },
-
-  "custom/timetracked": {
-    "format": "{}",
-    "exec": "$HOME/.config/waybar/modules/timetracked.sh",
-    "on-click": "$HOME/.config/waybar/modules/timetracked.sh on-click",
-    "escape": true,
-    "return-type": "json"
-  },
-
-  "custom/hotspots": {
-    "format": "{}",
-    "exec": "$HOME/.config/waybar/modules/hotspots.sh",
-    "on-click": "$HOME/.config/waybar/modules/hotspots.sh click",
-    "escape": true,
-    "interval": 600,
-    "return-type": "json"
-  },
-
-  // ------------------------------------------------------------------------ //
-  "modules-right": ["tray", "cpu", "memory", "disk#root", "disk#home", "temperature", "idle_inhibitor", "backlight", "pulseaudio", "custom/vpn", "network#tailscale", "network", "battery"],
-
-  "tray": {
-    "icon-size": 15,
-    "spacing": 5
-  },
-
-  "custom/covid": {
-    "format": "{icon} {}",
-    "format-icons": {
-      "": "x",
-      "gray": "󱅼",
-      "green": "󱎷",
-      "yellow": "󱎷",
-      "orange": "󱎷",
-      "red": "󱎷",
-      "darkred": "󱎷",
-      "darkdarkred": "󰯆"
-    },
-    "exec": "$HOME/.config/waybar/modules/covid.sh",
-    "interval": 86400,
-    "return-type": "json"
-  },
-
-  "disk#root": {
-    "path": "/",
-    "format": "󰋊 <small>/ </small>{percentage_used}%"
-  },
-
-  "disk#home": {
-    "path": "/home",
-    "format": "<small>/home </small>{percentage_used}%"
-  },
-
-  "cpu": {
-    "format": "{icon} {usage}%",
-    "format-icons": ["󰊚", "󰀦"],
-    "on-click": "$HOME/bin/swx -t -- btop"
-  },
-
-  "memory": {
-    "format": "{icon} {percentage}%",
-    "format-icons": ["󰘚", "󰀦"], // 󰍛
-    "on-click": "$HOME/bin/swx -t -- btop"
-  },
-
-  "temperature": {
-    "critical-threshold": 100,
-    "format": "{icon} {temperatureC}℃",
-    "format-icons": ["󱃃", "󰔏", "󰸁", "󱜜"]
-  },
-
-  "idle_inhibitor": {
-    "format": "{icon}",
-    "format-icons": {
-      "activated": "󰅶",
-      "deactivated": "󰾪"
-    }
-  },
-
-  "backlight": {
-    "device": "auto",
-    "format": "{icon}",
-    "format-icons": ["󰹐", "󰌶", "󰛩", "󰖧"],
-    "on-scroll-down": "light -A 5",
-    "on-scroll-up": "light -U 5",
-    // save current level
-    // then set to minimum brightness
-    "on-click-right": "light -O; light -S $(light -P)",
-    // revert to previously saved brightness
-    "on-click-middle": "light -I"
-  },
-
-  "custom/gamma": {
-    "format": "{icon}",
-    "format-icons": {
-      "dawn": "󰱌",
-      "day": "󰱌",
-      "dusk": "󰱊",
-      "night": "󰱊",
-    },
-    "exec": "env GAMMA_COMMAND='wlsunset -l $HOME_LAT -L $HOME_LON -p' YAEGI_SYSCALL=1 YAEGI_UNRESTRICTED=1 ${HOME}/.config/waybar/modules/gamma.go",
-    "return-type": "json"
-  },
-
-  "pulseaudio": {
-    "format": "{icon} {volume}%",
-    "format-bluetooth": "{icon}󰂯 {volume}%",
-    "format-muted": "󰝟 {volume}%",
-    "format-icons": {
-      "easyeffects_sink": "󰺢",
-      "headphones": "󰋋",
-      "handsfree": "󰜟",
-      "headset": "󰋎",
-      "phone": "󰏲",
-      "portable": "󰛵",
-      "car": "󰄋",
-      "default": ["󰕿", "󰖀", "󰕾"]
-    },
-    "on-click-right": "soundswitch -m",
-    "on-click-middle": "swx easyeffects",
-    "on-click": "swx -t -F '0.4' pulsemixer"
-  },
-
-  "custom/vpn": {
-    "exec": "${HOME}/.config/waybar/modules/vpn.sh",
-    "interval": 600,
-    "return-type": "json",
-    "on-click": "${HOME}/.config/waybar/modules/vpn.sh toggle",
-  },
-
-  "network#tailscale": {
-    "interface": "tailscale0",
-    "format": "󰌆",
-    "format-disconnected": "󰌊",
-    "tooltip-format": "{ifname}: {bandwidthUpBits} {bandwidthDownBits}",
-    "tooltip-format-disconnected": "disconnected",
-    "on-click": "${HOME}/.config/waybar/modules/tailscale.sh toggle",
-  },
-
-  "network": {
-    "format-wifi": "{icon} {signalStrength}%",
-    "format-icons": ["󰤫", "󰤟", "󰤢", "󰤥", "󰤨"],
-    "format-ethernet": "󰌗",
-    "format-linked": "󰈀 {ifname}",
-    "format-disconnected": "󰌙 ",
-    "tooltip-format": "{ifname}: {ipaddr}/{cidr}\ngateway: {gwaddr}\nssid: {essid}\nsignal: {signaldBm} dbm\ndown: {bandwidthDownBits}\nup: {bandwidthUpBits}",
-    "tooltip-format-disconnected": "disconnected",
-    // cycles through wifi/ethernet/off
-    // "on-click": "${HOME}/.config/waybar/modules/network.sh toggle",
-  },
-
-  "battery": {
-    "states": {
-      "good": 90,
-      "warning": 30,
-      "critical": 15
-    },
-    "format": "{icon} {capacity}%",
-    "format-charging": "󰗱 {capacity}%",
-    "format-full-charging": "󱊦",
-    "format-icons": ["󱃍", "󱊡", "󱊢", "󱊣"]
-  },
-}