commit 4e3842f867343d0702f3608be601ec7db7f1ae9a
parent 114b6e274712af28eddb5ba6b21941b91f04604e
Author: rei <rei@sonu.ch>
Date: Thu, 2 Sep 2021 22:40:04 +0300
Everything changes
Diffstat:
10 files changed, 83 insertions(+), 86 deletions(-)
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
@@ -0,0 +1,45 @@
+set nocompatible
+set bs=2
+set tw=72
+set cindent
+set tabstop=4
+set shiftwidth=4
+
+set mouse=a
+
+set nowrapscan
+
+set showmatch
+set showmode
+set uc=0
+" This was causing trouble with the del key in many systems
+" set t_kD=^?
+map ^H X
+map \e[3~ x
+set mousehide
+set hlsearch
+let c_comment_strings=1
+
+" Stop vim autowrapping
+set wrap linebreak textwidth=0 showbreak=>>
+
+" Color for xiterm, rxvt, nxterm, color-xterm :
+if has("terminfo")
+set t_Co=8
+set t_Sf=\e[3%p1%dm
+set t_Sb=\e[4%p1%dm
+else
+set t_Co=8
+set t_Sf=\e[3%dm
+set t_Sb=\e[4%dm
+endif
+
+colorscheme elflord
+
+syntax on
+
+autocmd FileType crontab :set backupcopy=yes
+autocmd FileType crontab :set nobackup
+
+set number
+set cursorline
diff --git a/.kshrc b/.kshrc
@@ -1,15 +0,0 @@
-set -o emacs
-
-alias ..="cd .."
-alias cp="cp -v"
-alias mv="mv -v"
-alias mkdir="mkdir -v"
-alias rm="rm -v"
-alias sxiv="sxiv -a"
-alias sl="ls -r"
-alias mutt="neomutt"
-alias ytdl="youtube-dl"
-alias sudo="doas"
-alias sm="sh $SCRIPTS/syncmails.sh"
-
-PS1='\u@\h$[\[\e[01;$(($??31:39))m\]$?\[\e[0m]\]:$(awk -f "${HOME}/bin/spwd" -- "${PWD}")\]λ '
diff --git a/.profile b/.profile
@@ -1,13 +0,0 @@
-# envs
-export ENV="$HOME/.kshrc"
-export NO_COLOR="1"
-export TERM="screen-256color"
-export BROWSER="firefox"
-export EDITOR="/bin/vi"
-
-# toybox
-TOYBOX=/usr/local/toybox export TOYBOX
-PATH=$TOYBOX/bin:$TOYBOX/usr/bin:$TOYBOX/sbin:$TOYBOX/usr/sbin:/bin:/usr/local/bin export PATH
-
-# start x on login
-sh $HOME/bin/xinit.sh
diff --git a/.walls/1624689657880.png b/.walls/1624689657880.png
Binary files differ.
diff --git a/.config/wp.jpg b/.walls/wp.jpg
Binary files differ.
diff --git a/README b/README
@@ -1,3 +1 @@
hello from the rice fields!
-
-bin/spwd is taken from https://github.com/qbit/dotfiles
diff --git a/bin/spwd b/bin/spwd
@@ -1,44 +0,0 @@
-#!/usr/bin/awk -f
-# spwd: pure AWK path shortener for PS1
-# Shortens a path by keeping only the first character of each directory, or the
-# two firsts if it starts with a dot.
-
-# Usage:
-# export PS1="\u:\$(awk -f /where/is/spwd -- "\${PWD}")> "
-
-# Runtime example:
-# charlene:/u/s/d/mg> echo $PWD
-# /usr/share/doc/mg
-# charlene:/u/s/d/mg> cd /home/charlene/.vim/colors/
-# charlene:~/.v/colors>
-
-# Should be POSIX-compliant, tested with OpenBSD's awk, mawk and gawk.
-# May break if you have funny chars in $HOME
-
-BEGIN {
- # dealing with directories with spaces
- for (elem = 1; elem < length(ARGV); elem++) {
- pwd = sprintf("%s %s", pwd, ARGV[elem])
- }
- sub(/^ /, "", pwd)
-
- home = ENVIRON["HOME"]
- # Regex-ify $HOME
- gsub(/\//, "\\/", home)
- sub("^"home, "~", pwd)
- if (pwd == "~") {
- printf(pwd)
- exit
- }
-
- split(pwd, pelems, /\//)
- # we don't need the useless pelems[0], and the shortened "basename $PWD"
- # (last one). Also the pelems[1] is empty because pwd starts with the
- # seperator, so it will always prints '/'.
- for (i = 1; i < length(pelems); i++) {
- # two characters for dotfiles/dirs
- nchar = substr(pelems[i], 1, 1) == "." ? 2 : 1
- printf("%s/", substr(pelems[i], 1, nchar))
- }
- printf("%s", pelems[length(pelems)])
-}
diff --git a/bin/xinit.sh b/bin/xinit.sh
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-["$DISPLAY"] && exit 1
-
-tty=$(tty | tail -c2) || exit 1
-xinitrc=$(XINITRC:-$HOME/.xinitrc)
-
-export DISPLAY=:$tty
-
-exec xinit "${@:-$xinitrc}" -- "$DISPLAY" vt"$tty" -keeptty
-
-clear
diff --git a/scripts/kde_cleaner.sh b/scripts/kde_cleaner.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+sudo pacman -Rns discover kde-games kde-education kompare kdevelop akonadi artikulate akregator kdevelop-php kdepim-runtime kmail kaddressbook knotes korganizer umbrello kolourpaint kontrast kdenlive krdc ktorrent kget kopete konversation konqueror ktnef kdepim kdepim-addons kimagemapeditor kamoso kamera kmouth ktimer kteatime kwrite krfb kfloppy kbackup plasma-vault powerdevil itinerary kgpg kmag kate sweeper spectacle filelight kbackup kcharselect kcalc kapptemplate kcachegrind cervisia telepathy-kde-common-internals kaccounts-providers telepathy-kde-text-ui telepathy-kde-send-file telepathy-kde-integration-module telepathy-kde-filetransfer-handler telepathy-kde-desktop-applets telepathy-kde-contact-runner telepathy-kde-contact-list telepathy-kde-call-ui telepathy-kde-auth-handler kio-gdrive telepathy-kde-accounts-kcm kwalletmanager ksystemlog kruler kfind kmousetool kinfocenter plasma-disks networkmanager network-manager-applet networkmanager-qt partitionmanager kdf okular purpose gwenview audiocd-kio dragon elisa juk k3b kdenlive kwave
diff --git a/scripts/setup.sh b/scripts/setup.sh
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+# My Artix Linux OpenRC setup
+
+echo "installing necessary packages"
+sudo pacman -S artix-archlinux-support cups cups-openrc gutenprint neovim man man-pages neofetch firefox xorg qbittorrent plasma kde-applications git base-devel wireguard-tools papirus-icon-theme
+
+echo "paste this to /etc/pacman.conf:
+
+[universe]
+Server = https://universe.artixlinux.org/$arch
+
+[extra]
+Include = /etc/pacman.d/mirrorlist-arch
+
+[community]
+Include = /etc/pacman.d/mirrorlist-arch
+
+[multilib]
+Include = /etc/pacman.d/mirrorlist-arch"
+
+read -n 1 -s -r -p "press any key to continue"
+
+# paru
+echo "installing paru"
+git clone https://aur.archlinux.org/paru-bin.git && cd paru-bin && makepkg -sic
+
+# wine, gamemode, radeon drivers, 32-bit libraries.
+
+sudo pacman -S --needed cabextract dosbox giflib gnutls gst-plugins-base-libs lib32-giflib lib32-gnutls lib32-gst-plugins-base-libs lib32-libcurl-gnutls lib32-libgcrypt lib32-libjpeg-turbo lib32-libpng lib32-libva lib32-libxslt lib32-mpg123 lib32-openal lib32-opencl-icd-loader lib32-sdl2 lib32-vkd3d lib32-vulkan-icd-loader lib32-vulkan-radeon libcurl-gnutls libgcrypt libjpeg-turbo libpng libva libxslt mono mpg123 openal opencl-icd-loader vkd3d vulkan-icd-loader vulkan-radeon gamemode lib32-gamemode wine-staging
+
+# install aritim-dark gtk theme
+echo "installing aritim-dark theme"
+
+git clone https://github.com/Mrcuve0/Aritim-Dark && mkdir -p ~/.themes && cp -r Aritim-Dark/GTK/* ~/.themes