From b83c4a243513f5b7bcaaf526497e45884effd171 Mon Sep 17 00:00:00 2001 From: Yigit Colakoglu Date: Mon, 5 Apr 2021 21:45:49 +0300 Subject: [PATCH] Fixed some issues, adjustments for artix --- .gitignore | 16 +- arch-setup/chroot.sh | 22 +- arch-setup/fetch_keys.sh | 2 +- arch-setup/packages.base.arch | 1 + arch-setup/packages.base.artix | 5 +- arch-setup/packages.full | 1653 -------------------------------- arch-setup/packages.rice | 34 + config/X11/xinitrc | 7 +- config/zsh/cmds | 2 - install.sh | 23 +- local/bin/daily-update | 8 +- local/bin/pacontrol.sh | 2 +- local/bin/readability | 74 -- profile | 9 +- root/issue | 11 + root/makeissue | 11 + root/motd | 11 + suckless/tabbed/xembed | Bin 14464 -> 14464 bytes 18 files changed, 118 insertions(+), 1773 deletions(-) delete mode 100644 arch-setup/packages.full create mode 100644 arch-setup/packages.rice delete mode 100755 local/bin/readability create mode 100644 root/issue create mode 100644 root/makeissue create mode 100644 root/motd diff --git a/.gitignore b/.gitignore index deb065e7..e4829d22 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,5 @@ -.gitsecret/keys/random_seed -!*.secret -config/msmtp/config -config/isync/mbsyncrc -config/calcurse/caldav/config -config/wakatime/wakatime.cfg -config/zsh/secret -config/nextcloud/nextcloud -config/spotifyd/spotifyd.conf -.ccls-cache -**/.ccls-cache +*.otf +*.ttf + +*.otf* +*.ttf* diff --git a/arch-setup/chroot.sh b/arch-setup/chroot.sh index f5cc96d3..cc2832da 100755 --- a/arch-setup/chroot.sh +++ b/arch-setup/chroot.sh @@ -48,6 +48,7 @@ if [ ! -f "/tmp/.blackarch" ]; then /tmp/strap.sh if [ -f "/install/artix" ]; then + echo -e "\n[multilib]\nInclude = /etc/pacman.d/mirrorlist-arch" >> /etc/pacman.conf echo -e "\n[lib32]\nInclude = /etc/pacman.d/mirrorlist\n\n[options]\nILoveCandy\nTotalDownload\nColor" >> /etc/pacman.conf else echo -e "\n[multilib]\nInclude = /etc/pacman.d/mirrorlist\n\n[options]\nILoveCandy\nTotalDownload\nColor" >> /etc/pacman.conf @@ -200,9 +201,7 @@ EOF fi mkdir -p /etc/sudoers.d -echo "Defaults env_reset,pwfeedback" >> /etc/sudoers.d/wheel echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/nopwd -echo "$username $hostname =NOPASSWD: /sbin/shutdown ,/sbin/halt,/sbin/reboot,/sbin/hibernate, /bin/pacman -Syyuw --noconfirm" > /etc/sudoers.d/wheel sudo -u $username bash -c "git clone https://aur.archlinux.org/yay.git /tmp/yay" @@ -222,29 +221,26 @@ if [ "$dotfiles" = "y" ]; then sudo -u $username bash -c "git clone --recurse-submodules https://github.com/theFr1nge/dotfiles.git ~/.dotfiles" sudo -u $username bash -c "(cd ~/.dotfiles; ./install.sh)" clear - git clone https://github.com/adi1090x/plymouth-themes.git /tmp/pthemes +fi +git clone https://github.com/adi1090x/plymouth-themes.git /tmp/pthemes cat << EOF > /etc/plymouth/plymouthd.conf [Daemon] Theme=sphere ShowDelay=0 DeviceTimeout=8 EOF - cp -r /tmp/pthemes/pack_4/sphere /usr/share/plymouth/themes - clear -fi - - +cp -r /tmp/pthemes/pack_4/sphere /usr/share/plymouth/themes +clear echo -e "/boot/EFI/refind\n2\n2" | sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/bobafetthotmail/refind-theme-regular/master/install.sh)" if [ -f "/install/artix" ]; then - echo "Manually enable services, not implemented" + sudo rc-update add cronie + sudo rc-update add acpi + sudo rc-update add dbus else systemctl enable NetworkManager - systemctl enable ly - systemctl enable fstrim.timer systemctl enable cronie - systemctl enable bluetooth fi clear @@ -259,7 +255,9 @@ pacman --noconfirm -R nano # uninstall nano, eww clear rm -rf /etc/sudoers.d/nopwd +echo "Defaults env_reset,pwfeedback" > /etc/sudoers.d/wheel echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers.d/wheel +echo "$username $hostname =NOPASSWD: /sbin/shutdown ,/sbin/halt,/sbin/reboot,/sbin/hibernate, /bin/pacman -Syyuw --noconfirm" >> /etc/sudoers.d/wheel ln -sf /bin/dash /bin/sh diff --git a/arch-setup/fetch_keys.sh b/arch-setup/fetch_keys.sh index f950887c..3b2e7e3e 100755 --- a/arch-setup/fetch_keys.sh +++ b/arch-setup/fetch_keys.sh @@ -9,7 +9,7 @@ then exit fi -mc cp -r yeet-dots/dotfiles/tools/* ~/.local/bin/ +mc cp -r fr1nge-dots/dotfiles/tools/ ~/.local/bin/ sudo chmod +x ~/.local/bin/* ~/.local/bin/jsteg reveal $loc > /tmp/out.zip.gpg diff --git a/arch-setup/packages.base.arch b/arch-setup/packages.base.arch index 502eb38f..99c32a0b 100644 --- a/arch-setup/packages.base.arch +++ b/arch-setup/packages.base.arch @@ -17,3 +17,4 @@ wget curl dash mksh +acpi diff --git a/arch-setup/packages.base.artix b/arch-setup/packages.base.artix index e43c709e..2daa733a 100644 --- a/arch-setup/packages.base.artix +++ b/arch-setup/packages.base.artix @@ -11,8 +11,11 @@ xorg-xinit xorg-apps xf86-video-intel sudo -cronie wget curl dash mksh +acpi +acpi-openrc +dbus +dbus-openrc diff --git a/arch-setup/packages.full b/arch-setup/packages.full deleted file mode 100644 index adb92489..00000000 --- a/arch-setup/packages.full +++ /dev/null @@ -1,1653 +0,0 @@ -6cord -a52dec -aalib -abook -accountsservice -ack -acl -activitywatch-bin -adobe-source-code-pro-fonts -adwaita-icon-theme -aic94xx-firmware -alacritty -alsa-card-profiles -alsa-lib -alsa-plugins -alsa-topology-conf -alsa-ucm-conf -antibody -antlr4-runtime -aom -arandr -arch-install-scripts -archivemount -archlinux-keyring -arch-wiki-docs -arch-wiki-lite -argon2 -aria2 -asar -aspell -atk -atkmm -atool -at-spi2-atk -at-spi2-core -attica -attr -audiofile -audit -autoconf -autoconf2.13 -autoconf-archive -automake -avahi -babl -baobab -bash -bat -bc -bcg729 -betterdiscord -betterdiscordctl-git -bfg -binutils -binwalk -bison -bitwarden -bitwarden-cli -blackarch-keyring -blas -blueman -bluez -bluez-libs -bluez-utils -boost-libs -borg -borgmatic -botan -box2d -brave-bin -brotli -btrfs-progs -bubblewrap -bzip2 -ca-certificates -ca-certificates-mozilla -ca-certificates-utils -cairo -cairomm -cairo-perl -calcurse -calibre -canon-pixma-ts5055-complete -cantarell-fonts -capnproto -capstone -capt-src -c-ares -catdoc -cbindgen -cblas -ccls -cdparanoia -ceph-libs -checkupdates+aur -checkupdates-aur -cheese -chmlib -chromaprint -chrony -cifs-utils -cinnamon-desktop -clang -clipnotify -clucene -clutter -clutter-gst -clutter-gtk -cmake -cndrvcups-lt -code -cogl -colord -compiler-rt -coreutils -cpanminus -cpupower -cracklib -cronie -cryptsetup -ctags -ctemplate -cups -cups-filters -cups-pdf -curl -dash -dav1d -db -dbus -dbus-glib -dbus-python -dconf -dejagnu -desktop-file-utils -device-mapper -dialog -diffutils -direnv -discord -djvulibre -dkms -dmraid -dnssec-anchors -docbook-xml -docbook-xsl -dosfstools -double-conversion -doxygen -dunst -e2fsprogs -efibootmgr -efitools -efivar -electron -electron11 -electron6 -elfutils -elinks -enchant -engrampa -ethtool -exempi -exfat-utils -exiv2 -exo -expat -expect -faac -faad2 -fakeroot -feh -ffmpeg -ffmpegthumbnailer -fftw -figlet -file -filesystem -findutils -firefox -flac -flex -fltk -fluidsynth -fmt -fontconfig -fontforge -foremost -freetype2 -frei0r-plugins -fribidi -fuse2 -fuse3 -fuse-common -fzf -gavl -gawk -gc -gcc -gcc-libs -gconf -gcr -gd -gdb -gdb-common -gdbm -gdk-pixbuf2 -gdk-pixbuf-xlib -gdl -gegl -geoclue -geocode-glib -gettext -ghc-libs -ghidra-darcula -ghostscript -giblib -giflib -gimp -girara -git -gitkraken -git-secret -gksu -glew -glib2 -glib2-docs -glibc -glibmm -glib-networking -glib-perl -glslang -glu -glxinfo -gmime3 -gmp -gn-m85 -gnome-desktop -gnome-keyring -gnome-themes-extra -gnome-video-effects -gnu-free-fonts -gnupg -gnuplot -gnutls -go -gobject-introspection-runtime -google-cloud-sdk -googler -gparted -gperf -gpgme -gpm -gptfdisk -gradle -graphene -graphicsmagick -graphite -graphviz -grep -groff -gsasl -gsettings-desktop-schemas -gsfonts -gsl -gsm -gssdp -gst-plugin-pipewire -gst-plugins-bad -gst-plugins-bad-libs -gst-plugins-base -gst-plugins-base-libs -gst-plugins-good -gstreamer -gtk2 -gtk2-perl -gtk2_prefs -gtk3 -gtk-doc -gtkmm3 -gtkspell3 -gtk-update-icon-cache -gts -guile -gumbo-parser -gupnp -gupnp-igd -gvfs -gvfs-afc -gvim -gzip -harfbuzz -harfbuzz-icu -haskell-aeson -haskell-aeson-pretty -haskell-ansi-terminal -haskell-asn1-encoding -haskell-asn1-parse -haskell-asn1-types -haskell-assoc -haskell-async -haskell-attoparsec -haskell-base16-bytestring -haskell-base64-bytestring -haskell-base-compat -haskell-base-compat-batteries -haskell-basement -haskell-base-orphans -haskell-bifunctors -haskell-blaze-builder -haskell-blaze-html -haskell-blaze-markup -haskell-byteable -haskell-case-insensitive -haskell-cereal -haskell-citeproc -haskell-cmdargs -haskell-colour -haskell-commonmark -haskell-commonmark-extensions -haskell-commonmark-pandoc -haskell-comonad -haskell-conduit -haskell-conduit-extra -haskell-connection -haskell-cookie -haskell-cryptonite -haskell-data-default -haskell-data-default-class -haskell-data-default-instances-containers -haskell-data-default-instances-dlist -haskell-data-default-instances-old-locale -haskell-data-fix -haskell-diff -haskell-digest -haskell-distributive -haskell-dlist -haskell-doclayout -haskell-doctemplates -haskell-emojis -haskell-erf -haskell-errors -haskell-file-embed -haskell-glob -haskell-haddock-library -haskell-hashable -haskell-hourglass -haskell-hslua -haskell-hslua-module-path -haskell-hslua-module-system -haskell-hslua-module-text -haskell-hsyaml -haskell-http -haskell-http-client -haskell-http-client-tls -haskell-http-types -haskell-hxt-charproperties -haskell-hxt-regex-xmlschema -haskell-hxt-unicode -haskell-indexed-traversable -haskell-integer-logarithms -haskell-ipynb -haskell-jira-wiki-markup -haskell-juicypixels -haskell-memory -haskell-mime-types -haskell-mono-traversable -haskell-network -haskell-network-uri -haskell-old-locale -haskell-old-time -haskell-pandoc-types -haskell-pem -haskell-primitive -haskell-quickcheck -haskell-random -haskell-regex-base -haskell-regex-tdfa -haskell-resourcet -haskell-safe -haskell-scientific -haskell-sha -haskell-skylighting -haskell-skylighting-core -haskell-socks -haskell-split -haskell-splitmix -haskell-streaming-commons -haskell-strict -haskell-syb -haskell-tagged -haskell-tagsoup -haskell-temporary -haskell-texmath -haskell-text-conversions -haskell-text-icu -haskell-th-abstraction -haskell-th-compat -haskell-these -haskell-time-compat -haskell-tls -haskell-transformers-compat -haskell-typed-process -haskell-unicode-transforms -haskell-uniplate -haskell-unliftio-core -haskell-unordered-containers -haskell-utf8-string -haskell-uuid-types -haskell-vector -haskell-vector-algorithms -haskell-x509 -haskell-x509-store -haskell-x509-system -haskell-x509-validation -haskell-xml -haskell-xml-conduit -haskell-xml-types -haskell-zip-archive -haskell-zlib -hdf5 -hdparm -hicolor-icon-theme -hidapi -highlight -hspell -htop -http-parser -hunspell -hwids -hwloc -hyphen -i7z -iana-etc -icu -ijs -imagemagick -imake -imlib2 -inetutils -iniparser -inkscape -intel-ucode -intltool -iperf -iproute2 -iptables -iputils -ipython -iso-codes -isync -itstool -iw -jack -jansson -jasper -java-environment-common -java-runtime-common -jbig2dec -jdk11-openjdk -jemalloc -jetbrains-toolbox -jq -jre11-openjdk -jre11-openjdk-headless -js78 -json-c -jsoncpp -json-glib -jupyter -jupyter_console -jupyterlab_pygments -jupyter-nbclient -jupyter-nbconvert -jupyter-nbformat -jupyter-notebook -jupyter-widgetsnbextension -jxrlib -karchive -kauth -kbd -kcodecs -kcompletion -kconfig -kconfigwidgets -kcoreaddons -kcrash -kdbusaddons -kded -keepass -keyutils -kglobalaccel -kguiaddons -khard -ki18n -kiconthemes -kitemviews -kitty-terminfo -kmod -krb5 -kservice -kwayland -kwidgetsaddons -kwindowsystem -kxmlgui -kyotocabinet -lame -languagetool -lapack -lcms2 -ldb -ldns -lensfun -less -lf -lhasa -lib32-gcc-libs -lib32-glibc -lib32-icu -lib32-libjpeg-turbo -lib32-libpng12 -lib32-libtiff -lib32-libxml2 -lib32-ncurses -lib32-popt -lib32-readline -lib32-xz -lib32-zlib -lib32-zstd -libabw -libaec -libaio -libao -libarchive -libass -libassuan -libasyncns -libatasmart -libatomic_ops -libavc1394 -libavif -libavtp -libblockdev -libbluray -libbs2b -libbsd -libbytesize -libcaca -libcanberra -libcanberra-pulse -libcap -libcap-ng -libcddb -libcdio -libcdio-paranoia -libcdr -libcerf -libcloudproviders -libcmis -libconfig -libcroco -libcups -libcurl-gnutls -libdaemon -libdatrie -libdbusmenu-glib -libdbusmenu-gtk3 -libdbusmenu-qt5 -libdc1394 -libdca -libde265 -libdiscid -libdrm -libdv -libdvbpsi -libdvdnav -libdvdread -libebml -libe-book -libedit -libelf -libepoxy -libepubgen -libetonyek -libev -libevdev -libevent -libexif -libexttextcat -libfdk-aac -libffi -libfishsound -libfontenc -libfreehand -libgcrypt -libgdiplus -libgexiv2 -libgksu -libglade -libglvnd -libgme -libgnomekbd -libgnome-keyring -libgpg-error -libgphoto2 -libgtop -libgudev -libgusb -libgweather -libhandy -libheif -libibus -libical -libice -libid3tag -libidn -libidn2 -libiec61883 -libimagequant -libimobiledevice -libinih -libinput -libinstpatch -libixion -libjpeg-turbo -libkate -libksba -liblangtag -libldac -libldap -liblo -liblouis -liblqr -liblrdf -libluv -libmad -libmanette -libmatroska -libmaxminddb -libmediainfo -libmfx -libmicrodns -libmicrohttpd -libmikmod -libmm-glib -libmms -libmng -libmnl -libmodplug -libmpc -libmpcdec -libmpdclient -libmpeg2 -libmspub -libmtp -libmwaw -libmypaint -libndp -libnet -libnetfilter_conntrack -libnewt -libnfnetlink -libnfs -libnftnl -libnghttp2 -libnice -libnl -libnm -libnma -libnotify -libnsl -libnumbertext -libodfgen -libofa -libogg -liboggz -libomxil-bellagio -libopenaptx -liborcus -libotr -libp11-kit -libpagemaker -libpaper -libpcap -libpciaccess -libpgm -libpipeline -libplacebo -libplist -libpng -libpng12 -libproxy -libpsl -libpulse -libpwquality -libqxp -libraqm -libraw -libraw1394 -libreoffice-fresh -librevenge -librsvg -libsamplerate -libsasl -libseccomp -libsecret -libshout -libsidplayfp -libsigc++ -libsigsegv -libsm -libsndfile -libsodium -libsoup -libsoxr -libspiro -libsrtp -libssh -libssh2 -libstaroffice -libstemmer -libsvg -libsvg-cairo -libsynctex -libtar -libtasn1 -libteam -libtermkey -libthai -libtheora -libtiff -libtirpc -libtommath -libtool -libtorrent-rasterbar -libuninameslist -libunistring -libunrar -libunwind -libupnp -liburing -libusb -libusb-compat -libusbmuxd -libutempter -libuv -libva -libvdpau -libvisio -libvisual -libvoikko -libvorbis -libvpx -libvterm -libwacom -libwebp -libwmf -libwpd -libwpe -libwpg -libwps -libx11 -libxau -libxaw -libxcb -libxcomposite -libxcrypt -libxcursor -libxdamage -libxdg-basedir -libxdmcp -libxext -libxfce4ui -libxfce4util -libxfixes -libxfont2 -libxft -libxi -libxinerama -libxkbcommon -libxkbcommon-x11 -libxkbfile -libxklavier -libxml2 -libxmu -libxpm -libxrandr -libxrender -libxres -libxshmfence -libxslt -libxss -libxt -libxtst -libxv -libxvmc -libxxf86vm -libyaml -libyuv -libzen -libzip -libzmf -licenses -lightdm -lightdm-gtk-greeter -lilv -linux -linux-api-headers -linux-firmware -linux-headers -lld -llvm -llvm-libs -lmdb -lm_sensors -lpsolve -l-smash -lua -lua51 -lua52 -lua53 -luajit -luit -lvm2 -lxappearance -ly -lynx -lz4 -lzo -m4 -mailcap -make -mallard-ducktype -man-db -man-pages -mariadb -mariadb-clients -mariadb-libs -mathjax -mathjax2 -md4c -mdadm -mediainfo -media-player-info -mesa -meson -metis -minizip -mjpegtools -mkinitcpio -mkinitcpio-busybox -mksh -mlocate -mobile-broadband-provider-info -mono -mozilla-common -mpc -mpd -mpd-mpris -mpfr -mpg123 -mpris-ctl -mpv -msgpack-c -msmtp -mtdev -mtools -mujs -mutt-wizard -mypaint-brushes1 -mysql-workbench -nasm -ncmpcpp -ncpamixer -ncurses -ncurses5-compat-libs -ndctl -nemo -neofetch -neomutt -neon -neovim -netpbm -nettle -net-tools -networkmanager -newsboat -nextcloud-client -ninja -node-gyp -nodejs -notmuch -notmuch-runtime -noto-fonts -noto-fonts-emoji -npm -npth -nspr -nss -ntfs-3g -nuspell -nvm -oath-toolkit -odt2txt -oniguruma -openal -opencore-amr -opencv -openexr -openh264 -openjpeg2 -openmpi -openssh -openssl -openssl-1.0 -optipng -opus -opusfile -orc -p11-kit -p7zip -pacman -pacman-contrib -pacman-mirrorlist -pahole -pam -pambase -pam-gnupg -pamixer -pandoc -pango -pangomm -pango-perl -parcel-bundler -parted -pass -patch -patchelf -pavucontrol -pciutils -pcre -pcre2 -peaclock -perl -perl-any-moose -perl-b-hooks-endofscope -perl-checkupdates-aur -perl-class-load -perl-class-load-xs -perl-clone -perl-cpan-meta-check -perl-data-optlist -perl-date-holidayparser -perl-devel-globaldestruction -perl-dist-checkconflicts -perl-encode-locale -perl-error -perl-eval-closure -perl-exporter-tiny -perl-extutils-config -perl-extutils-helpers -perl-extutils-installpaths -perl-file-copy-recursive -perl-file-listing -perl-file-next -perl-file-remove -perl-file-which -perl-html-parser -perl-html-tagset -perl-http-cookies -perl-http-daemon -perl-http-date -perl-http-message -perl-http-negotiate -perl-image-exiftool -perl-inc-latest -perl-io-html -perl-io-socket-ssl -perl-json -perl-libwww -perl-list-moreutils -perl-list-moreutils-xs -perl-locale-gettext -perl-lwp-mediatypes -perl-lwp-protocol-https -perl-mailtools -perl-module-build -perl-module-build-tiny -perl-module-implementation -perl-module-install -perl-module-runtime -perl-module-scandeps -perl-moose -perl-mouse -perl-mro-compat -perl-namespace-autoclean -perl-namespace-clean -perl-net-http -perl-net-ssleay -perl-package-deprecationmanager -perl-package-stash -perl-package-stash-xs -perl-params-util -perl-par-dist -perl-parse-yapp -perl-pod-parser -perl-sub-exporter -perl-sub-exporter-progressive -perl-sub-identify -perl-sub-install -perl-sub-name -perl-task-weaken -perl-test-checkdeps -perl-test-fatal -perl-timedate -perl-try-tiny -perl-uri -perl-variable-magic -perl-www-aur -perl-www-robotrules -perl-xml-parser -perl-yaml-tiny -phonon-qt5 -phonon-qt5-gstreamer -php -picard -picom -pinentry -pipes.sh -pipewire -pipewire-media-session -pixman -pkgconf -playerctl -plymouth -podofo -polkit -polkit-gnome -polkit-qt5 -poppler -poppler-data -poppler-glib -popt -portaudio -postgresql-libs -postman-bin -potrace -powertop -procps-ng -proj -proxychains-ng -psmisc -pulseaudio -pulseaudio-alsa -pulseaudio-bluetooth -python -python2 -python2-appdirs -python2-asn1crypto -python2-backports -python2-cachecontrol -python2-cffi -python2-chardet -python2-colorama -python2-configparser -python2-contextlib2 -python2-cryptography -python2-distlib -python2-distro -python2-docutils -python2-enum34 -python2-filelock -python2-future -python2-html5lib -python2-idna -python2-importlib-metadata -python2-importlib_resources -python2-ipaddress -python2-msgpack -python2-ordered-set -python2-packaging -python2-pathlib2 -python2-pep517 -python2-pip -python2-ply -python2-progress -python2-psutil -python2-pycparser -python2-pygame-sdl2 -python2-pyopenssl -python2-pyparsing -python2-requests -python2-resolvelib -python2-retrying -python2-scandir -python2-setuptools -python2-six -python2-toml -python2-typing -python2-urllib3 -python2-virtualenv -python2-webencodings -python2-wheel -python2-zipp -python-anytree -python-apipkg -python-apng -python-appdirs -python-apsw -python-argh -python-argon2_cffi -python-asn1crypto -python-astroid -python-async_generator -python-atomicwrites -python-attrs -python-babel -python-backcall -python-beaker -python-beautifulsoup4 -python-bleach -python-cachecontrol -python-cairo -python-capstone -python-cchardet -python-cffi -python-chardet -python-click -python-click-log -python-click-repl -python-click-spinner -python-click-threading -python-colorama -python-configobj -python-contextlib2 -python-cryptography -python-css-parser -python-cssselect -python-dateutil -python-decorator -python-defusedxml -python-delorean -python-discid -python-distlib -python-distro -python-dnspython -python-docopt -python-docutils -python-entrypoints -python-exifread -python-fasteners -python-feedparser -python-filebytes -python-gnupg -python-gobject -python-gpgme -python-greenlet -python-html2text -python-html5lib -python-html5-parser -python-httplib2 -python-humanize -python-icalendar -python-idna -python-ifaddr -python-imagesize -python-importlib-metadata -python-iniconfig -python-intervaltree -python-ipykernel -python-ipywidgets -python-isort -python-jedi -python-jeepney -python-jellyfin-apiclient -python-jinja -python-jsonschema -python-jupyter_client -python-jupyter_core -python-keyring -python-lazy-object-proxy -python-livereload -python-lxml -python-magic -python-mako -python-markdown -python-markupsafe -python-mccabe -python-mechanize -python-mistune -python-monotonic -python-more-itertools -python-mpv -python-mpv-jsonipc -python-msgpack -python-mutagen -python-nest_asyncio -python-netifaces -python-numpy -python-ordered-set -python-packaging -python-pandocfilters -python-parso -python-pathlib2 -python-pathtools -python-pdftotext -python-pep517 -python-pexpect -python-pickleshare -python-pillow -python-pip -python-pkginfo -python-pluggy -python-ply -python-port-for -python-prettytable -python-progress -python-prometheus_client -python-prompt_toolkit -python-psutil -python-ptyprocess -python-py -python-py7zr -python-pychm -python-pycparser -python-pycryptodome -python-pycups -python-pycurl -python-pydantic -python-pyexiftool -python-pygments -python-pykwalify -python-pylint -python-pynvim -python-pyopenssl -python-pyparsing -python-pypng -python-pyqt5 -python-pyqt5-sip -python-pyqt5-webengine -python-pyrsistent -python-pysocks -python-pytest -python-pytz -python-pyxcute -python-pyxdg -python-pyzmq -python-readme-renderer -python-regex -python-requests -python-requests-toolbelt -python-resolvelib -python-retrying -python-rfc3986 -python-ropper -python-ruamel-yaml -python-ruamel.yaml.clib -python-scandir -python-secretstorage -python-send2trash -python-setuptools -python-sgmllib -python-six -python-snowballstemmer -python-sortedcontainers -python-soupsieve -python-sphinx -python-sphinx-alabaster-theme -python-sphinx-autobuild -python-sphinxcontrib-applehelp -python-sphinxcontrib-devhelp -python-sphinxcontrib-htmlhelp -python-sphinxcontrib-jsmath -python-sphinxcontrib-qthelp -python-sphinxcontrib-serializinghtml -python-stegoveritas-pfp -python-stegoveritas-py010parser -python-tabulate -python-terminado -python-testpath -python-texttable -python-toml -python-tornado -python-tqdm -python-traitlets -python-typing_extensions -python-tzlocal -python-unidecode -python-unrardll -python-urllib3 -python-urwid -python-vobject -python-watchdog -python-wcwidth -python-webencodings -python-websocket-client -python-wheel -python-wrapt -python-xlib -python-xmp-toolkit -python-yaml -python-zeroconf -python-zipp -qbittorrent -qpdf -qt4 -qt5-base -qt5ct -qt5-declarative -qt5-graphicaleffects -qt5-imageformats -qt5-location -qt5-multimedia -qt5-quickcontrols -qt5-quickcontrols2 -qt5-script -qt5-speech -qt5-styleplugins -qt5-svg -qt5-tools -qt5-wayland -qt5-webchannel -qt5-webengine -qt5-websockets -qt5-x11extras -qtkeychain-qt5 -qutebrowser -r8152-dkms -radare2 -ranger -rapidjson -raptor -rasqal -rav1e -rclone -re2 -readline -redis -redland -refind -renpy -renpy-sdk -rest -rhash -ripgrep -rofi -rsync -rtkit -rtmpdump -rubberband -ruby -ruby-bundler -ruby-erubis -rubygems -ruby-hpricot -ruby-irb -ruby-mustache -ruby-rainbow -ruby-rdiscount -ruby-rdoc -ruby-reline -ruby-ronn -ruby-thor -ruby-xdg -run-parts -rust -samba -sbc -sbsigntools -scdoc -scrot -sdl -sdl2 -sdl2_image -sdl2_mixer -sdl2_ttf -seahorse -sed -semver -serd -shaderc -shadow -shared-mime-info -shellcheck -simplescreenrecorder -slang -smbclient -snappy -solid -sonic-visualiser -sonnet -sord -sound-theme-freedesktop -soundtouch -source-highlight -spandsp -speex -speexdsp -spicetify-cli -spirv-tools -spotify -spotifyd-full-git -spotify-tui -sqlite -sratom -srt -sselp -sshfs -startup-notification -stegoveritas -stfl -strace -sublime-text-3 -sudo -suitesparse -surfraw -svt-av1 -svt-hevc -sxhkd -sxiv -sysbench -sysfsutils -syslinux -system-config-printer -systemd -systemd-libs -systemd-sysvcompat -t1lib -taglib -talloc -tar -task -taskwarrior-tui -tbb -tcl -tcsh -tdb -telegram-desktop -terminal_dimensions-git -termite -termite-terminfo -tevent -texinfo -texlive-bibtexextra -texlive-bin -texlive-core -texlive-fontsextra -texlive-formatsextra -texlive-games -texlive-humanities -texlive-latexextra -texlive-music -texlive-pictures -texlive-pstricks -texlive-publishers -texlive-science -thermald -thin-provisioning-tools -tidy -tk -tlp -tmate -tmsu-bin -tmux -tor -torbrowser-launcher -tracker3 -trash-cli -tre -tree -tree-sitter -tslib -ttf-dejavu -ttf-inconsolata -ttf-joypixels -ttf-liberation -ttf-linux-libertine -ttf-material-design-icons -ttf-opensans -ttf-symbola -turbostat -twine -twolame -typora -tzdata -uchardet -udevil -udisks2 -ueberzug -unclutter -unibilium -unixodbc -unp -unrar -unzip -upower -urlscan -urlview -usbmuxd -usbutils -util-linux -util-linux-libs -v4l-utils -vala -vamp-plugin-sdk -vdirsyncer -vi -vid.stab -vim-runtime -virtualbox -virtualbox-host-dkms -vlc -vmaf -volume_key -vsqlite++ -vte-common -vtop -vue-cli -vulkan-icd-loader -w3m -wallabag-client -wavpack -wayland -wayland-protocols -wd719x-firmware -webkit2gtk -webkitgtk-bin -webrtc-audio-processing -weechat -wget -whatsapp-nativefier-dark -which -wildmidi -wireless_tools -wireshark-cli -wireshark-qt -woff2 -wpa_supplicant -wpebackend-fdo -wxgtk3 -wxgtk-common -x264 -x265 -xapian-core -xapp -xautolock -xbanish-timeout-git -xbitmaps -xcb-proto -xcb-util -xcb-util-image -xcb-util-keysyms -xcb-util-renderutil -xcb-util-wm -xcb-util-xrm -xclip -xcompmgr -xdg-dbus-proxy -xdg-utils -xf86-input-libinput -xf86-video-intel -xf86-video-vesa -xfconf -xfsprogs -xkblayout-state-git -xkb-switch -xkeyboard-config -xmenu -xmlsec -xorg-appres -xorg-bdftopcf -xorg-docs -xorg-fonts-100dpi -xorg-fonts-75dpi -xorg-fonts-alias-100dpi -xorg-fonts-alias-75dpi -xorg-fonts-encodings -xorg-font-util -xorg-font-utils -xorg-iceauth -xorg-mkfontscale -xorgproto -xorg-server -xorg-server-common -xorg-server-devel -xorg-server-xephyr -xorg-server-xnest -xorg-server-xvfb -xorg-sessreg -xorg-setxkbmap -xorg-smproxy -xorg-util-macros -xorg-x11perf -xorg-xauth -xorg-xbacklight -xorg-xcmsdb -xorg-xcursorgen -xorg-xdpyinfo -xorg-xdriinfo -xorg-xev -xorg-xgamma -xorg-xhost -xorg-xinit -xorg-xinput -xorg-xkbcomp -xorg-xkbevd -xorg-xkbutils -xorg-xkill -xorg-xlsatoms -xorg-xlsclients -xorg-xmodmap -xorg-xpr -xorg-xprop -xorg-xrandr -xorg-xrdb -xorg-xrefresh -xorg-xset -xorg-xsetroot -xorg-xvinfo -xorg-xwayland -xorg-xwd -xorg-xwininfo -xorg-xwud -xscreensaver -xsel -xss-lock -xsvg -xvidcore -xxhash -xz -yajl -yarn -yasm -yay -yelp-tools -yelp-xsl -youtube-dl -ytfzf -zathura -zathura-pdf-mupdf -zbar -zeromq -zimg -zip -zita-alsa-pcmi -zita-resampler -zlib -zoom -zsh -zstd -zvbi -zxing-cpp -zziplib diff --git a/arch-setup/packages.rice b/arch-setup/packages.rice new file mode 100644 index 00000000..999a890d --- /dev/null +++ b/arch-setup/packages.rice @@ -0,0 +1,34 @@ +yajl +webkit2gtk +surfraw +fzf +ytfzf +zsh +antibody +direnv +tmux +lf +bitwarden-cli +wallabag-client +spotify-tui +spotifyd-full-git +zathura +notmuch +msmtp +isync +pass +libgee +calcurse +neomutt +nvim +mpd +mpc +mpc-mpris +xbanish-timeout +htop +dunst +mpv-mpris +ncmpcpp +cmake +opencv +xmenu diff --git a/config/X11/xinitrc b/config/X11/xinitrc index b1e5ff6e..1d494e99 100755 --- a/config/X11/xinitrc +++ b/config/X11/xinitrc @@ -6,13 +6,14 @@ pkill -f "bash /sbin/clipmenud" pkill -f "/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh" pkill -f "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" pkill -f devmon + +echo "$DBUS_SESSION_BUS_ADDRESS" > /tmp/bus-session + rm -rf $XDG_RUNTIME_DIR/day_cache source ~/.config.env gpgconf --dry-run --create-socketdir eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) -systemctl --user import-environment DISPLAY -dbus-update-activation-environment --systemd DISPLAY export SSH_AUTH_SOCK @@ -71,6 +72,6 @@ while [ -f /home/yigit/.cache/dwm-restart ]; do rm -rf /home/yigit/.cache/dwm-restart dwmblocks > $XDG_RUNTIME_DIR/dwmblocks.out 2> $XDG_RUNTIME_DIR/dwmblocks.err & - dwm > $XDG_RUNTIME_DIR/dwm.log 2> $XDG_RUNTIME_DIR/dwm.err + exec dwm > $XDG_RUNTIME_DIR/dwm.log 2> $XDG_RUNTIME_DIR/dwm.err sleep 0.2 done diff --git a/config/zsh/cmds b/config/zsh/cmds index ca09f53c..32994943 100644 --- a/config/zsh/cmds +++ b/config/zsh/cmds @@ -12,8 +12,6 @@ hex() { echo "obase=16; ibase=10; $1" | bc } -ulimit -n 5000 - colors() { color=1; count=0; diff --git a/install.sh b/install.sh index 0b1b9845..a2e141bc 100755 --- a/install.sh +++ b/install.sh @@ -25,7 +25,7 @@ echo -n "Would you like to install all the necessary packages, not doing so migh read deps if [ ! "$deps" = "n" ]; then echo "Running update" - yay -S --needed --noconfirm $(cat ~/.dotfiles/arch-setup/packages.minimal) + yay -S --needed --noconfirm $(cat ~/.dotfiles/arch-setup/packages.rice) && exit 1 fi rm -rf ~/.dotfiles_backup @@ -92,14 +92,14 @@ cp ~/.dotfiles/config.env.def ~/.config.env echo "Downloading assets" prev=$(pwd) -curl https://minio.yigitcolakoglu.com/minio/dotfiles/tools/mc > "$HOME/.local/bin" +curl https://minio.yigitcolakoglu.com/dotfiles/tools/mc > "$HOME/.local/bin/mc" chmod +x "$HOME/.local/bin/mc" $HOME/.local/bin/mc alias set fr1nge-dots https://minio.yigitcolakoglu.com "" "" -mc cp -r yeet-dots/dotfiles/fonts/* ~/.local/share/fonts/ +mc cp -r fr1nge-dots/dotfiles/fonts/ ~/.local/share/fonts/ fc-cache ## Backgrounds -mc cp -r yeet-dots/dotfiles/backgrounds/* ~/.local/backgrounds/ +mc cp -r fr1nge-dots/dotfiles/backgrounds/ ~/.local/backgrounds/ # Setup Crontab if [ ! -f "/var/spool/cron/$username" ]; then @@ -140,17 +140,19 @@ mkdir -p "$WEECHAT_HOME" mkdir -p "$JUPYTER_CONFIG_DIR" mkdir -p "$PYLINTHOME" mkdir -p "$HOME/.local/share/zsh" -mkdir -p "$XDG_DATA_DIR/mail" -mkdir -p "$XDG_CONFIG_DIR/git" -mkdir -p "$XDG_CACHE_DIR/surf" +mkdir -p "$XDG_DATA_HOME/mail" +mkdir -p "$XDG_CONFIG_HOME/git" +mkdir -p "$XDG_CACHE_HOME/surf" chmod 700 "$GNUPGHOME" -touch "$XDG_CONFIG_DIR/git/config" +touch "$XDG_CONFIG_HOME/git/config" touch "$_Z_DATA" # Root Files and Directories sudo mkdir -p /usr/share/xsessions sudo cp ~/.dotfiles/root/dwm.desktop /usr/share/xsessions +sudo cp ~/.dotfiles/root/issue /etc/issue +sudo cp ~/.dotfiles/root/motd /etc/motd sudo cp ~/.dotfiles/root/nancyj.flf /usr/share/figlet/fonts sudo cp ~/.dotfiles/root/quark.service /usr/lib/systemd/system sudo cp ~/.dotfiles/root/kdialog /usr/local/bin/kdialog @@ -162,7 +164,7 @@ sudo systemctl enable quark if [ "$username" = "yigit" ]; then ~/.dotfiles/arch-setup/fetch_keys.sh # Fetch keys (For personal use, this is not for you) - mkdir -p "$XDG_DATA_DIR/mail/yigitcolakoglu@hotmail.com" + mkdir -p "$XDG_DATA_HOME/mail/yigitcolakoglu@hotmail.com" git config --global user.email "yigitcolakoglu@hotmail.com" git config --global user.name "Yigit Colakoglu" fi @@ -220,9 +222,10 @@ sudo make install > /dev/null 2> /dev/null cd $prev # Do a cleanup and delete some problematic files -mv ~/.fzf ~/.local/share/fzf rm -rf ~/.fzf* rm -rf ~/.bash_profile +rm -rf ~/.dotfiles/yarn.lock +rm -rf ~/.dotfiles/.git/hooks/* sudo rm -rf /etc/urlview/system.urlview diff --git a/local/bin/daily-update b/local/bin/daily-update index d452a71c..b6808a1c 100755 --- a/local/bin/daily-update +++ b/local/bin/daily-update @@ -9,22 +9,22 @@ cached=$(cat "$XDG_RUNTIME_DIR"/day_cache) if [ "$hour" -le "$morning" ]; then if [ ! "$cached" = "night" ]; then - feh --no-fehbg --bg-fill ~/.local/backgrounds/evening/"$(find ~/.local/backgrounds/evening | sort -R | tail -1 )" + feh --no-fehbg --bg-fill "$(find ~/.local/backgrounds/evening | sort -R | tail -1 )" echo "night" > "$XDG_RUNTIME_DIR/day_cache" fi elif [ "$night" -le "$hour" ]; then if [ ! "$cached" = "night" ]; then - feh --no-fehbg --bg-fill ~/.local/backgrounds/evening/"$(find ~/.local/backgrounds/evening | sort -R | tail -1 )" + feh --no-fehbg --bg-fill "$(find ~/.local/backgrounds/evening | sort -R | tail -1 )" echo "night" > "$XDG_RUNTIME_DIR/day_cache" fi elif [ "$afternoon" -le "$hour" ]; then if [ ! "$cached" = "afternoon" ]; then - feh --no-fehbg --bg-fill ~/.local/backgrounds/afternoon/"$(find ~/.local/backgrounds/afternoon| sort -R | tail -1 )" + feh --no-fehbg --bg-fill "$(find ~/.local/backgrounds/afternoon| sort -R | tail -1 )" echo "afternoon" > "$XDG_RUNTIME_DIR/day_cache" fi else if [ ! "$cached" = "morning" ]; then - feh --no-fehbg --bg-fill ~/.local/backgrounds/morning/"$(find ~/.local/backgrounds/morning | sort -R | tail -1 )" + feh --no-fehbg --bg-fill "$(find ~/.local/backgrounds/morning | sort -R | tail -1 )" echo "morning" > "$XDG_RUNTIME_DIR/day_cache" fi fi diff --git a/local/bin/pacontrol.sh b/local/bin/pacontrol.sh index e48b7ada..f4075fa0 100755 --- a/local/bin/pacontrol.sh +++ b/local/bin/pacontrol.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # pacontrol.sh # diff --git a/local/bin/readability b/local/bin/readability deleted file mode 100755 index f4d2d83d..00000000 --- a/local/bin/readability +++ /dev/null @@ -1,74 +0,0 @@ -#!/usr/bin/env node - -var program = require('commander') - , read = require('node-readability') - , he = require('he') - , pkg = require('../package.json') - , clc = require('cli-color'); - - - -program - .version(pkg.version) - .option('-c, --color', 'use colors in terminal') - .option('-f, --format [format]', 'set the format for the result (text or html)', '') - .parse(process.argv); - -var styles = {}; -styles.h1 = styles.h2 = styles.muted = function(s) { return s; }; - -if(program.color) { - styles.h1 = clc.underline.bold; - styles.h2 = clc.bold; - styles.muted = clc.white; - console.log(clc.reset); -} - -var error = function(msg) { - if(msg) console.log(clc.red("Error: ")+msg); - console.log(); - usage(); - process.exit(0); -} - -var usage = function() { - console.log("Usage: readability [url]"); - console.log(); - console.log("E.g.: readability http://techcrunch.com/2014/02/12/marc-andreessen-tech-is-still-recovering-from-a-depression"); - console.log(); -} - - -if(process.argv.length < 2) return error(); -var url = process.argv[2]; - -if(typeof url!='string' || !url.match(/^https?:\/\//)) return error(url+" is an invalid url"); - -console.log(url); -read(url, function(err, article, meta) { - // The title of the page. - console.log(); - console.log(styles.h1(article.title)); - console.log(); - // The main body of the page. - // console.log(article.content); - var content = article.content; - - if(program.format == 'html') return console.log(content); - - content = content.replace(/([^<])+<\/h[2-9]>/gi, function(match, header) { - return styles.h2(match); - }); - - content = content.replace(/ {2,*}|\t/g,' '); - - var content = content.replace(/<\/?[^>]+(>|$)/g, ""); - content = he.decode(content); - console.log(content); - - // The raw HTML code of the page - //console.log(article.html); - // The document object of the page - //console.log(article.document); - -}); diff --git a/profile b/profile index f8f03a4b..79db5ac1 100755 --- a/profile +++ b/profile @@ -27,7 +27,6 @@ export XDG_CONFIG_HOME="$HOME"/.config export XDG_CACHE_HOME="$HOME"/.cache export XDG_DATA_DIRS="/usr/local/share:/usr/share" export XDG_CONFIG_DIRS="/etc/xdg" -export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus" export XDG_RUNTIME_DIR="/run/user/1000" # LF Icons @@ -73,3 +72,11 @@ export XSERVERRC="$XDG_CONFIG_HOME"/X11/xserverrc export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc + +if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then + if [ ! "$DBUS_SESSION_BUS_ADDRESS" ] && [ ! $(command -v dbus-launch) ]; then + exec dbus-launch --exit-with-session xinit 2> $XDG_RUNTIME_DIR/xinit.err > $XDG_RUNTIME_DIR/xinit || exit + else + exec xinit + fi +fi diff --git a/root/issue b/root/issue new file mode 100644 index 00000000..0d4fae73 --- /dev/null +++ b/root/issue @@ -0,0 +1,11 @@ + + | \s \r + /\\ || | | | + / \\ || | _ | \t + / .. \\ //==\\\\ ||/= /==\\ ||/=\\ | | |/ \\ | | \\ / | \d + / . . \\ || || || | || || | | | | | | X | + / . . \\ \\\\==/| || \\==/ || || | | | | \\_/| / \\ | \U + / .. .. \\ A simple, lightweight linux distribution. | + /_' `_\\ | \l on \n +  + diff --git a/root/makeissue b/root/makeissue new file mode 100644 index 00000000..475dd54b --- /dev/null +++ b/root/makeissue @@ -0,0 +1,11 @@ +echo -e '\e[H\e[2J' > issue +echo -e ' \e[1;30m| \e[34m\\s \\r' >> issue +echo -e ' \e[36;1m/\\\\ \e[37m|| \e[36m| | \e[30m|' >> issue +echo -e ' \e[36m/ \\\\ \e[37m|| \e[36m| _ \e[30m| \e[32m\\t' >> issue +echo -e ' \e[1;36m/ \e[0;36m.. \e[1m\\\\ \e[37m//==\\\\\\\\ ||/= /==\\\\ ||/=\\\\ \e[36m| | |/ \\\\ | | \\\\ / \e[30m| \e[32m\\d' >> issue +echo -e ' \e[0;36m/ . . \\\\ \e[37m|| || || | || || \e[36m| | | | | | X \e[1;30m|' >> issue +echo -e ' \e[0;36m/ . . \\\\ \e[37m\\\\\\\\==/| || \\\\==/ || || \e[36m| | | | \\\\_/| / \\\\ \e[1;30m| \e[31m\\U' >> issue +echo -e ' \e[0;36m/ .. .. \\\\ \e[0;37mA simple, lightweight linux distribution. \e[1;30m|' >> issue +echo -e ' \e[0;36m/_\x27 `_\\\\ \e[1;30m| \e[35m\\l \e[0mon \e[1;33m\\n' >> issue +echo -e ' \e[0m' >> issue +echo -e '' >> issue diff --git a/root/motd b/root/motd new file mode 100644 index 00000000..91195fb3 --- /dev/null +++ b/root/motd @@ -0,0 +1,11 @@ + +@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +(@@@@@@@ @@@@@@@@@@@@@@@@ @@@@@@@ + @@@@@@ @@@@@@@@@@@@@ @@@@@ + @@@. @@@ @@@@ @@@@ + %@@, ,@@@ @@@ @@@ + @@@ @@@ @@@ @@@ + @@ @@@ @@@ @@ + @@@ ,@@ @@@ @@/ + @@@ @@. @@@ @@, + @@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@& diff --git a/suckless/tabbed/xembed b/suckless/tabbed/xembed index 82cd29d2f39cda2f020efa0270f769dbb69a8318..bfcd9509792a797a1e12887ecb65cb7955db841c 100755 GIT binary patch delta 409 zcmZoDY$%*?fwO^w0Sp>8-dxWlqQJPAalNJa_j@k{S87&#UAN)4sr%$P%qj-VKt+5& z%m~D6K-}S|0Ag~1!~}pC1a>{1RO9S=_05gK2${_fm?IdiUI0Y}7$g}cIDq64;3|+Q zz#zep;eZeWvF-pdNPULGWG&X;;_;~|i6w~)@$pH;#qq@@iA5z0@u_(!lU3NXI2nOX zVPs%pV3_RBCdv4AawgklM#0Ut?A{!k1RCTNSFl1%2Dudket z*dbgf#qeUXpuRohiOGTb@{Ef%7wYFTGn!0(XrwO)(+;CIOjb137lc^?qkm3L1d1+# p+6kjoCNDJB=R5%wJu&&Fu{q}pDDTB&NfUEUm@^J+jx<})LVknp_sBh00 zFgZ|Pp3!J?p?*FyqsrumM*4y