From 45167c4fddb678346303fc45b864110d251c8776 Mon Sep 17 00:00:00 2001 From: Clay Gomera Date: Fri, 16 Dec 2022 21:53:15 -0400 Subject: [PATCH] updated --- system/boot/loader/entries/arch.conf | 5 + system/etc/mkinitcpio.conf | 73 +++++++++++++ system/etc/pacman.conf | 101 ++++++++++++++++++ user/.bash_profile | 2 +- user/.config/user-dirs.dirs | 15 +++ user/.local/share/rofi/themes/tokyonight.rasi | 16 +++ user/.xinitrc | 2 +- 7 files changed, 212 insertions(+), 2 deletions(-) create mode 100755 system/boot/loader/entries/arch.conf create mode 100644 system/etc/mkinitcpio.conf create mode 100644 system/etc/pacman.conf create mode 100644 user/.config/user-dirs.dirs create mode 100644 user/.local/share/rofi/themes/tokyonight.rasi diff --git a/system/boot/loader/entries/arch.conf b/system/boot/loader/entries/arch.conf new file mode 100755 index 000000000..12946e910 --- /dev/null +++ b/system/boot/loader/entries/arch.conf @@ -0,0 +1,5 @@ +title Arch Linux +linux /vmlinuz-linux-zen +initrd /intel-ucode.img +initrd /initramfs-linux-zen.img +options rd.luks.name=[uuid]=thklvm root=/dev/thkvg/root rw quiet loglevel=0 systemd.show_status=auto rd.udev.log_level=0 nowatchdog splash diff --git a/system/etc/mkinitcpio.conf b/system/etc/mkinitcpio.conf new file mode 100644 index 000000000..6d5de2ff6 --- /dev/null +++ b/system/etc/mkinitcpio.conf @@ -0,0 +1,73 @@ +# vim:set ft=sh +# MODULES +# The following modules are loaded before any boot hooks are +# run. Advanced users may wish to specify all system modules +# in this array. For instance: +# MODULES=(usbhid xhci_hcd) +MODULES=(i915) + +# BINARIES +# This setting includes any additional binaries a given user may +# wish into the CPIO image. This is run last, so it may be used to +# override the actual binaries included by a given hook +# BINARIES are dependency parsed, so you may safely ignore libraries +BINARIES=() + +# FILES +# This setting is similar to BINARIES above, however, files are added +# as-is and are not parsed in any way. This is useful for config files. +FILES=() + +# HOOKS +# This is the most important setting in this file. The HOOKS control the +# modules and scripts added to the image, and what happens at boot time. +# Order is important, and it is recommended that you do not change the +# order in which HOOKS are added. Run 'mkinitcpio -H ' for +# help on a given hook. +# 'base' is _required_ unless you know precisely what you are doing. +# 'udev' is _required_ in order to automatically load modules +# 'filesystems' is _required_ unless you specify your fs modules in MODULES +# Examples: +## This setup specifies all modules in the MODULES setting above. +## No RAID, lvm2, or encrypted root is needed. +# HOOKS=(base) +# +## This setup will autodetect all modules for your system and should +## work as a sane default +# HOOKS=(base udev autodetect modconf block filesystems fsck) +# +## This setup will generate a 'full' image which supports most systems. +## No autodetection is done. +# HOOKS=(base udev modconf block filesystems fsck) +# +## This setup assembles a mdadm array with an encrypted root file system. +## Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices. +# HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck) +# +## This setup loads an lvm2 volume group. +# HOOKS=(base udev modconf block lvm2 filesystems fsck) +# +## NOTE: If you have /usr on a separate partition, you MUST include the +# usr and fsck hooks. +HOOKS=(base systemd sd-plymouth autodetect keyboard modconf block sd-encrypt kms keymap consolefont block lvm2 filesystems fsck) + +# COMPRESSION +# Use this to compress the initramfs image. By default, zstd compression +# is used. Use 'cat' to create an uncompressed image. +#COMPRESSION="zstd" +#COMPRESSION="gzip" +#COMPRESSION="bzip2" +#COMPRESSION="lzma" +#COMPRESSION="xz" +#COMPRESSION="lzop" +#COMPRESSION="lz4" + +# COMPRESSION_OPTIONS +# Additional options for the compressor +#COMPRESSION_OPTIONS=() + +# MODULES_DECOMPRESS +# Decompress kernel modules during initramfs creation. +# Enable to speedup boot process, disable to save RAM +# during early userspace. Switch (yes/no). +#MODULES_DECOMPRESS="yes" diff --git a/system/etc/pacman.conf b/system/etc/pacman.conf new file mode 100644 index 000000000..08ff03609 --- /dev/null +++ b/system/etc/pacman.conf @@ -0,0 +1,101 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives + +# +# GENERAL OPTIONS +# +[options] +# The following paths are commented out with their default values listed. +# If you wish to use different paths, uncomment and update the paths. +#RootDir = / +#DBPath = /var/lib/pacman/ +#CacheDir = /var/cache/pacman/pkg/ +#LogFile = /var/log/pacman.log +#GPGDir = /etc/pacman.d/gnupg/ +#HookDir = /etc/pacman.d/hooks/ +HoldPkg = pacman glibc +#XferCommand = /usr/bin/curl -L -C - -f -o %o %u +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u +#CleanMethod = KeepInstalled +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +Color +#NoProgressBar +CheckSpace +#VerbosePkgLists +ParallelDownloads = 5 +ILoveCandy + +# By default, pacman accepts packages signed by keys that its local keyring +# trusts (see pacman-key and its man page), as well as unsigned packages. +SigLevel = Required DatabaseOptional +LocalFileSigLevel = Optional +#RemoteFileSigLevel = Required + +# NOTE: You must run `pacman-key --init` before first using pacman; the local +# keyring can then be populated with the keys of all official Arch Linux +# packagers with `pacman-key --populate archlinux`. + +# +# REPOSITORIES +# - can be defined here or included from another file +# - pacman will search repositories in the order defined here +# - local/custom mirrors can be added here or in separate files +# - repositories listed first will take precedence when packages +# have identical names, regardless of version number +# - URLs will have $repo replaced by the name of the current repo +# - URLs will have $arch replaced by the name of the architecture +# +# Repository entries are of the format: +# [repo-name] +# Server = ServerName +# Include = IncludePath +# +# The header [repo-name] is crucial - it must be present and +# uncommented to enable the repo. +# + +# The testing repositories are disabled by default. To enable, uncomment the +# repo name header and Include lines. You can add preferred servers immediately +# after the header, and they will be used before the default mirrors. + +#[testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +[extra] +Include = /etc/pacman.d/mirrorlist + +#[community-testing] +#Include = /etc/pacman.d/mirrorlist + +[community] +Include = /etc/pacman.d/mirrorlist + +# If you want to run 32 bit applications on your x86_64 system, +# enable the multilib repositories as required here. + +#[multilib-testing] +#Include = /etc/pacman.d/mirrorlist + +[multilib] +Include = /etc/pacman.d/mirrorlist + +# An example of a custom package repository. See the pacman manpage for +# tips on creating your own repositories. +#[custom] +#SigLevel = Optional TrustAll +#Server = file:///home/custompkgs diff --git a/user/.bash_profile b/user/.bash_profile index a5c16a5df..ca7913dcf 100644 --- a/user/.bash_profile +++ b/user/.bash_profile @@ -18,7 +18,7 @@ export EDITOR="emacsclient -t -a ''" # $EDITOR use Emacs in termina export VISUAL="emacsclient -c -a emacs" # $VISUAL use Emacs in GUI mode export READER="zathura" # Zathura as the pdf viewer export TERMINAL="alacritty" # Alacritty as the default terminal emulator -export BROWSER="qutebrowser" # Qutebrowser as the default web browser +export BROWSER="firefox" # Firefox as the default web browser export WM="awesome" # Awesomewm as the default Window Manager export XDG_DATA_HOME="${XDG_DATA_HOME:="$HOME/.local/share"}" export XDG_CACHE_HOME="${XDG_CACHE_HOME:="$HOME/.cache"}" diff --git a/user/.config/user-dirs.dirs b/user/.config/user-dirs.dirs new file mode 100644 index 000000000..46a4d7e73 --- /dev/null +++ b/user/.config/user-dirs.dirs @@ -0,0 +1,15 @@ +# This file is written by xdg-user-dirs-update +# If you want to change or add directories, just edit the line you're +# interested in. All local changes will be retained on the next run. +# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped +# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an +# absolute path. No other format is supported. +# +XDG_DESKTOP_DIR="$HOME/temporal" +XDG_DOWNLOAD_DIR="$HOME/downloads" +XDG_TEMPLATES_DIR="$HOME/documents/templates" +XDG_PUBLICSHARE_DIR="$HOME/public" +XDG_DOCUMENTS_DIR="$HOME/documents" +XDG_MUSIC_DIR="$HOME/music" +XDG_PICTURES_DIR="$HOME/pictures" +XDG_VIDEOS_DIR="$HOME/videos" diff --git a/user/.local/share/rofi/themes/tokyonight.rasi b/user/.local/share/rofi/themes/tokyonight.rasi new file mode 100644 index 000000000..c09b8e1fe --- /dev/null +++ b/user/.local/share/rofi/themes/tokyonight.rasi @@ -0,0 +1,16 @@ +* { + bg-col: #1a1b26; + bg-col-light: #272834; + border-col: #7aa2f7; + selected-col: #282e49; + blue: #80a8fd; + fg-col: #abb2bf; + fg-col2: #e06c75; + grey: #565c64; + width: 600; + selected: #caaa6a; + red: #ce7284; + green: #7dc5a0; + empty: #5b668e; + inactive: #4a5374; +} diff --git a/user/.xinitrc b/user/.xinitrc index f3093e327..845b4f4a2 100755 --- a/user/.xinitrc +++ b/user/.xinitrc @@ -35,7 +35,7 @@ export EDITOR="emacsclient -t -a ''" # $EDITOR use Emacs in termina export VISUAL="emacsclient -c -a emacs" # $VISUAL use Emacs in GUI mode export READER="zathura" # Zathura as the pdf viewer export TERMINAL="alacritty" # Alacritty as the default terminal emulator -export BROWSER="qutebrowser" # Qutebrowser as the default web browser +export BROWSER="firefox" # Firefox as the default web browser export WM="awesome" # Awesomewm as the default Window Manager export XDG_DATA_HOME="${XDG_DATA_HOME:="$HOME/.local/share"}" export XDG_CACHE_HOME="${XDG_CACHE_HOME:="$HOME/.cache"}"