aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall7
-rwxr-xr-xlocal/bin/elektroline-windows9
-rwxr-xr-xlocal/bin/new-flake-dev2
3 files changed, 16 insertions, 2 deletions
diff --git a/install b/install
index 23887a1..922f47c 100755
--- a/install
+++ b/install
@@ -22,7 +22,6 @@ fi
if ask "git" "Install GIT configuration"; then
inst gitconfig ~/.gitconfig
inst gitignore ~/.gitignore
- inst local/bin/elektroline-git-config ~/.local/bin/elektroline-git-config
fi
if ask "gpg" "Install GPG configuration"; then
@@ -115,6 +114,12 @@ if ask "mpd" "Install MPD configuration"; then
inst config/mpd/ ~/.config/mpd
fi
+if ask "elektroline" "Install Elektroline scripts"; then
+ inst local/bin/elektroline-git-config ~/.local/bin/elektroline-git-config
+ inst local/bin/elektroline-windows ~/.local/bin/elektroline-windows
+ inst local/bin/elektroline00 ~/.local/bin/elektroline00
+fi
+
if ask "wake-desktop" "Install wake-desktop"; then
inst local/bin/wake-desktop ~/.local/bin/wake-desktop
fi
diff --git a/local/bin/elektroline-windows b/local/bin/elektroline-windows
new file mode 100755
index 0000000..07b5a3c
--- /dev/null
+++ b/local/bin/elektroline-windows
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Using SOCS:
+# /proxy:socks5://127.0.0.1:8123
+exec xfreerdp \
+ -decorations /w:1537 /h:903 /kbd:0x00000409 \
+ /d:ELEKTROLINE /u:kkoci \
+ /bpp:24 /audio-mode:0 /sound:sys:alsa /network:lan /rfx /cert-ignore \
+ +clipboard /port:3389 \
+ /v:elvirt00.elektroline.cz /p:"$(pass elektroline.cz/kkoci)"
diff --git a/local/bin/new-flake-dev b/local/bin/new-flake-dev
index a45c86d..2c4a280 100755
--- a/local/bin/new-flake-dev
+++ b/local/bin/new-flake-dev
@@ -4,7 +4,7 @@ if [ -f ./flake.nix ]; then
echo "There is already existing flake.nix file!" >&2
exit 1
fi
-cat >./flake.nix <<EOF
+cat >./flake.nix <<"EOF"
{
outputs = { self, nixpkgs, flake-utils, personal }:
with flake-utils.lib;