From b490fe4bea23a89d85509403c9e5a86f2c16173e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 30 Oct 2024 17:38:56 +0300 Subject: trying out niri --- dotfiles/.config/waybar/config | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'dotfiles/.config/waybar') 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='' --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='' --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}" } } -- cgit v1.2.3