Added NM dispatcher script for nfs, zshrc alias, i3 changed WS names, polybar updated for own colors and added & changed blocks
This commit is contained in:
15
nmdispatcher/90-media.sh
Executable file
15
nmdispatcher/90-media.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
REMOTE='192.168.1.2:/'
|
||||
LOCAL='/media'
|
||||
|
||||
interface=$1 status=$2
|
||||
if [ "$CONNECTION_UUID" = "7e64138d-bb9f-4869-9140-6c8276895990" ]; then
|
||||
case $status in
|
||||
up)
|
||||
mount $REMOTE $LOCAL
|
||||
;;
|
||||
down)
|
||||
umount /media
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
Reference in New Issue
Block a user