Updated files. UPdated live update script.
This commit is contained in:
1
etc/sudoers.d/fenrir
Normal file
1
etc/sudoers.d/fenrir
Normal file
@@ -0,0 +1 @@
|
||||
%wheel ALL=(ALL) NOPASSWD: /usr/bin/systemctl start fenrirscreenreader.service, /usr/bin/systemctl stop fenrirscreenreader.service
|
||||
1
etc/sudoers.d/wheel
Normal file
1
etc/sudoers.d/wheel
Normal file
@@ -0,0 +1 @@
|
||||
%wheel ALL=(ALL) NOPASSWD: ALL
|
||||
3
etc/systemd/system/getty@tty1.service.d/override.conf
Normal file
3
etc/systemd/system/getty@tty1.service.d/override.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=-/usr/bin/agetty --autologin stormux --noclear %I $TERM
|
||||
17
home/stormux/.xbindkeysrc
Normal file
17
home/stormux/.xbindkeysrc
Normal file
@@ -0,0 +1,17 @@
|
||||
"pkill -15 Xorg"
|
||||
Control+Alt + BackSpace
|
||||
|
||||
"pgrep -c barnard &> /dev/null && echo 'talk' | sudo -u stormux tee /home/stormux/.config/barnard/cmd &> /dev/null"
|
||||
Super_L
|
||||
|
||||
"pgrep -c barnard &> /dev/null && echo 'talk' | sudo -u stormux tee /home/stormux/.config/barnard/cmd &> /dev/null"
|
||||
Super_R
|
||||
|
||||
"/usr/local/bin/ocr.py"
|
||||
Alt + F5
|
||||
|
||||
"spd-say -C"
|
||||
Shift + Alt + F5
|
||||
|
||||
"/usr/local/bin/record.sh"
|
||||
Shift + F3
|
||||
@@ -5,10 +5,10 @@ gitPath="${gitUrl##*/}"
|
||||
pushd /tmp
|
||||
sudo -u stormux git clone "${gitUrl}"
|
||||
pushd "${gitPath}"
|
||||
# Handle home directory files (preserve user ownership)
|
||||
find . -path './.git' -prune -o -path './home/stormux/*' -type f -exec bash -c 'for i ; do cp -av "${i}" "/${i#./}";done' _ {} \;
|
||||
# Handle system files (will be root-owned)
|
||||
find . -path './.git' -prune -o -path './home' -prune -o -type f -exec bash -c 'for i ; do cp -v "${i}" "/${i#./}";done' _ {} \;
|
||||
# Copy all files as root (preserves permissions properly)
|
||||
find . -path './.git' -prune -o -type f -exec bash -c 'for i ; do cp -av --preserve=all "${i}" "/${i#./}";done' _ {} \;
|
||||
# Fix ownership of home directory files
|
||||
chown -R stormux:users /home/stormux
|
||||
popd
|
||||
rm -rf "${gitPath}"
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user