Added xsession and tmux_status files
This commit is contained in:
parent
2f0e1af64b
commit
7ad96623fe
13
dwm.xsession
Executable file
13
dwm.xsession
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
xrdb -merge $HOME/.Xresources
|
||||||
|
|
||||||
|
# Use DWM
|
||||||
|
while true
|
||||||
|
do
|
||||||
|
$HOME/bin/dwm_status
|
||||||
|
sleep 10s
|
||||||
|
done &
|
||||||
|
feh --bg-fill $HOME/.config/wallpaper.jpg &
|
||||||
|
picom -cCGf &
|
||||||
|
exec $HOME/apps/bin/dwm "#662211"
|
17
tmux_status.laptop
Executable file
17
tmux_status.laptop
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# vim: filetype=sh
|
||||||
|
|
||||||
|
#while true; do
|
||||||
|
|
||||||
|
VOL=$(amixer get Master | tail -1 | sed 's/.*\[\([0-9]*%\)\].*/\1/')
|
||||||
|
LOCALTIME=$(date +"%Y %h %d %I:%M%p %Z")
|
||||||
|
IP=$(for i in `ip r`; do echo $i; done | grep -A 1 src | tail -n1)
|
||||||
|
WEATHER=$(weather fips4105192520 | grep Tempera | awk '{print $2}')
|
||||||
|
BAT=$(acpi -b | awk '{ print $4 " " $5 }' | tr -d ',')
|
||||||
|
|
||||||
|
echo "$IP ${WEATHER}°F"
|
||||||
|
|
||||||
|
#sleep 30
|
||||||
|
|
||||||
|
#done
|
Loading…
Reference in New Issue
Block a user