From 8b180f313e2632c16166d0087570c79cf4b4c17b Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Tue, 1 May 2018 10:19:19 +0100 Subject: [PATCH] Add different i3bar on secondary screen --- i3/configWork | 17 ++++++++++++ i3/i3blocks-secondary.conf | 57 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 i3/i3blocks-secondary.conf diff --git a/i3/configWork b/i3/configWork index 1eaec28a..4c325265 100644 --- a/i3/configWork +++ b/i3/configWork @@ -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 #exec --no-startup-id xfce4-panel --disable-wm-check diff --git a/i3/i3blocks-secondary.conf b/i3/i3blocks-secondary.conf new file mode 100644 index 00000000..c2bee92a --- /dev/null +++ b/i3/i3blocks-secondary.conf @@ -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 +