i3 wm, i3status, conky Arch как вывести?
Форум — Desktop
Собственно делал все по инструкции.
config в /home/stupid/.i3/ Код бара:
# Start i3bar to display a workspace bar with information
bar {
tray_output primary
colors {
background #222222
statusline #dddddd
separator #666666
# class border backgr text
focused_workspace $color $color #000000
active_workspace #333333 #333333 #06989A
inactive_workspace #333333 #333333 #AD7FA8
urgent_workspace #900000 #900000 #ffffff
}
#i3bar position
position top
№status_command i3status --config ~/.i3/i3status.conf
# Using Conky
status_command /home/stupid/.conkyi3
}
.conkyi3 в домашней дериктории, вида:
#!/bin/sh
echo '{"version":1}'
echo '['
echo '[],'
exec conky -c /home/stupid/.conkyrc
.conkyrc в домашней дериктории, вида:
background no
out_to_console yes
out_to_x no
max_text_width 0
own_window no
update_interval 0.5
total_run_times 0
short_units yes
if_up_strictness address
use_spacer right
override_utf8_locale no
cpu_avg_samples 2
TEXT
,[
#Pacman
{"full_text":" ","color":"\#AEB404","separator":false,"separator_block_width":6},\
{"full_text":"[${execi 200 checkupdates | wc -l}]","color":"\#808080","separator":false,"separator_block_width":6},\
#AUR
{"full_text":" ","color":"\#AEB404","separator":false,"separator_block_width":6},\
{"full_text":"[${execi 1900 cower -u | wc -l}]","color":"\#808080","separator":false,"separator_block_width":6},\
#Kernel
{"full_text":" ","color":"\#FF4000","separator":false,"separator_block_width":6},\
{"full_text":"[${kernel}]","color":"\#808080","separator":false,"separator_block_width":6},\
#{ "full_text": ": ${kernel}","color":"\#FF4000"},
#Wifi
#{"full_text":" ","color":"\#00FF00","separator":false,"separator_block_width":6},\
#{"full_text":"[${upspeed wlp2s0}]","color":"\#808080","separator":false,"separator_block_width":6},\
#{"full_text": ": [${upspeed wlp2s0}] ", "color":"\#00FF00", "separator": false, "separator_block_width":6},\
#Finds current volume. May need modified depending on your setup
{"full_text":" ","color":"\#268BD2","separator":false,"separator_block_width":6},\
{"full_text":"${exec amixer -c 0 get Master | grep Mono: | cut -d " " -f6} ","color":"\#808080","separator":false,"separator_block_width":6},\
#{"full_text": ": ${exec amixer -c 0 get Master | grep Mono: | cut -d " " -f6} ", "color":"\#268BD2"},
#Brighness
{"full_text":" ","color":"\#F7FE2E","separator":false,"separator_block_width":6},\
{"full_text":"[${exec xbacklight| awk '{printf("%d\n",$1 + 0.5)}'}%] ","color":"\#808080","separator":false,"separator_block_width":6},\
#{ "full_text": ": ${exec xbacklight| awk '{printf("%d\n",$1 + 0.5)}'}% ", "color":"\#F7FE2E"},
#CPU
#{"full_text":" ","color":"\#8D00FF","separator":false,"separator_block_width":6},\
#{"full_text":"[$cpu%]","color":"\#808080","separator":false,"separator_block_width":6},\
#{"full_text": " :[$cpu%] ", "color":"\#8D00FF", "separator": false, "separator_block_width":6},\
#Battery
{"full_text":" ","color":"\#FF0000","separator":false,"separator_block_width":6},\
{"full_text":"[${battery_percent BAT1}%]","color":"\#808080","separator":false,"separator_block_width":6},\
#{"full_text": ":[${battery_percent BAT1}%] ","color":"\#dedede"},
#Calender/time
{"full_text":" ","color":"\#2E9AFE","separator":false,"separator_block_width":6},\
{"full_text":"${time %a %b %d}","color":"\#808080","separator":false},\
#{"full_text": " :${time %a %d %b} ${time %H:%M:%S} ","color": "\#2E9AFE", "separator": false},
{"full_text":" ","color":"\#0404B4","separator":false,"separator_block_width":6},\
{"full_text":"${time %H:%M:%S} ","color":"\#808080","separator":false}
]
В данном примере, выдает ошибку и сразу слетает i3 пенель, что не так?