custom-scripts/icewm_bodgemaster_env.sh: add bashrc to root

master
BodgeMaster 2026-04-05 21:22:32 +02:00
parent a94eea39fc
commit 76479e11fd
1 changed files with 8 additions and 0 deletions

View File

@ -162,6 +162,8 @@ shopt -s checkwinsize
shopt -s globstar shopt -s globstar
EOF EOF
cp /etc/skel/.bashrc /root/.bashrc
cat > /etc/skel/.bashrc_aliases << EOF cat > /etc/skel/.bashrc_aliases << EOF
alias ls="ls --color=auto" alias ls="ls --color=auto"
alias la="ls -aF" alias la="ls -aF"
@ -170,6 +172,12 @@ alias x11vnc="x11vnc -repeat -nomodtweak"
alias blank="sleep 1 && xset dpms force off" alias blank="sleep 1 && xset dpms force off"
EOF EOF
cat > /root/.bashrc_aliases << EOF
alias ls="ls --color=auto"
alias la="ls -aF"
alias grep="grep --color=auto"
EOF
cat > /usr/local/bin/conky_generate_config.sh << BIG_EOF cat > /usr/local/bin/conky_generate_config.sh << BIG_EOF
#!/usr/bin/env bash #!/usr/bin/env bash
PART_UUID="\$(blkid --match-tag PARTUUID --output value \$(blkid --output value --match-tag PARTUUID "$(grep "/run/void-usb/container" /proc/mounts | sed 's| /run/void-usb/.*||')"))" PART_UUID="\$(blkid --match-tag PARTUUID --output value \$(blkid --output value --match-tag PARTUUID "$(grep "/run/void-usb/container" /proc/mounts | sed 's| /run/void-usb/.*||')"))"