diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2024-10-30 17:38:56 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2024-10-30 17:38:56 +0300 |
commit | b490fe4bea23a89d85509403c9e5a86f2c16173e (patch) | |
tree | c63deb4401da98ba717fa17e7eb013f7edc4bb56 /dotfiles/.config/waybar/config | |
parent | b21dc7fcd29a0bb5239c5fb07e8cf08720f3b5e2 (diff) | |
download | swayrice-b490fe4bea23a89d85509403c9e5a86f2c16173e.tar.gz swayrice-b490fe4bea23a89d85509403c9e5a86f2c16173e.zip |
trying out niri
Diffstat (limited to 'dotfiles/.config/waybar/config')
-rw-r--r-- | dotfiles/.config/waybar/config | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config index 1422b05..7d7a192 100644 --- a/dotfiles/.config/waybar/config +++ b/dotfiles/.config/waybar/config @@ -1,9 +1,10 @@ // vim: filetype=json { "layer": "bottom", - "height": 30, + "height": 32, "modules-left": [ "sway/workspaces", + "niri/workspaces", "sway/mode", "custom/waybar-mpris", "pulseaudio" @@ -14,17 +15,15 @@ ], "modules-right": [ "custom/rec-status", + "niri/language", "custom/swaykbd", - "custom/ds4battery", "custom/mail-status", "custom/pac-status", - "custom/news-status", "memory", "backlight", "battery#bat0", "battery#bat1", "custom/batwatt", - "custom/torrent-status", "network", "tray" ], @@ -33,7 +32,7 @@ }, "custom/waybar-mpris": { "return-type": "json", - "exec": "waybar-mpris --autofocus --text-format=\"%i [%p] %a - %t\" --tooltip-format=\"%t by %a from %A\n%p/%d\n(%P)\" --pause='<span color=\"#5b8277\"></span>' --play='' --max-title 45", + "exec": "waybar-mpris --autofocus --text-format=\"%i [%p] %a - %t\" --tooltip-format=\"%t by %a from %A\n%p/%d\n(%P)\" --pause='<span color=\"#5b8277\"></span>' --play='' --max-title 30", "on-click": "lmc toggle", "on-click-right": "lmc next" }, @@ -230,5 +229,8 @@ "format": "{}", "exec": "swaykbd", "tooltip": false + }, + "niri/language": { + "format": "⌨️ {short}" } } |