aboutsummaryrefslogtreecommitdiff
path: root/local/bin
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2025-03-31 17:41:31 +0200
committerKarel Kočí <cynerd@email.cz>2025-03-31 17:49:15 +0200
commit09380ff2027576c6422389b92b0fbb26caecf36f (patch)
treebebf1fc37e79fb21cc12ddc6aa78629f630630ba /local/bin
parent44e6b71f7f6cc01b3578e7d03dbe61a8e0bdd566 (diff)
downloadmyconfigs-master.tar.gz
myconfigs-master.tar.bz2
myconfigs-master.zip
General update of the configurationHEADmaster
Diffstat (limited to 'local/bin')
-rwxr-xr-xlocal/bin/elektroline-windows4
-rwxr-xr-xlocal/bin/elektroline0024
2 files changed, 14 insertions, 14 deletions
diff --git a/local/bin/elektroline-windows b/local/bin/elektroline-windows
index 59c548b..5a13732 100755
--- a/local/bin/elektroline-windows
+++ b/local/bin/elektroline-windows
@@ -9,8 +9,8 @@ fi
exec xfreerdp \
"${args[@]}" \
- -decorations /w:1537 /h:903 /kbd:0x00000409 \
+ -decorations /w:1700 /h:1000 \
/d:ELEKTROLINE /u:kkoci \
- /bpp:24 /audio-mode:0 /sound:sys:alsa /network:lan /rfx /cert-ignore \
+ /bpp:24 /audio-mode:0 /sound:sys:alsa /network:lan /rfx \
+clipboard /port:3389 \
/v:elvirt00.elektroline.cz /p:"$(pass elektroline.cz/kkoci)"
diff --git a/local/bin/elektroline00 b/local/bin/elektroline00
index b06ae4e..0d6520b 100755
--- a/local/bin/elektroline00
+++ b/local/bin/elektroline00
@@ -8,21 +8,21 @@ usage() {
umount="n"
while getopts "u" opt; do
case "$opt" in
- u)
- umount="y"
- ;;
- *)
- usage
- exit 2
- ;;
+ u)
+ umount="y"
+ ;;
+ *)
+ usage
+ exit 2
+ ;;
esac
done
if [ "$umount" = "n" ]; then
- sudo mkdir -p "$path"/{company,elektro_doc,czelldata}
- sudo mount.cifs -o username=kkoci "//Elektroline00/company" "$path/company"
- sudo mount.cifs -o username=kkoci "//Elektroline00/elektro_doc" "$path/elektro_doc"
- sudo mount.cifs -o username=kkoci "//czelldata/Share" "$path/czelldata"
+ sudo mkdir -p "$path"
+ sudo mount.cifs -o username=kkoci,uid=1000 "//czelldata.elektroline.cz/Share" "$path"
+ #sudo mount.cifs -o username=kkoci "//Elektroline00/company" "$path/company"
+ #sudo mount.cifs -o username=kkoci "//Elektroline00/elektro_doc" "$path/elektro_doc"
else
- sudo umount "$path/company" "$path/elektro_doc"
+ sudo umount "$path"
fi