From 7b2c2f2ff4b14a62ab80be071ac43ffe7c7f494f Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 4 Jul 2022 18:44:31 -0500 Subject: [PATCH] changes to arch install --- .config/mimeapps.list | 241 +------------------------ .config/user-dirs.dirs | 8 +- .local/init/startup | 3 - .local/installers/arch/arch-install.sh | 9 + .local/installers/arch/pkgs/base.list | 2 + .local/scripts/backup.sh | 2 + .profile | 10 +- 7 files changed, 23 insertions(+), 252 deletions(-) diff --git a/.config/mimeapps.list b/.config/mimeapps.list index f4a1d2f..701be8a 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -23,127 +23,8 @@ application/vnd.openxmlformats-officedocument.wordprocessingml.document=appimage application/vnd.stardivision.writer=appimagekit_370d60f0f93e3e9486777fd6dfdb9d86-LibreOffice.desktop application/vnd.wordperfect=appimagekit_370d60f0f93e3e9486777fd6dfdb9d86-LibreOffice.desktop application/x-abiword=appimagekit_370d60f0f93e3e9486777fd6dfdb9d86-LibreOffice.desktop -audio/3gpp=deadbeef.desktop -audio/3gpp2=io.github.celluloid_player.Celluloid.desktop -audio/aac=deadbeef.desktop -audio/ac3=deadbeef.desktop -audio/amr=io.github.celluloid_player.Celluloid.desktop -audio/amr-wb=io.github.celluloid_player.Celluloid.desktop -audio/basic=io.github.celluloid_player.Celluloid.desktop -audio/dv=io.github.celluloid_player.Celluloid.desktop -audio/eac3=io.github.celluloid_player.Celluloid.desktop -audio/flac=deadbeef.desktop -audio/m4a=deadbeef.desktop -audio/midi=deadbeef.desktop -audio/mp1=io.github.celluloid_player.Celluloid.desktop -audio/mp2=io.github.celluloid_player.Celluloid.desktop -audio/mp3=deadbeef.desktop -audio/mp4=deadbeef.desktop -audio/mpeg=deadbeef.desktop -audio/mpegurl=io.github.celluloid_player.Celluloid.desktop -audio/mpg=deadbeef.desktop -audio/ogg=deadbeef.desktop -audio/opus=io.github.celluloid_player.Celluloid.desktop -audio/scpls=io.github.celluloid_player.Celluloid.desktop -audio/vnd.dolby.heaac.1=io.github.celluloid_player.Celluloid.desktop -audio/vnd.dolby.heaac.2=io.github.celluloid_player.Celluloid.desktop -audio/vnd.dolby.mlp=io.github.celluloid_player.Celluloid.desktop -audio/vnd.dts=io.github.celluloid_player.Celluloid.desktop -audio/vnd.dts.hd=io.github.celluloid_player.Celluloid.desktop -audio/vnd.rn-realaudio=io.github.celluloid_player.Celluloid.desktop -audio/wav=deadbeef.desktop -audio/webm=deadbeef.desktop -audio/x-aac=deadbeef.desktop -audio/x-aiff=deadbeef.desktop -audio/x-ape=io.github.celluloid_player.Celluloid.desktop -audio/x-flac=deadbeef.desktop -audio/x-gsm=io.github.celluloid_player.Celluloid.desktop -audio/x-it=deadbeef.desktop -audio/x-m4a=io.github.celluloid_player.Celluloid.desktop -audio/x-matroska=io.github.celluloid_player.Celluloid.desktop -audio/x-mod=deadbeef.desktop -audio/x-mp1=io.github.celluloid_player.Celluloid.desktop -audio/x-mp2=io.github.celluloid_player.Celluloid.desktop -audio/x-mp3=deadbeef.desktop -audio/x-mpeg=deadbeef.desktop -audio/x-mpegurl=deadbeef.desktop -audio/x-mpg=deadbeef.desktop -audio/x-ms-asf=deadbeef.desktop -audio/x-ms-wma=deadbeef.desktop -audio/x-musepack=io.github.celluloid_player.Celluloid.desktop -audio/x-pn-aiff=io.github.celluloid_player.Celluloid.desktop -audio/x-pn-au=io.github.celluloid_player.Celluloid.desktop -audio/x-pn-realaudio=io.github.celluloid_player.Celluloid.desktop -audio/x-pn-wav=io.github.celluloid_player.Celluloid.desktop -audio/x-real-audio=io.github.celluloid_player.Celluloid.desktop -audio/x-realaudio=io.github.celluloid_player.Celluloid.desktop -audio/x-s3m=deadbeef.desktop -audio/x-scpls=deadbeef.desktop -audio/x-shorten=io.github.celluloid_player.Celluloid.desktop -audio/x-speex=io.github.celluloid_player.Celluloid.desktop -audio/x-tta=io.github.celluloid_player.Celluloid.desktop -audio/x-vorbis=deadbeef.desktop -audio/x-vorbis+ogg=deadbeef.desktop -audio/x-wav=deadbeef.desktop -audio/x-wavpack=deadbeef.desktop -audio/x-xm=deadbeef.desktop -audio/mp4a-latm=deadbeef.desktop -audio/mpeg3=deadbeef.desktop -audio/vorbis=deadbeef.desktop -audio/wave=deadbeef.desktop -audio/x-mpeg-3=deadbeef.desktop -audio/x-ogg=deadbeef.desktop -audio/x-oggflac=deadbeef.desktop -audio/prs.sid=deadbeef.desktop -video/3gp=mpv.desktop -video/3gpp=mpv.desktop -video/3gpp2=mpv.desktop -video/avi=mpv.desktop -video/divx=mpv.desktop -video/dv=mpv.desktop -video/fli=mpv.desktop -video/flv=mpv.desktop -video/mkv=mpv.desktop -video/mp2t=mpv.desktop -video/mp4=mpv.desktop -video/mp4v-es=mpv.desktop -video/mpeg=mpv.desktop -video/msvideo=mpv.desktop -video/ogg=mpv.desktop -video/quicktime=mpv.desktop -video/vnd.divx=mpv.desktop -video/vnd.mpegurl=mpv.desktop -video/vnd.rn-realvideo=mpv.desktop -video/webm=mpv.desktop -video/x-avi=mpv.desktop -video/x-flc=mpv.desktop -video/x-flic=mpv.desktop -video/x-flv=mpv.desktop -video/x-m4v=mpv.desktop -video/x-matroska=mpv.desktop -video/x-mpeg2=mpv.desktop -video/x-mpeg3=mpv.desktop -video/x-ms-afs=mpv.desktop -video/x-ms-asf=mpv.desktop -video/x-ms-wmv=mpv.desktop -video/x-ms-wmx=mpv.desktop -video/x-ms-wvxvideo=mpv.desktop -video/x-msvideo=mpv.desktop -video/x-ogm=mpv.desktop -video/x-ogm+ogg=mpv.desktop -video/x-theora=mpv.desktop -video/x-theora+ogg=mpv.desktop -video/vivo=mpv.desktop -video/x-anim=mpv.desktop -video/x-fli=mpv.desktop -video/x-mng=mpv.desktop -video/x-mpeg=mpv.desktop -video/x-ms-asx=mpv.desktop -video/x-ms-wm=mpv.desktop -video/x-ms-wvx=mpv.desktop -video/x-nsv=mpv.desktop +video/*=mpv.desktop text/x-arduino=arduino-arduinoide.desktop -x-scheme-handler/angr=angr.desktop [Added Associations] image/jpeg=img.desktop; @@ -151,7 +32,6 @@ image/png=img.desktop; text/html=web.desktop; inode/directory=lf.desktop application/rss+xml=web.desktop; -x-scheme-handler/tg=userapp-Telegram Desktop-9CKHY0.desktop;userapp-Telegram Desktop-COMF30.desktop;userapp-Telegram Desktop-QXV020.desktop; application/msword=appimagekit_370d60f0f93e3e9486777fd6dfdb9d86-LibreOffice.desktop; application/rtf=appimagekit_370d60f0f93e3e9486777fd6dfdb9d86-LibreOffice.desktop; application/vnd.ms-works=appimagekit_370d60f0f93e3e9486777fd6dfdb9d86-LibreOffice.desktop; @@ -161,122 +41,3 @@ application/vnd.openxmlformats-officedocument.wordprocessingml.document=appimage application/vnd.stardivision.writer=appimagekit_370d60f0f93e3e9486777fd6dfdb9d86-LibreOffice.desktop; application/vnd.wordperfect=appimagekit_370d60f0f93e3e9486777fd6dfdb9d86-LibreOffice.desktop; application/x-abiword=appimagekit_370d60f0f93e3e9486777fd6dfdb9d86-LibreOffice.desktop; -audio/x-vorbis+ogg=deadbeef.desktop;io.github.celluloid_player.Celluloid.desktop; -audio/3gpp=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/3gpp2=io.github.celluloid_player.Celluloid.desktop; -audio/aac=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/ac3=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/amr=io.github.celluloid_player.Celluloid.desktop; -audio/amr-wb=io.github.celluloid_player.Celluloid.desktop; -audio/basic=io.github.celluloid_player.Celluloid.desktop; -audio/dv=io.github.celluloid_player.Celluloid.desktop; -audio/eac3=io.github.celluloid_player.Celluloid.desktop; -audio/flac=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/m4a=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/midi=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/mp1=io.github.celluloid_player.Celluloid.desktop; -audio/mp2=io.github.celluloid_player.Celluloid.desktop; -audio/mp3=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/mp4=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/mpeg=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/mpegurl=io.github.celluloid_player.Celluloid.desktop; -audio/mpg=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/ogg=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/opus=io.github.celluloid_player.Celluloid.desktop; -audio/scpls=io.github.celluloid_player.Celluloid.desktop; -audio/vnd.dolby.heaac.1=io.github.celluloid_player.Celluloid.desktop; -audio/vnd.dolby.heaac.2=io.github.celluloid_player.Celluloid.desktop; -audio/vnd.dolby.mlp=io.github.celluloid_player.Celluloid.desktop; -audio/vnd.dts=io.github.celluloid_player.Celluloid.desktop; -audio/vnd.dts.hd=io.github.celluloid_player.Celluloid.desktop; -audio/vnd.rn-realaudio=io.github.celluloid_player.Celluloid.desktop; -audio/wav=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/webm=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-aac=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-aiff=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-ape=io.github.celluloid_player.Celluloid.desktop; -audio/x-flac=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-gsm=io.github.celluloid_player.Celluloid.desktop; -audio/x-it=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-m4a=io.github.celluloid_player.Celluloid.desktop; -audio/x-matroska=io.github.celluloid_player.Celluloid.desktop; -audio/x-mod=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-mp1=io.github.celluloid_player.Celluloid.desktop; -audio/x-mp2=io.github.celluloid_player.Celluloid.desktop; -audio/x-mp3=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-mpeg=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-mpegurl=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-mpg=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-ms-asf=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-ms-wma=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-musepack=io.github.celluloid_player.Celluloid.desktop; -audio/x-pn-aiff=io.github.celluloid_player.Celluloid.desktop; -audio/x-pn-au=io.github.celluloid_player.Celluloid.desktop; -audio/x-pn-realaudio=io.github.celluloid_player.Celluloid.desktop; -audio/x-pn-wav=io.github.celluloid_player.Celluloid.desktop; -audio/x-real-audio=io.github.celluloid_player.Celluloid.desktop; -audio/x-realaudio=io.github.celluloid_player.Celluloid.desktop; -audio/x-s3m=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-scpls=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-shorten=io.github.celluloid_player.Celluloid.desktop; -audio/x-speex=io.github.celluloid_player.Celluloid.desktop; -audio/x-tta=io.github.celluloid_player.Celluloid.desktop; -audio/x-vorbis=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-wav=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-wavpack=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-xm=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/mp4a-latm=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/mpeg3=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/vorbis=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/wave=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-mpeg-3=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-ogg=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/x-oggflac=io.github.celluloid_player.Celluloid.desktop;deadbeef.desktop; -audio/prs.sid=deadbeef.desktop; -video/3gp=mpv.desktop; -video/3gpp=mpv.desktop; -video/3gpp2=mpv.desktop; -video/avi=mpv.desktop; -video/divx=mpv.desktop; -video/dv=mpv.desktop; -video/fli=mpv.desktop; -video/flv=mpv.desktop; -video/mkv=mpv.desktop; -video/mp2t=mpv.desktop; -video/mp4=mpv.desktop; -video/mp4v-es=mpv.desktop; -video/mpeg=mpv.desktop; -video/msvideo=mpv.desktop; -video/ogg=mpv.desktop; -video/quicktime=mpv.desktop; -video/vnd.divx=mpv.desktop; -video/vnd.mpegurl=mpv.desktop; -video/vnd.rn-realvideo=mpv.desktop; -video/webm=mpv.desktop; -video/x-avi=mpv.desktop; -video/x-flc=mpv.desktop; -video/x-flic=mpv.desktop; -video/x-flv=mpv.desktop; -video/x-m4v=mpv.desktop; -video/x-matroska=mpv.desktop; -video/x-mpeg2=mpv.desktop; -video/x-mpeg3=mpv.desktop; -video/x-ms-afs=mpv.desktop; -video/x-ms-asf=mpv.desktop; -video/x-ms-wmv=mpv.desktop; -video/x-ms-wmx=mpv.desktop; -video/x-ms-wvxvideo=mpv.desktop; -video/x-msvideo=mpv.desktop; -video/x-ogm=mpv.desktop; -video/x-ogm+ogg=mpv.desktop; -video/x-theora=mpv.desktop; -video/x-theora+ogg=mpv.desktop; -video/vivo=mpv.desktop; -video/x-anim=mpv.desktop; -video/x-fli=mpv.desktop; -video/x-mng=mpv.desktop; -video/x-mpeg=mpv.desktop; -video/x-ms-asx=mpv.desktop; -video/x-ms-wm=mpv.desktop; -video/x-ms-wvx=mpv.desktop; -video/x-nsv=mpv.desktop; diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs index 96ab3f3..5149b95 100644 --- a/.config/user-dirs.dirs +++ b/.config/user-dirs.dirs @@ -8,8 +8,8 @@ XDG_DESKTOP_DIR="$HOME/.local/share/desktop" XDG_DOWNLOAD_DIR="$HOME/dl" XDG_DOCUMENTS_DIR="$HOME/docs" -XDG_MUSIC_DIR="$HOME/media/audio" +XDG_MUSIC_DIR="$HOME/" XDG_PICTURES_DIR="$HOME/media/img" -XDG_VIDEOS_DIR="$HOME/media/video" -XDG_TEMPLATES_DIR="$HOME/.local/share/templates" -XDG_PUBLICSHARE_DIR="$HOME/.local/share/public" +XDG_VIDEOS_DIR="$HOME/" +XDG_TEMPLATES_DIR="$HOME/" +XDG_PUBLICSHARE_DIR="$HOME/" diff --git a/.local/init/startup b/.local/init/startup index f63a2f0..11e9860 100644 --- a/.local/init/startup +++ b/.local/init/startup @@ -1,5 +1,2 @@ -mako gammastep-init.sh -pipewire.sh udiskie -mpd diff --git a/.local/installers/arch/arch-install.sh b/.local/installers/arch/arch-install.sh index 6638197..395ec13 100755 --- a/.local/installers/arch/arch-install.sh +++ b/.local/installers/arch/arch-install.sh @@ -44,10 +44,19 @@ enable_repos() { } init_setup() { + #system services sudo systemctl enable connman.service sudo systemctl enable ufw.service sudo systemctl enable cronie.service sudo systemctl enable systemd-timesyncd.service + + + #user services + systemctl --user enable mako.service + systemctl --user enable mpd.service + systemctl --user enable pipewire.service + systemctl --user enable pipewire-pulse.service + systemctl --user enable wireplumber.service } #TODO diff --git a/.local/installers/arch/pkgs/base.list b/.local/installers/arch/pkgs/base.list index 3fd3368..5594eb7 100644 --- a/.local/installers/arch/pkgs/base.list +++ b/.local/installers/arch/pkgs/base.list @@ -78,3 +78,5 @@ openssh aria2 libva-mesa-driver bc +firefox +chromium diff --git a/.local/scripts/backup.sh b/.local/scripts/backup.sh index 68d1ecb..a8ca7ec 100755 --- a/.local/scripts/backup.sh +++ b/.local/scripts/backup.sh @@ -18,3 +18,5 @@ else fi fi + +sync diff --git a/.profile b/.profile index 697942a..09064a6 100644 --- a/.profile +++ b/.profile @@ -61,11 +61,11 @@ export MANPATH="$MANPATH:/usr/local/man/" #add to path if installing rocm for amd -#export PATH="/opt/rocm/bin:$PATH" -#export PATH="/opt/rocm/hip/bin:$PATH" -#export PATH="/opt/rocm/opencl/bin:$PATH" -#export PATH="/opt/rocm/rocfft/bin:$PATH" -#export PATH="/opt/rocm/rocfft/bin:$PATH" +export PATH="/opt/rocm/bin:$PATH" +export PATH="/opt/rocm/hip/bin:$PATH" +export PATH="/opt/rocm/opencl/bin:$PATH" +export PATH="/opt/rocm/rocfft/bin:$PATH" +export PATH="/opt/rocm/rocfft/bin:$PATH" #fix arduino ide issues