mirror of
https://github.com/zebrajr/HomeLab.git
synced 2025-12-06 00:20:22 +01:00
Updated: file structure
This commit is contained in:
parent
7f73cd5a03
commit
8134c37e3a
8
dotfiles/.config/conky/conky.service
Normal file
8
dotfiles/.config/conky/conky.service
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=Conky Setup
|
||||
|
||||
[Service]
|
||||
ExecStart=/home/csa/.config/conky/conky.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
12
dotfiles/.config/conky/conky.sh
Normal file
12
dotfiles/.config/conky/conky.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
while true
|
||||
do
|
||||
running=$(ps -a | grep conky | wc -l)
|
||||
if [ $running -lt 3 ];
|
||||
then
|
||||
echo "Starting..."
|
||||
conky -c ~/.config/conky/main.conf &
|
||||
fi
|
||||
sleep 10
|
||||
done
|
||||
|
|
@ -17,12 +17,15 @@ echo ":: Enter disk to be used "
|
|||
echo ":: Eg: /dev/vda"
|
||||
read disk
|
||||
|
||||
echo "Enter hostname "
|
||||
echo "New Hostname? "
|
||||
echo "Eg: bsa200arch"
|
||||
read newhostname
|
||||
echo "Enter domain "
|
||||
echo "Local Domain?"
|
||||
echo "Eg: local"
|
||||
read newdomain
|
||||
echo "Main User?"
|
||||
echo "Eg: csa"
|
||||
read newuserid
|
||||
|
||||
#echo "set a password for root "
|
||||
#passwd
|
||||
|
|
@ -3,4 +3,8 @@
|
|||
arch-chroot /mnt pacman -Sy curl \
|
||||
htop \
|
||||
tmux \
|
||||
xfce4 \
|
||||
xfwm4 \
|
||||
xfce4-panel \
|
||||
xfce4-terminal \
|
||||
--noconfirm -q
|
||||
|
Before Width: | Height: | Size: 425 KiB After Width: | Height: | Size: 425 KiB |
Loading…
Reference in New Issue
Block a user