Compare commits

...

5 Commits

Author SHA1 Message Date
Lalle
38924d17db
Merge b90c31bb54a05a1307b12f45540380477dcf78da into 86f05abcce1fd270032975775adb40040c746cfe 2023-08-25 23:00:11 +01:00
appeasementPolitik
86f05abcce
Fix the extra space between sb-internet and the block on the right of sb-internet (#1352) 2023-08-25 07:56:50 +00:00
Alessio Artoni
798ba175d0
Fix wrong font name (#1353) 2023-08-25 07:53:59 +00:00
Lalle
b90c31bb54
Add ssh-agent 2023-06-21 18:09:52 +02:00
Lalle
47d0d37673
Launch dwm in a dbus session 2023-06-21 17:54:42 +02:00
4 changed files with 5 additions and 4 deletions

View File

@ -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>

View File

@ -14,4 +14,4 @@ else
. "$HOME/.xprofile"
fi
ssh-agent dwm
exec dbus-launch --exit-with-session dwm

View File

@ -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" &

View File

@ -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"