Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i set background for element language layout (its not visible with yours settings) #20

Open
HappyCthulhu opened this issue Sep 12, 2021 · 0 comments

Comments

@HappyCthulhu
Copy link

HappyCthulhu commented Sep 12, 2021

Language layout is not visible with your i3status settings

I can:

  1. change color of all status text elements and background. I dont want to do it, because your colors is fine, i cant do it better
  2. set background color for layout. But how can i set background for element, that controls by _change_layouts script?

config:

# Start i3bar to display a workspace bar (plus the system information i3status
bar {
	status_command i3status --config $HOME/.config/i3/i3status.conf  | /bin/_change_layouts

    # status_command /bin/_change_layouts
	position top

    colors {
    background #2f343f
    # statusline старого цвета. Нужно заменить, когда цвет шрифта i3status изменю
    statusline #2f343f
    separator #4b5262

    # colour of border, background, and text
    focused_workspace   #2f343f #bf616a #d8dee8
    active_workspace    #2f343f #2f343f #d8dee8
    inactive_workspace  #2f343f #2f343f #d8dee8
    urgent_workspace    #2f343f #ebcb8b #2f343f
    }

}

script /bin/_change_layouts:

#!/bin/env bash

set -e

while :
do
    read line
    block="{\"full_text\":\"$(xkb-switch)\"}"
    echo "${line/\[\{/\[$block,\{}" || exit 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant