config update
This commit is contained in:
parent
35e2ecad65
commit
f48e03f075
7 changed files with 41 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
shadow-opacity = 0.7;
|
||||
shadow-opacity = 0;
|
||||
shadow = true;
|
||||
shadow-radius = 0;
|
||||
shadow-offset-x = -2;
|
||||
|
|
|
@ -184,8 +184,8 @@ bindsym $mod+r mode "resize"
|
|||
#}
|
||||
bar {
|
||||
font xft:DejaVu Sans Mono 8
|
||||
#status_command i3blocks -c ~/.i3/i3blocks.conf
|
||||
status_command i3status
|
||||
status_command i3blocks -c ~/.config/i3/i3blocks.conf
|
||||
#status_command i3status
|
||||
colors {
|
||||
# separator #268bd2
|
||||
background #111111
|
||||
|
@ -245,6 +245,7 @@ hide_edge_borders both
|
|||
#exec --no-startup-id xcompmgr -c -n
|
||||
exec --no-startup-id compton
|
||||
exec --no-startup-id pasystray
|
||||
exec --no-startup-id /usr/bin/xbattbar -a -c -t 2 -I "#333333" -O white -i white -o "#333333"
|
||||
#exec --no-startup-id unclutter -idle 5 -jitter 20
|
||||
#exec --no-startup-id xrdb ~/.Xresources
|
||||
#exec --no-startup-id redshift -l -18:33
|
||||
|
|
28
.config/i3/i3blocks.conf
Normal file
28
.config/i3/i3blocks.conf
Normal file
|
@ -0,0 +1,28 @@
|
|||
#[click]
|
||||
#full_text=Click me!
|
||||
#command=echo "Got clicked with button $button"
|
||||
#color=#F79494
|
||||
|
||||
# Guess the weather hourly
|
||||
#[weather]
|
||||
#command=curl -Ss 'https://wttr.in?0&T&Q' | cut -c 16- | head -2 | xargs echo
|
||||
#interval=3600
|
||||
#color=#A4C2F4
|
||||
|
||||
# exchange rate(s)
|
||||
[xrate]
|
||||
command=~/.config/i3/scripts/xrate.py
|
||||
interval=3600
|
||||
color=#A4C2F4
|
||||
|
||||
# Query my default IP address only on startup
|
||||
[ip]
|
||||
#command=hostname -i | awk '{ print "IP:" $1 }'
|
||||
command=curl -s ipinfo.io | awk '/city/ { split($0, e, "\""); print e[4]; }'
|
||||
interval=3600
|
||||
color=#91E78B
|
||||
|
||||
# Update time every 5 seconds
|
||||
[time]
|
||||
command=date +%T
|
||||
interval=5
|
5
.config/i3/scripts/xrate.py
Executable file
5
.config/i3/scripts/xrate.py
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/python3.8
|
||||
|
||||
import yfinance as yf
|
||||
eurzar = yf.Ticker('EURZAR=X')
|
||||
print(round(eurzar.history(period="1m").Close.to_list()[0], 4))
|
3
.lbdbrc
3
.lbdbrc
|
@ -1,2 +1,3 @@
|
|||
export VCF_FILES=~/.rolo/contacts.vcf
|
||||
export METHODS="m_vcf"
|
||||
export MUTTALIAS_FILES=~/MAIL/muttrc.aliases
|
||||
export METHODS="m_vcf, m_muttalias"
|
||||
|
|
|
@ -5,7 +5,7 @@ macro y set browser "~/.newsboat/scripts/enq.sh %u"; open-in-browser ; set brows
|
|||
|
||||
# general settings
|
||||
auto-reload yes
|
||||
max-items 50
|
||||
max-items 100
|
||||
|
||||
# unbind keys
|
||||
unbind-key ENTER
|
||||
|
|
|
@ -152,6 +152,7 @@ set -g status-justify centre # left
|
|||
# outside of Xorg, otherwise dwm statusbar shows these already
|
||||
# set -g status-right "" # ThG: conflicts with time display
|
||||
set -g status-left ""
|
||||
set -g status-right ""
|
||||
if '[ -z "$DISPLAY" ]' 'set -g status-left "[#[fg=green] #H #[default]]"'
|
||||
if '[ -z "$DISPLAY" ]' 'set -g status-right "[ #[fg=magenta]#(cat /proc/loadavg | cut -d \" \" -f 1,2,3)#[default] ][ #[fg=cyan,bright]%a %Y-%m-%d %H:%M #[default]]"'
|
||||
if '[ -z "$DISPLAY" ]' 'set -g status-right-length 50'
|
||||
|
|
Loading…
Reference in a new issue