Merge branch 'master' of github.com:GeoffreyFrogeye/dotfiles
This commit is contained in:
commit
ef4a6282d6
|
@ -315,7 +315,7 @@ mode "$mode_screen_HDMI1" {
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status if available)
|
# Start i3bar to display a workspace bar (plus the system information i3status if available)
|
||||||
bar {
|
bar {
|
||||||
mode hide
|
mode hide
|
||||||
status_command i3status
|
status_command ~/.config/i3status/status.sh
|
||||||
# wheel_up_cmd nop
|
# wheel_up_cmd nop
|
||||||
# wheel_down_cmd nop
|
# wheel_down_cmd nop
|
||||||
font pango:DejaVu Sans Mono 9
|
font pango:DejaVu Sans Mono 9
|
||||||
|
|
7
config/i3status/status.sh
Executable file
7
config/i3status/status.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
i3status | (read line && echo $line && read line && echo $line && while :
|
||||||
|
do
|
||||||
|
read line
|
||||||
|
dat=$(cat /etc/hostname)
|
||||||
|
dat="[{ \"full_text\": \"${dat}\" },"
|
||||||
|
echo "${line/[/$dat}" || exit 1
|
||||||
|
done)
|
Loading…
Reference in a new issue