luca
/
bootstrapper
Archived
1
0
Fork 0

add needed packages

This commit is contained in:
Luca Bilke 2024-02-26 10:08:07 +01:00
commit 52eda8b552
No known key found for this signature in database
GPG Key ID: AD6630D0A1E650AC
11 changed files with 33 additions and 33 deletions

View File

@ -5,6 +5,4 @@ This script is meant to be run on a fresh install of void linux and will set up
## Warnings
___Please note that this script will add my custom XBPS repository and install packages from it.___
I use the dvorak keyboard layout, so many of the DWM keybinds may be unergonomic on a QWERTY layout.
The source code for my build of DWM is available [here](https://github.com/ssnailed/dwm) if you wish to make any configuration changes.

View File

@ -194,17 +194,17 @@ select_keymap() {
}
enable_services() {
tput sc
info "Installing user service service..."
target="/etc/sv/runsvdir-${username}"
mkdir -p "$target"
sed "s/<U>/$username/" "${SCRIPT_DIR}/runsvdir-user" >"$target/run"
[ ! -L "/var/service/$(basename "$target")" ] &&
ln -s "$target" "/var/service/"
chmod 755 "$target"
chmod 755 "$target/run"
tput rc
tput el
# tput sc
# info "Installing user service service..."
# target="/etc/sv/runsvdir-${username}"
# mkdir -p "$target"
# sed "s/<U>/$username/" "${SCRIPT_DIR}/runsvdir-user" >"$target/run"
# [ ! -L "/var/service/$(basename "$target")" ] &&
# ln -s "$target" "/var/service/"
# chmod 755 "$target"
# chmod 755 "$target/run"
# tput rc
# tput el
#shellcheck disable=SC2016
_loop_wrapper "$1" \
'Enabling ${x} service' \

View File

@ -1,17 +1,16 @@
.cache,755
.config/zsh/configs,755
.config/X11/xsession.d,755
.config/X11,755
.config/gnupg,700
.local/state,755
.local/log,755
.local/share/applications,755
.local/bin/cron,755
.local/libexec/dwm/autostart.d,755
.local/libexec/cron,755
.config/dwm/autorun.d,755
.local/sv,755
.ssh,700
Desktop,755
Documents,755
Downloads,755
Pictures,755
Pictures/Screenshots,755
Videos,755
test,700

View File

View File

@ -1,2 +1 @@
%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/tee /sys/class/backlight/*/brightness
%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/tee /sys/class/backlight/*/brightness

View File

@ -0,0 +1 @@
%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/mount, /usr/bin/umount

1
files/etc/sudoers.d/sv Normal file
View File

@ -0,0 +1 @@
%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/vsv, /usr/bin/svlogtail

1
files/etc/sudoers.d/xbps Normal file
View File

@ -0,0 +1 @@
%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/xbps-install, /usr/bin/xbps-remove, /usr/bin/xi

View File

@ -0,0 +1,4 @@
*/15 * * * * . $HOME/.local/share/cronprofile; trash-prune
0 * * * * . $HOME/.local/share/cronprofile; checkup
15 * * * * . xlocate -S
30 * * * * . $HOME/.local/share/cronprofile; backup >$HOME/.local/log/backup.log 2>&1

View File

@ -4,6 +4,7 @@ stow
zsh
xorg
noto-fonts-ttf
noto-fonts-cjk
noto-fonts-ttf-extra
noto-fonts-emoji
nsxiv
@ -12,7 +13,7 @@ ffmpeg
man-db
pipewire
wireplumber
pulsemixer
ncpamixer
maim
unclutter
xcape
@ -70,8 +71,8 @@ ranger
brave-bin
ueberzug
seahorse
# tokyonight-theme
# tokyonight-icons
tokyonight-theme
tokyonight-icons
polkit
font-firacode-nf-ttf
cups
@ -87,8 +88,13 @@ ImageMagick
simple-mtpfs
docker
socklog-void
perl
perl-YAML
perl-WWW-curl
perl-JSON
perl-WWW-Curl
ansible
thunderbird
ferdium
python3-ansible-lint
base-devel
vsv
lynx

View File

@ -1,9 +0,0 @@
#!/bin/sh
export USER="<U>"
export HOME="/home/<U>"
groups="$(id -Gn "$USER" | tr ' ' ':')"
svdir="$HOME/.local/sv/"
exec chpst -u "$USER:$groups" runsvdir "$svdir"