Load host-specific i3blocks config, remove config from public repo

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-08-23 10:53:23 +02:00
parent 25f0183af2
commit 0ce6fdf969
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D
2 changed files with 2 additions and 102 deletions

View file

@ -175,16 +175,10 @@ mode "resize" {
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
# Execute autostart DesktopEntries
exec dex -ae i3 exec dex -ae i3
bar { bar {
position top position top
status_command envrun --env-file ${HOME}/.config/i3blocks.env -- i3blocks status_command envrun --env-file ${HOME}/.config/i3blocks.env -- i3blocks -c ${HOME}/.config/i3blocks/config.`hostname`
#status_command 2>/tmp/i3blocks.err i3blocks -vvv | tee /tmp/i3blocks.out
} }
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
# bar {
# status_command i3status
# }

View file

@ -1,94 +0,0 @@
# 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=$HOME/.config/i3blocks/$BLOCK_NAME
separator_block_width=15
markup=pango
[mpd]
interval=5
[spotify]
interval=5
[mondash]
instance=$env_MONDASH_PRIVATE
interval=30
[mondash]
instance=$env_MONDASH_ARCHNAS
interval=30
[mondash]
instance=$env_MONDASH_INFRA
interval=30
[mondash]
instance=$env_MONDASH_FWWEDEL
interval=30
[twitch_donations]
interval=120
[food_budget]
interval=120
[github]
interval=300
[arch-update]
interval=600
[disk]
interval=30
[volume]
interval=1
[keyboard]
interval=2
[mem]
interval=30
[load]
interval=30
[vpn]
interval=5
[wifi]
interval=5
[battery]
interval=10
[temp]
interval=10
[time]
interval=1