mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Compare commits
5 Commits
b07d40ce7c
...
38924d17db
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
38924d17db | ||
|
|
86f05abcce | ||
|
|
798ba175d0 | ||
|
|
b90c31bb54 | ||
|
|
47d0d37673 |
@ -32,7 +32,7 @@
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>Noto Sans Mono</family>
|
||||
<family>Liberatinus Mono</family>
|
||||
<family>Libertinus Mono</family>
|
||||
<family>FontAwesome</family>
|
||||
<family>Braille</family>
|
||||
</prefer>
|
||||
|
||||
@ -14,4 +14,4 @@ else
|
||||
. "$HOME/.xprofile"
|
||||
fi
|
||||
|
||||
ssh-agent dwm
|
||||
exec dbus-launch --exit-with-session dwm
|
||||
|
||||
@ -8,6 +8,7 @@ setbg & # set the background with the `setbg` script
|
||||
#xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & xrdbpid=$! # Uncomment to use Xresources colors/settings on startup
|
||||
|
||||
autostart="mpd xcompmgr dunst unclutter pipewire remapd"
|
||||
eval $(ssh-agent)
|
||||
|
||||
for program in $autostart; do
|
||||
pidof -sx "$program" || "$program" &
|
||||
|
||||
@ -25,9 +25,9 @@ elif [ "$(cat /sys/class/net/w*/operstate 2>/dev/null)" = 'down' ] ; then
|
||||
fi
|
||||
|
||||
# Ethernet
|
||||
[ "$(cat /sys/class/net/e*/operstate 2>/dev/null)" = 'up' ] && ethericon="🌐 " || ethericon="❎ "
|
||||
[ "$(cat /sys/class/net/e*/operstate 2>/dev/null)" = 'up' ] && ethericon="🌐" || ethericon="❎"
|
||||
|
||||
# TUN
|
||||
[ -n "$(cat /sys/class/net/tun*/operstate 2>/dev/null)" ] && tunicon="🔒 "
|
||||
[ -n "$(cat /sys/class/net/tun*/operstate 2>/dev/null)" ] && tunicon=" 🔒"
|
||||
|
||||
printf "%s%s%s\n" "$wifiicon" "$ethericon" "$tunicon"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user