diff options
-rw-r--r-- | INSTALL/arch-install | 9 | ||||
-rw-r--r-- | ROOT/doas/doas.conf | 1 | ||||
-rwxr-xr-x | scripts/.local/bin/backlightctl | 4 | ||||
-rwxr-xr-x | suckless/.local/src/compileSource | 22 |
4 files changed, 19 insertions, 17 deletions
diff --git a/INSTALL/arch-install b/INSTALL/arch-install index 8c60f6c..73e5720 100644 --- a/INSTALL/arch-install +++ b/INSTALL/arch-install @@ -20,10 +20,13 @@ sudo cp -rf ROOT/issue/issue /etc sudo cp -rf ROOT/hosts/hosts /etc # Install Required Programs -sudo pacman --needed -Syu stow opendoas pamixer zsh ncmpcpp xwallpaper newsboat vifm zathura maim ffmpeg lxappearance qt5ct qt6ct ntp redshift numlockx htop xclip imagemagick neovim mpv mpd mpc sxiv zathura-pdf-mupdf zathura-ps automake curl make bc android-tools gimp kdenlive inkscape arandr shellcheck arc-gtk-theme ctags unoconv nodejs p7zip papirus-icon-theme valgrind gdb light pulsemixer pavucontrol xorg-server xorg-xinit go gtk3 gst-plugins-base-libs hplip simple-scan system-config-printer gst-plugins-good grc gst-libav clang net-tools ffmpegthumbnailer webkit2gtk torbrowser-launcher neofetch cmatrix asciiquarium npm python python-pip pass screenkey pipewire-pulse ueberzug yt-dlp python-pywal alsa-utils picom virt-manager qemu-desktop wireplumber foremost testdisk swtpm lxsession obs-studio firefox keepassxc webkit2gtk-4.1 texlive-meta unzip zeal texlive-langportuguese xcolor libva-mesa-driver mesa-vdpau mesa vulkan-icd-loader xorg-drivers noto-fonts-emoji noto-fonts transmission-cli transmission-remote-gtk +sudo pacman --needed -Syu stow opendoas pamixer zsh ncmpcpp xwallpaper newsboat vifm zathura maim ffmpeg lxappearance qt5ct qt6ct ntp redshift numlockx htop xclip imagemagick neovim mpv mpd mpc sxiv zathura-pdf-mupdf zathura-ps automake curl make bc android-tools gimp kdenlive inkscape arandr shellcheck arc-gtk-theme ctags unoconv nodejs p7zip papirus-icon-theme valgrind gdb pulsemixer pavucontrol xorg-server xorg-xinit go gtk3 gst-plugins-base-libs hplip simple-scan system-config-printer gst-plugins-good grc gst-libav clang net-tools ffmpegthumbnailer webkit2gtk torbrowser-launcher neofetch cmatrix asciiquarium npm python python-pip pass screenkey pipewire-pulse ueberzug yt-dlp python-pywal alsa-utils picom virt-manager qemu-desktop wireplumber foremost testdisk swtpm lxsession obs-studio firefox keepassxc webkit2gtk-4.1 texlive-meta unzip zeal texlive-langportuguese xcolor libva-mesa-driver mesa-vdpau mesa vulkan-icd-loader xorg-drivers noto-fonts-emoji noto-fonts transmission-cli transmission-remote-gtk gcr xorg-xbacklight git-lfs + +# Pentest Tools +sudo pacman --needed -Syu pixiewps iw wpa_supplicant wget aircrack-ng bettercap bettercap-caplets bully reaver mdk4 net-tools python # Adding services to OpenRC -[ "$OS" = "artix" ] && [ -e "/bin/openrc" ] && doas pacman --needed -Syu cups-openrc avahi-openrc && doas rc-update add cupsd +[ "$OS" = "artix" ] && [ -e "/bin/openrc" ] && doas pacman --needed -Syu cups-openrc&& doas rc-update add cupsd # Adding user to groups doas usermod -aG tor,video "$USER" @@ -35,7 +38,7 @@ doas sh -c 'echo "export _JAVA_AWT_WM_NONREPARENTING=1" >>/etc/profile.d/jre.sh' chsh -s /bin/zsh # Deploy Dots -stow --target="$HOME" fonts gtk keepass man misc mpd ncmpcpp newsboat neovim npm picom pipewire qt shell scripts suckless surf sxiv tor vifm X11 zathura zeal zsh +stow --target="$HOME" fonts gtk keepass man misc mpd ncmpcpp newsboat neovim npm picom pipewire qt shell scripts suckless surf sxiv tor vifm wal X11 zathura zeal zsh touch ~/.config/X11/Xauthority ~/.config/mpd/database ~/.config/mpd/log ~/.config/mpd/pid ~/.config/mpd/state ~/.config/mpd/sticker.sql cd ~/.local/src && sh compileSource && cd "$CURDIR" || exit diff --git a/ROOT/doas/doas.conf b/ROOT/doas/doas.conf index 34fafae..f4d8f02 100644 --- a/ROOT/doas/doas.conf +++ b/ROOT/doas/doas.conf @@ -1,6 +1,5 @@ permit persist keepenv :wheel as root -permit nopass :wheel cmd light permit nopass :wheel cmd poweroff permit nopass :wheel cmd reboot permit nopass :wheel cmd shutdown diff --git a/scripts/.local/bin/backlightctl b/scripts/.local/bin/backlightctl index e756040..8426a8f 100755 --- a/scripts/.local/bin/backlightctl +++ b/scripts/.local/bin/backlightctl @@ -3,8 +3,8 @@ # Controls backlighting of LCD case $1 in "+") - (xbacklight -inc 5 || doas light -A 5) + (xbacklight -inc 5 || brightnessctl s +5%) ;; "-") - (xbacklight -dec 5 || doas light -U 5) + (xbacklight -dec 5 || brightnessctl s 5%-) esac diff --git a/suckless/.local/src/compileSource b/suckless/.local/src/compileSource index b53c84e..cb239f9 100755 --- a/suckless/.local/src/compileSource +++ b/suckless/.local/src/compileSource @@ -11,19 +11,19 @@ KERNEL=$(uname) # Cloning and Cleaning Programs # ################################# -git clone git@github.com:rafa-99/dmenu.git -git clone git@github.com:rafa-99/dwm.git -git clone git@github.com:rafa-99/pkg.git -git clone git@github.com:rafa-99/queryt.git -git clone git@github.com:rafa-99/slock.git -git clone git@github.com:rafa-99/st.git +git clone https://github.com/rafa-99/dmenu.git +git clone https://github.com/rafa-99/dwm.git +git clone https://github.com/rafa-99/pkg.git +git clone https://github.com/rafa-99/queryt.git +git clone https://github.com/rafa-99/slock.git +git clone https://github.com/rafa-99/st.git if [ "$KERNEL" = "Linux" ]; then - git clone git@github.com:rafa-99/farbfeld.git - git clone git@github.com:rafa-99/surf.git - git clone git@github.com:rafa-99/sent.git - git clone git@github.com:rafa-99/slstatus.git - git clone git@github.com:rafa-99/xmouseless.git + git clone https://github.com/rafa-99/farbfeld.git + git clone https://github.com/rafa-99/surf.git + git clone https://github.com/rafa-99/sent.git + git clone https://github.com/rafa-99/slstatus.git + git clone https://github.com/rafa-99/xmouseless.git fi cd "$SRC"/dmenu && git pull ; |