Updated
This commit is contained in:
parent
cc6834268d
commit
f5bd0f992c
2
config.h
2
config.h
@ -24,7 +24,7 @@ static const char *colors[][3] = {
|
|||||||
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
||||||
|
|
||||||
static const Rule rules[] = {
|
static const Rule rules[] = {
|
||||||
{ "Vivaldi", NULL, NULL, 1 << 1, False, 0 },
|
{ "qutebrowser", NULL, NULL, 1 << 1, False, 0 },
|
||||||
{ "Firefox", NULL, NULL, 1 << 1, False, 0 },
|
{ "Firefox", NULL, NULL, 1 << 1, False, 0 },
|
||||||
{ "Thunderbird", NULL, NULL, 1 << 2, False, 0 },
|
{ "Thunderbird", NULL, NULL, 1 << 2, False, 0 },
|
||||||
{ "Steam", NULL, NULL, 1 << 3, False, 0 },
|
{ "Steam", NULL, NULL, 1 << 3, False, 0 },
|
||||||
|
10
dwm_status
10
dwm_status
@ -12,8 +12,10 @@ compton&
|
|||||||
feh --bg-fill $HOME/.wall.jpg &
|
feh --bg-fill $HOME/.wall.jpg &
|
||||||
redshift -l 52.2327:18.3036 -t 6500:3200&
|
redshift -l 52.2327:18.3036 -t 6500:3200&
|
||||||
nm-applet --sm-disable&
|
nm-applet --sm-disable&
|
||||||
/usr/local/bin/st -e /bin/sh -c "tmux new-session -s BASE -n HOME '/bin/zsh'\; split-window -h \; split-window 'htop'\; new-window -n IRC 'irssi'\; new-window -n MUSIC 'cmus'"&
|
#/usr/local/bin/st -e /bin/sh -c "tmux new-session -s BASE -n HOME '/bin/zsh'\; split-window -h \; split-window 'htop'\; new-window -n IRC 'irssi'\; new-window -n MUSIC 'cmus'"&
|
||||||
firefox&
|
/usr/local/bin/st -e /bin/sh -c "tmux new-session -s BASE -n HOME '/bin/zsh'\; split-window -h \; split-window 'htop'\; new-window -n MUSIC 'cmus'"&
|
||||||
|
#firefox&
|
||||||
|
export QT_SCALE_FACTOR=1; qutebrowser&
|
||||||
thunderbird-bin&
|
thunderbird-bin&
|
||||||
sudo keepassxc&
|
sudo keepassxc&
|
||||||
#megasync&
|
#megasync&
|
||||||
@ -45,10 +47,9 @@ print_torrent(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
testweather() {
|
testweather() {
|
||||||
[ "$(stat -c %y "/home/yorune/.weatherreport" 2>/dev/null | cut -d' ' -f1)" != "$(date '+%Y-%m-%d')" ] && curl -s "wttr.in/$location" > "/home/yorune/.weatherreport" && notify-send " Weather" "New weather forecast for today."
|
[ "$(stat -c %y "/home/yorune/.weatherreport" 2>/dev/null | cut -d' ' -f1)" != "$(date '+%Y-%m-%d')" ] && curl -s "wttr.in/$location" > "/home/yorune/.weatherreport"
|
||||||
|
|
||||||
printf "%s " "$(sed '16q;d' "/home/yorune/.weatherreport" | grep -wo "[0-9]*%" | sort -n | sed -e '$!d' | sed -e "s/^/ /g" | tr -d '\n')" && sed '13q;d' "/home/yorune/.weatherreport" | grep -o "m\\(-\\)*[0-9]\\+" | sort -n -t 'm' -k 2n | sed -e 1b -e '$!d' | tr '\n|m' ' ' | awk '{print " ",$1 "°","",$2 "°"}'
|
printf "%s " "$(sed '16q;d' "/home/yorune/.weatherreport" | grep -wo "[0-9]*%" | sort -n | sed -e '$!d' | sed -e "s/^/ /g" | tr -d '\n')" && sed '13q;d' "/home/yorune/.weatherreport" | grep -o "m\\(-\\)*[0-9]\\+" | sort -n -t 'm' -k 2n | sed -e 1b -e '$!d' | tr '\n|m' ' ' | awk '{print " ",$1 "°","",$2 "°"}'
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -75,6 +76,7 @@ print_temp(){
|
|||||||
print_date(){
|
print_date(){
|
||||||
echo -e " $(date +"%d/%m %H:%M")"
|
echo -e " $(date +"%d/%m %H:%M")"
|
||||||
}
|
}
|
||||||
|
|
||||||
print_mail(){
|
print_mail(){
|
||||||
RESULT=$(echo "$(du -a ~/.mailbox/*/inbox/new/* 2>/dev/null | sed -n '$=')$(cat /tmp/imapsyncicon_$USER 2>/dev/null)")
|
RESULT=$(echo "$(du -a ~/.mailbox/*/inbox/new/* 2>/dev/null | sed -n '$=')$(cat /tmp/imapsyncicon_$USER 2>/dev/null)")
|
||||||
if [ -z $RESULT ]; then
|
if [ -z $RESULT ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user