add: i3blocks

fix. aliasrc type
fix: i3status config location
This commit is contained in:
Tobias Reisinger 2020-01-12 01:54:38 +01:00
parent 55f2cf3228
commit f5efc9dff8
4 changed files with 39 additions and 0 deletions

View file

@ -1,3 +1,5 @@
#!/bin/bash
alias aliases='vim ~/.bash_aliases && bashrc-reload' alias aliases='vim ~/.bash_aliases && bashrc-reload'
alias bashrc-reload='source ~/.bashrc' alias bashrc-reload='source ~/.bashrc'

27
.config/i3blocks/config Normal file
View file

@ -0,0 +1,27 @@
# Global properties
full_text=|
align=center
separator=false
separator_block_width=15
[status_mpd]
command=./mpc-status
interval=persist
[separator]
[launch_rocket_league]
full_text=RL
command=xdg-open steam://run/252950 > /dev/null
color=#00ffff
[launch_shell_shock]
full_text=SS
command=xdg-open steam://run/326460 > /dev/null
color=#00ff00
[separator]
[time]
command=date '+%Y-%m-%d %H:%M:%S'
interval=1

10
.config/i3blocks/mpc-status Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
alias mpc-current='mpc -f "%title% - %album% - %artist%" current'
mpc-current
while :
do
mpc-current --wait
done