Add different i3bar on secondary screen

master
Jonathan Hodgson 7 years ago
parent f2e0fb9a94
commit 8b180f313e
  1. 17
      i3/configWork
  2. 57
      i3/i3blocks-secondary.conf

@ -251,6 +251,23 @@ bar {
} }
} }
bar {
#status_command i3status
status_command i3blocks -c ~/.dotfiles/i3/i3blocks-secondary.conf
output HDMI-1
tray_output none
colors {
separator $base03
background $base01
statusline $base05
# border background text
focused_workspace $base01 $base01 $base07
active_workspace $base01 $base02 $base03
inactive_workspace $base01 $base01 $base03
urgent_workspace $base01 $base01 $base08
}
}
#Use xfce4 panel instead of i3's #Use xfce4 panel instead of i3's
#exec --no-startup-id xfce4-panel --disable-wm-check #exec --no-startup-id xfce4-panel --disable-wm-check

@ -0,0 +1,57 @@
# i3blocks config file
#
# Please see man i3blocks for a complete reference!
# The man page is also hosted at http://vivien.github.io/i3blocks
#
# List of valid properties:
#
# align
# color
# command
# full_text
# instance
# interval
# label
# min_width
# name
# separator
# separator_block_width
# short_text
# signal
# urgent
# Global properties
#
# The top properties below are applied to every block, but can be overridden.
# Each block command defaults to the script name to avoid boilerplate.
command=/usr/lib/i3blocks/$BLOCK_NAME
separator_block_width=15
markup=none
# Key indicators
#
# Add the following bindings to i3 config file:
#
# bindsym --release Caps_Lock exec pkill -S5
# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
[keyindicator]
instance=CAPS
interval=once
signal=11
# Generic media player support
#
# This displays "ARTIST - SONG" if a music is playing.
# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
[mediaplayer]
instance=spotify
interval=5
signal=10
# Date Time
#
[time]
command=date '+%A %Y-%m-%d %H:%M:%S'
interval=1
Loading…
Cancel
Save