add some fixes, remove wiki-tui as that is currently broken because of libressl
This commit is contained in:
parent
9f7c200db4
commit
09a767f39b
1
.fizshrc
1
.fizshrc
|
@ -17,7 +17,6 @@ alias s="ncspot"
|
|||
alias f="neofetch --off"
|
||||
alias mf="pfetch"
|
||||
alias i="glances"
|
||||
alias w="wiki-tui"
|
||||
|
||||
transfer(){ if [ $# -eq 0 ];then echo "No arguments specified.\nUsage:\n transfer <file|directory>\n ... | transfer <file_name>">&2;return 1;fi;if tty -s;then file="$1";file_name=$(basename "$file");if [ ! -e "$file" ];then echo "$file: No such file or directory">&2;return 1;fi;if [ -d "$file" ];then file_name="$file_name.zip" ,;(cd "$file"&&zip -r -q - .)|curl --progress-bar --upload-file "-" "https://transfer.sh/$file_name"|tee /dev/null,;else cat "$file"|curl --progress-bar --upload-file "-" "https://transfer.sh/$file_name"|tee /dev/null;fi;else file_name=$1;curl --progress-bar --upload-file "-" "https://transfer.sh/$file_name"|tee /dev/null;fi;}
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
permit persist keepenv :wheel as root
|
||||
permit nopass :staff cmd cp
|
||||
permit nopass :staff cmd make
|
||||
permit nopass :staff cmd reboot
|
||||
permit nopass :staff cmd halt
|
||||
permit nopass :staff cmd pkg_add
|
||||
|
|
|
@ -64,7 +64,7 @@ chmod(0700, $ENV{'HOME'});
|
|||
|
||||
print "Installing deps...\n";
|
||||
my @shdeps = ('zsh', 'bash', 'harfbuzz', 'neofetch', 'git', 'gmake', 'gawk', 'cmake', 'meson', 'upower', 'gcc', 'mercurial', 'feh', 'ffmpeg', 'yt-dlp', 'ImageMagick', 'gd', 'fftw3', 'fftw', 'automake', 'autoconf', 'neovim', 'dbus', 'htop', 'ncspot', 'rust', 'crystal', 'exa', 'pkg_mgr', 'scrot', 'py3-neovim', 'py3-pip', 'lynx', 'links', 'wget', 'curl', 'openssl','gmp', 'xz-utils', 'p7zip', 'bat', 'pkgconf', 'noto-emoji', 'ranger', 'ee', 'nano');
|
||||
my @xdeps = ('sdorfehs', 'gtk2-murrine-engine', 'mpv', 'qutebrowser', 'abiword', 'gnumeric', 'pcmanfm', 'weechat', 'dunst', 'picom', 'rofi', 'leafpad', 'xarchiver', 'xkill', 'xedit', 'xpdf' 'lxappearance', 'claws-mail');
|
||||
my @xdeps = ('sdorfehs', 'gtk2-murrine-engine', 'mpv', 'qutebrowser', 'abiword', 'gnumeric', 'pcmanfm', 'weechat', 'dunst', 'picom', 'rofi', 'leafpad', 'xarchiver', 'xkill', 'xedit', 'xpdf', 'lxappearance', 'claws-mail');
|
||||
system('doas', 'pkg_add', \@shdeps, \@xdeps);
|
||||
|
||||
if (-d '~/.dotfiles') {
|
||||
|
@ -94,17 +94,17 @@ if (-d '~/.fizsh') {
|
|||
system('cp', '~/.dotfiles/.fizshrc', '~/.fizsh/.fizshrc');
|
||||
system('chsh', '-s', '/usr/local/bin/fizsh');
|
||||
} else {
|
||||
system('git', 'clone', 'https://github.com/zsh-users/fizsh.git', '~/.fizsh')
|
||||
system('git', 'clone', 'https://github.com/zsh-users/fizsh.git', '~/.fizsh');
|
||||
chdir '~/.fizsh';
|
||||
system('./configure');
|
||||
system('make');
|
||||
system('doas', 'make', 'install');
|
||||
system('cp', '~/.dotfiles/.fizshrc', '~/.fizsh/.fizshrc')
|
||||
system('cp', '~/.dotfiles/.fizshrc', '~/.fizsh/.fizshrc');
|
||||
system('chsh', '-s', '/usr/local/bin/fizsh');
|
||||
};
|
||||
|
||||
print ("Compiling in rust programs...( this is gonna take a bit :3 )\n");
|
||||
my @rsdeps = ('wiki-tui', 'fd-find', 'sd', 'onefetch', 'tokei', 'zoxide', 'broot', 'du-dust' 'cargo-update-installed');
|
||||
my @rsdeps = ('fd-find', 'sd', 'onefetch', 'tokei', 'zoxide', 'broot', 'du-dust', 'cargo-update-installed');
|
||||
system('cargo', 'install', \@rsdeps);
|
||||
|
||||
print ("Compiling in GNU shuf re-implementation...\n");
|
||||
|
@ -115,10 +115,11 @@ system('make');
|
|||
system('doas', 'make', 'install');
|
||||
|
||||
print ("Compiling in afetch...\n");
|
||||
system('git', 'clone', 'https://github.com/13-CF/afetch.git', '~/.afetch')
|
||||
system('git', 'clone', 'https://github.com/13-CF/afetch.git', '~/.afetch');
|
||||
chdir '~/.afetch';
|
||||
system('make');
|
||||
system('doas', 'make', 'install');
|
||||
|
||||
if (-d )
|
||||
mkdir '~/.ssh' unless -d '~/.ssh';
|
||||
if (-d ) {
|
||||
mkdir '~/.ssh' unless -d '~/.ssh';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue