diff --git a/dwm.xsession b/dwm.xsession new file mode 100755 index 0000000..5154d1f --- /dev/null +++ b/dwm.xsession @@ -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" diff --git a/tmux_status.laptop b/tmux_status.laptop new file mode 100755 index 0000000..4685d5d --- /dev/null +++ b/tmux_status.laptop @@ -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