summaryrefslogtreecommitdiff
path: root/home/.config/waybar/config
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-04-14 06:38:49 +0200
committerBotond Hende <nettingman@gmail.com>2024-04-14 06:38:49 +0200
commit0221492f62bcc1b766c2a4d5dbe26f6ff2ed8bc2 (patch)
treef91b7ada571a4dab7ae99c8f3ee252616baff2db /home/.config/waybar/config
squashed init
Diffstat (limited to 'home/.config/waybar/config')
-rw-r--r--home/.config/waybar/config46
1 files changed, 46 insertions, 0 deletions
diff --git a/home/.config/waybar/config b/home/.config/waybar/config
new file mode 100644
index 0000000..6c3897a
--- /dev/null
+++ b/home/.config/waybar/config
@@ -0,0 +1,46 @@
+{
+ "position": "bottom", // Waybar position (top|bottom|left|right)
+ "height": 30, // Waybar height (to be removed for auto height)
+ "modules-left": ["custom/osname", "sway/workspaces"],
+ "include" : ["~/.config/waybar/additional.d/*"],
+ // Modules configuration
+ "custom/osname": {
+ "format": " w<span color=\"#3685D0\"></span>zul "
+ },
+ "tray": {
+ // "icon-size": 21,
+ "spacing": 10
+ },
+ "clock": {
+ // "timezone": "America/New_York",
+ "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
+ "format" : "{:%Y-%m-%d, %a %H:%M}",
+ "format-alt": "{:%H:%M}",
+ "locale": "en_GB.UTF-8"
+ },
+ "pulseaudio": {
+ // "scroll-step": 1, // %, can be a float
+ "format": "{volume}% {icon} {format_source}",
+ "format-bluetooth": "{volume}% {icon} {format_source}",
+ "format-bluetooth-muted": " {icon} {format_source}",
+ "format-muted": " {format_source}",
+ "format-source": "{volume}% ",
+ "format-source-muted": "",
+ "format-icons": {
+ "headphone": "",
+ "hands-free": "",
+ "headset": "",
+ "phone": "",
+ "portable": "",
+ "car": "",
+ "default": ["", "", ""]
+ },
+ "on-click": "pavucontrol"
+ },
+ "custom/sshd": {
+ "format" : " {}",
+ "exec" : "bash $HOME/.selfconfigs/waybar/sshd_poll",
+ "return-type" : "json",
+ "interval" : 60
+ }
+}