diff --git a/ac-adaptive/config.ini b/ac-adaptive/config.ini index d7978bc..0ba84d4 100644 --- a/ac-adaptive/config.ini +++ b/ac-adaptive/config.ini @@ -145,8 +145,9 @@ font-3 = "Symbols Nerd Font:size=10;3" ; modules-right = 2RD volume 3RD bna 4RD battery 5RD bluetooth sep ethernet 6RD date 7RD sysmenu tray sepR # mReschke -modules-left = sepL menu 1LD workspaces2 2LD cpu 3LD memory 4LD filesystem 5LD -modules-center = mpd i3 +modules-left = sepL menu 1LD workspaces2 2LD cpu 3LD memory 4LD filesystem 5LD mpd +#modules-center = mpd i3 +modules-center = workspace_name modules-right = 2RD ethernet 3RD battery 4RD volume 5RD date 6RD 7RD sysmenu sepR diff --git a/ac-adaptive/modules.ini b/ac-adaptive/modules.ini index c5373e3..f0de27d 100644 --- a/ac-adaptive/modules.ini +++ b/ac-adaptive/modules.ini @@ -440,7 +440,7 @@ type = internal/mpd ; Host where mpd is running (either ip or domain name) ; Can also be the full path to a unix socket where mpd is running. -host = 127.0.0.1 +host = localhost port = 6600 ;;password = mysecretpassword @@ -949,6 +949,20 @@ label-empty-padding = 1 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ +[module/workspace_name] + +; Getting ONLY the CURRENT workspace name in i3 seems only +; possible with a script, which I can tail live every 1 or 2 seconds! + +type = custom/script +exec = ~/.files/scripts/i3-current-workspace-name +tail = true +interval = 2 +format =