Updated, switched to void linux again
This commit is contained in:
parent
eee0fec20b
commit
d54f2d5c3c
21 changed files with 102 additions and 308 deletions
|
@ -16,7 +16,7 @@ set fish_greeting # Supresses fish's intro messa
|
||||||
set TERM "xterm-256color" # Sets the terminal type
|
set TERM "xterm-256color" # Sets the terminal type
|
||||||
|
|
||||||
### SET BAT AS MANPAGER
|
### SET BAT AS MANPAGER
|
||||||
set -x MANPAGER "sh -c 'sed -u -e \"s/\\x1B\[[0-9;]*m//g; s/.\\x08//g\" | bat -p -lman'"
|
#set -x MANPAGER "batman"
|
||||||
|
|
||||||
### SET EITHER DEFAULT EMACS MODE OR VI MODE ###
|
### SET EITHER DEFAULT EMACS MODE OR VI MODE ###
|
||||||
function fish_user_key_bindings
|
function fish_user_key_bindings
|
||||||
|
@ -148,12 +148,12 @@ alias lt='eza -aT --color=always --group-directories-first' # tree listing
|
||||||
alias l.='eza -a | egrep "^\."'
|
alias l.='eza -a | egrep "^\."'
|
||||||
|
|
||||||
# package management
|
# package management
|
||||||
alias pkg-update="paru -Syu"
|
alias xbu="sudo xbps-install -Su"
|
||||||
alias pkg-install="paru -S"
|
alias xbi="sudo xbps-install -S"
|
||||||
alias pkg-remove="paru -Rcns"
|
alias xbr="sudo xbps-remove -R"
|
||||||
alias pkg-remove-sec="paru -R"
|
alias xbrs="sudo xbps-remove"
|
||||||
alias pkg-search="paru -Ss"
|
alias xbc="sudo xbps-remove -Oo"
|
||||||
alias pkg-clean="paru -Scc && paru -Rns (pacman -Qtdq)"
|
alias xbs="sudo xbps-query -R"
|
||||||
|
|
||||||
# Colorize grep output (good for log files)
|
# Colorize grep output (good for log files)
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
|
|
|
@ -22,6 +22,7 @@ selection=585b70ff
|
||||||
selection-match=f38ba8ff
|
selection-match=f38ba8ff
|
||||||
selection-text=cdd6f4ff
|
selection-text=cdd6f4ff
|
||||||
border=b4befeff
|
border=b4befeff
|
||||||
|
prompt=b4befeff
|
||||||
|
|
||||||
[border]
|
[border]
|
||||||
width=3
|
width=3
|
||||||
|
|
|
@ -56,13 +56,13 @@ case "$action" in
|
||||||
loginctl kill-session self
|
loginctl kill-session self
|
||||||
;;
|
;;
|
||||||
"$option2")
|
"$option2")
|
||||||
systemctl reboot
|
loginctl reboot
|
||||||
;;
|
;;
|
||||||
"$option3")
|
"$option3")
|
||||||
systemctl poweroff
|
loginctl poweroff
|
||||||
;;
|
;;
|
||||||
"$option4")
|
"$option4")
|
||||||
systemctl suspend
|
loginctl suspend
|
||||||
;;
|
;;
|
||||||
"$option5")
|
"$option5")
|
||||||
swaylock -i "$currwall"
|
swaylock -i "$currwall"
|
||||||
|
|
|
@ -2,5 +2,3 @@
|
||||||
mail = maverick.xero@proton.me
|
mail = maverick.xero@proton.me
|
||||||
name = Lian Drake
|
name = Lian Drake
|
||||||
email = maverick.xero@proton.me
|
email = maverick.xero@proton.me
|
||||||
[safe]
|
|
||||||
directory = /usr/share/flutter
|
|
||||||
|
|
|
@ -1,17 +1,18 @@
|
||||||
bar swaybar_command waybar
|
bar swaybar_command waybar
|
||||||
|
|
||||||
exec {
|
exec {
|
||||||
kanshi
|
hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
$HOME/.config/sway/scripts/pipeinit
|
||||||
dbus-update-activation-environment --systemd --all
|
|
||||||
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
|
||||||
/usr/libexec/xdg-desktop-portal-wlr
|
/usr/libexec/xdg-desktop-portal-wlr
|
||||||
|
/usr/libexec/xdg-desktop-portal-gtk
|
||||||
$HOME/.config/sway/scripts/idle
|
$HOME/.config/sway/scripts/idle
|
||||||
wl-paste --type text --watch cliphist store
|
wl-paste --type text --watch cliphist store
|
||||||
wl-paste --type image --watch cliphist store
|
wl-paste --type image --watch cliphist store
|
||||||
mako -c ~/.config/mako/config
|
mako -c ~/.config/mako/config
|
||||||
/usr/libexec/polkit-gnome-authentication-agent-1
|
/usr/libexec/polkit-gnome-authentication-agent-1
|
||||||
|
gnome-keyring-daemon --start --components=secrets
|
||||||
sway-audio-idle-inhibit
|
sway-audio-idle-inhibit
|
||||||
|
dex -a -s ~/.config/autostart
|
||||||
$HOME/.config/sway/scripts/nextinit
|
$HOME/.config/sway/scripts/nextinit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,18 +11,19 @@ set $right l
|
||||||
set $term foot
|
set $term foot
|
||||||
set $chat flatpak run org.signal.Signal
|
set $chat flatpak run org.signal.Signal
|
||||||
set $office flatpak run org.libreoffice.LibreOffice
|
set $office flatpak run org.libreoffice.LibreOffice
|
||||||
set $notes joplin-desktop
|
set $passwords flatpak run com.bitwarden.desktop
|
||||||
set $browser flatpak run com.brave.Browser
|
set $notes flatpak run net.cozic.joplin_desktop
|
||||||
|
set $browser flatpak run org.mozilla.firefox
|
||||||
set $file foot -T yazi -a yazi yazi
|
set $file foot -T yazi -a yazi yazi
|
||||||
set $editor zed
|
set $editor foot -T lunarvim -a lunarvim lvim
|
||||||
set $music foot -T musikcube -a musikcube musikcube
|
set $music foot -T musikcube -a musikcube musikcube
|
||||||
set $rss foot -T newsboat -a newsboat newsboat
|
set $rss foot -T newsboat -a newsboat newsboat
|
||||||
set $ani-cli foot -T ani-cli -a ani-cli ani-cli
|
set $ani-cli foot -T ani-cli -a ani-cli ani-cli
|
||||||
set $ytfzf foot -T ytfzf -a ytfzf ytfzf -flstT chafa
|
set $ytfzf foot -T ytfzf -a ytfzf ytfzf -flstT chafa
|
||||||
set $ytfzf-music foot -T ytfzf-music -a ytfzf-music ytfzf -mlstT chafa
|
set $ytfzf-music foot -T ytfzf-music -a ytfzf-music ytfzf -mlstT chafa
|
||||||
set $flix-cli foot -T flix-cli -a flix-cli flix-cli
|
set $flix-cli foot -T flix-cli -a flix-cli flix-cli
|
||||||
set $audiomixer foot -T audiomixer -a audiomixer pulsemixer
|
set $audiomixer foot -T pulsemixer -a pulsemixer pulsemixer
|
||||||
set $monitor foot -T monitor -a monitor btop
|
set $monitor foot -T btop -a btop btop
|
||||||
|
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||||
|
@ -55,7 +56,6 @@ bindsym XF86AudioStop exec playerctl stop
|
||||||
bindsym XF86MonBrightnessUp exec brightnessctl s 5%+
|
bindsym XF86MonBrightnessUp exec brightnessctl s 5%+
|
||||||
bindsym XF86MonBrightnessDown exec brightnessctl s 5%-
|
bindsym XF86MonBrightnessDown exec brightnessctl s 5%-
|
||||||
bindsym XF86News exec $rss
|
bindsym XF86News exec $rss
|
||||||
bindsym XF86Display exec wdisplays
|
|
||||||
|
|
||||||
# Drag floating windows by holding down $mod and left mouse button.
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
# Resize them with right mouse button + $mod.
|
# Resize them with right mouse button + $mod.
|
||||||
|
@ -196,6 +196,7 @@ mode "apps" {
|
||||||
bindsym n exec $notes; mode "default"
|
bindsym n exec $notes; mode "default"
|
||||||
bindsym m exec $music; mode "default"
|
bindsym m exec $music; mode "default"
|
||||||
bindsym r exec $rss; mode "default"
|
bindsym r exec $rss; mode "default"
|
||||||
|
bindsym p exec $passwords; mode "default"
|
||||||
bindsym Shift+b exec $monitor; mode "default"
|
bindsym Shift+b exec $monitor; mode "default"
|
||||||
bindsym Shift+p exec $audiomixer; mode "default"
|
bindsym Shift+p exec $audiomixer; mode "default"
|
||||||
bindsym Shift+y exec $ytfzf; mode "default"
|
bindsym Shift+y exec $ytfzf; mode "default"
|
||||||
|
|
|
@ -4,7 +4,6 @@ set {
|
||||||
$game inhibit_idle focus; floating enable; border none; fullscreen enable; shadows disable
|
$game inhibit_idle focus; floating enable; border none; fullscreen enable; shadows disable
|
||||||
$popup floating enable; border pixel 1; sticky enable; shadows enable
|
$popup floating enable; border pixel 1; sticky enable; shadows enable
|
||||||
$float floating enable; border pixel 1; shadows enable
|
$float floating enable; border pixel 1; shadows enable
|
||||||
$video inhibit_idle fullscreen; border none; max_render_time off
|
|
||||||
$important inhibit_idle open; floating enable; border pixel 1
|
$important inhibit_idle open; floating enable; border pixel 1
|
||||||
$max inhibit_idle visible; floating enable; sticky enable; border pixel 1
|
$max inhibit_idle visible; floating enable; sticky enable; border pixel 1
|
||||||
}
|
}
|
||||||
|
@ -73,14 +72,6 @@ for_window {
|
||||||
[window_type="tooltip"] $float; shadows enable
|
[window_type="tooltip"] $float; shadows enable
|
||||||
[window_type="notification"] $float; shadows enable
|
[window_type="notification"] $float; shadows enable
|
||||||
|
|
||||||
#video - inhibit_idle fullscreen; border none; max_render_time off
|
|
||||||
[instance="chromium"] $video
|
|
||||||
[app_id="mpv"] $video
|
|
||||||
[app_id="vlc"] $video
|
|
||||||
[class="firefox"] $video
|
|
||||||
[app_id="firefox"] $video
|
|
||||||
[class="Nightly"] $video
|
|
||||||
|
|
||||||
#important - inhibit_idle open; floating enable; border pixel 1
|
#important - inhibit_idle open; floating enable; border pixel 1
|
||||||
[title="Move files" app_id="dolphin|org.kde.ark|pcmanfm|pcmanfm-qt"] $important
|
[title="Move files" app_id="dolphin|org.kde.ark|pcmanfm|pcmanfm-qt"] $important
|
||||||
[title="^(Copying|Moving)\s*—\s*Dolphin" app_id="dolphin|org.kde.ark|pcmanfm|pcmanfm-qt"] $important
|
[title="^(Copying|Moving)\s*—\s*Dolphin" app_id="dolphin|org.kde.ark|pcmanfm|pcmanfm-qt"] $important
|
||||||
|
@ -110,6 +101,8 @@ for_window {
|
||||||
[title="Android Emulator - *"] floating enable; border normal
|
[title="Android Emulator - *"] floating enable; border normal
|
||||||
[title="Emulator" window_type="utility"] move scratchpad
|
[title="Emulator" window_type="utility"] move scratchpad
|
||||||
[app_id="brave-nngceckbapebfimnlniiiahkandclblb-Default"] floating enable
|
[app_id="brave-nngceckbapebfimnlniiiahkandclblb-Default"] floating enable
|
||||||
|
[title="Extension: (Bitwarden Password Manager) - Bitwarden — Mozilla Firefox"] floating enable
|
||||||
[app_id="xdg-desktop-portal-gtk"] floating enable
|
[app_id="xdg-desktop-portal-gtk"] floating enable
|
||||||
|
[app_id="qalculate-gtk"] floating enable
|
||||||
[app_id="com.nextcloud.desktopclient.nextcloud"] floating enable
|
[app_id="com.nextcloud.desktopclient.nextcloud"] floating enable
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,4 +31,4 @@ export GTK_CURSOR_THEME="Simp1e-Catppucin-Mocha"
|
||||||
export RUNNER="fuzzel --dmenu"
|
export RUNNER="fuzzel --dmenu"
|
||||||
|
|
||||||
# Start compositor
|
# Start compositor
|
||||||
exec sway
|
dbus-launch sway
|
||||||
|
|
0
config/sway/scripts/nextinit
Normal file → Executable file
0
config/sway/scripts/nextinit
Normal file → Executable file
9
config/sway/scripts/pipeinit
Executable file
9
config/sway/scripts/pipeinit
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pkill pipewire
|
||||||
|
pkill pipewire-pulse
|
||||||
|
pkill wireplumber
|
||||||
|
|
||||||
|
pipewire &
|
||||||
|
pipewire-pulse &
|
||||||
|
wireplumber &
|
Binary file not shown.
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.9 MiB |
Binary file not shown.
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.9 MiB |
|
@ -1,63 +1,22 @@
|
||||||
# GRUB boot loader configuration
|
#
|
||||||
|
# Configuration file for GRUB.
|
||||||
|
#
|
||||||
GRUB_DEFAULT=0
|
GRUB_DEFAULT=0
|
||||||
GRUB_TIMEOUT=2
|
GRUB_HIDDEN_TIMEOUT=1
|
||||||
GRUB_DISTRIBUTOR="Arch"
|
GRUB_HIDDEN_TIMEOUT_QUIET=true
|
||||||
GRUB_CMDLINE_LINUX_DEFAULT="rd.luks.name=<uuid>=<lvmname> rd.luks.key=<uuid>=<path_to_key> loglevel=3 quiet systemd.show_status=auto rd.udev.log_level=3 splash"
|
GRUB_TIMEOUT=0
|
||||||
GRUB_CMDLINE_LINUX=""
|
GRUB_DISTRIBUTOR="Void"
|
||||||
|
GRUB_CMDLINE_LINUX_DEFAULT="rd.luks.uuid=<UUID> rd.luks.vg=<VGNAME> loglevel=3 quiet"
|
||||||
# Preload both GPT and MBR modules so that they are not missed
|
|
||||||
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
|
|
||||||
|
|
||||||
# Uncomment to enable booting from LUKS encrypted devices
|
|
||||||
GRUB_ENABLE_CRYPTODISK=y
|
GRUB_ENABLE_CRYPTODISK=y
|
||||||
|
|
||||||
# Set to 'countdown' or 'hidden' to change timeout behavior,
|
|
||||||
# press ESC key to display menu.
|
|
||||||
GRUB_TIMEOUT_STYLE=hidden
|
|
||||||
|
|
||||||
# Uncomment to use basic console
|
# Uncomment to use basic console
|
||||||
GRUB_TERMINAL_INPUT=console
|
#GRUB_TERMINAL_INPUT="console"
|
||||||
|
|
||||||
# Uncomment to disable graphical terminal
|
# Uncomment to disable graphical terminal
|
||||||
#GRUB_TERMINAL_OUTPUT=console
|
#GRUB_TERMINAL_OUTPUT=console
|
||||||
|
#GRUB_BACKGROUND=/usr/share/void-artwork/splash.png
|
||||||
# The resolution used on graphical terminal
|
#GRUB_GFXMODE=1920x1080x32
|
||||||
# note that you can use only modes which your graphic card supports via VBE
|
|
||||||
# you can see them in real GRUB with the command `videoinfo'
|
|
||||||
GRUB_GFXMODE=auto
|
|
||||||
|
|
||||||
# Uncomment to allow the kernel use the same resolution used by grub
|
|
||||||
GRUB_GFXPAYLOAD_LINUX=keep
|
|
||||||
|
|
||||||
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
|
|
||||||
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
|
|
||||||
#GRUB_DISABLE_LINUX_UUID=true
|
#GRUB_DISABLE_LINUX_UUID=true
|
||||||
|
#GRUB_DISABLE_RECOVERY=true
|
||||||
# Uncomment to disable generation of recovery mode menu entries
|
|
||||||
GRUB_DISABLE_RECOVERY=true
|
|
||||||
|
|
||||||
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
|
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
|
||||||
# modes only. Entries specified as foreground/background.
|
# modes only. Entries specified as foreground/background.
|
||||||
#GRUB_COLOR_NORMAL="light-blue/black"
|
#GRUB_COLOR_NORMAL="light-blue/black"
|
||||||
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
|
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
|
||||||
|
|
||||||
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
|
|
||||||
#GRUB_BACKGROUND="/path/to/wallpaper"
|
|
||||||
#GRUB_THEME="/path/to/gfxtheme"
|
|
||||||
|
|
||||||
# Uncomment to get a beep at GRUB start
|
|
||||||
#GRUB_INIT_TUNE="480 440 1"
|
|
||||||
|
|
||||||
# Uncomment to make GRUB remember the last selection. This requires
|
|
||||||
# setting 'GRUB_DEFAULT=saved' above.
|
|
||||||
#GRUB_SAVEDEFAULT=true
|
|
||||||
|
|
||||||
# Uncomment to disable submenus in boot menu
|
|
||||||
#GRUB_DISABLE_SUBMENU=y
|
|
||||||
|
|
||||||
# Probing for other operating systems is disabled for security reasons. Read
|
|
||||||
# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
|
|
||||||
# functionality install os-prober and uncomment to detect and include other
|
|
||||||
# operating systems.
|
|
||||||
GRUB_DISABLE_OS_PROBER=true
|
|
||||||
|
|
1
etc/dracut.conf.d/10-crypt.conf
Normal file
1
etc/dracut.conf.d/10-crypt.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
install_items+=" /boot/volume.key /etc/crypttab "
|
24
etc/issue
24
etc/issue
|
@ -1,13 +1,13 @@
|
||||||
[0;37;40m
|
[H[2J[3J
|
||||||
[1;34;40m [0;37;40m [1;34;40m [0;37;40m [1;34;40m [0;37;40m [1;37;40m###[0;37;40m [1;34;40m###[0;37;40m [1;37;40m##[0;37;40m
|
\e[H\e[2J
|
||||||
[1;34;40m [0;37;40m [1;34;40m [0;37;40m [1;37;40m##[0;37;40m [1;34;40m##[0;37;40m
|
\e[0;32m
|
||||||
[1;34;40m┌ #### [1;37;40m###[0;37;40m [1;37;40m###[0;37;40m [1;34;40m [0;37;40m [1;37;40m####[0;37;40m [1;34;40m [0;37;40m [1;37;40m##[0;37;40m [1;37;40m###[0;37;40m [1;34;40m##[0;37;40m [1;37;40m### ###[0;37;40m [1;37;40m###[0;37;40m [1;37;40m###[0;37;40m [1;37;40m###[0;37;40m [1;31;40m ###[0;37;40m [1;31;40m###[0;37;40m
|
_______
|
||||||
[1;34;40m│ [0;37;40m [1;34;40m## [0;37;40m [1;37;40m###[0;37;40m [1;37;40m##[1;34;40m [0;37;40m [1;37;40m##[0;37;40m [1;34;40m [0;37;40m [1;37;40m###[0;37;40m [1;31;40m [1;37;40m##[0;37;40m [1;34;40m##[0;37;40m [1;37;40m##[0;37;40m [1;37;40m###[0;37;40m [1;37;40m##[0;37;40m [1;37;40m##[0;37;40m [1;37;40m##[0;37;40m [1;31;40m [0;37;40m [1;31;40m##[0;37;40m [1;31;40m##[0;37;40m
|
\\_____ `- ____ ____ .__ .___ .____ .__
|
||||||
[1;34;40m│ ##### [0;37;40m [1;37;40m##[0;37;40m [1;34;40m [0;37;40m [1;37;40m##[0;37;40m [1;34;40m [0;37;40m [1;37;40m##[0;37;40m [1;37;40m##[0;37;40m [1;34;40m##[0;37;40m [1;37;40m##[0;37;40m [1;37;40m##[0;37;40m [1;37;40m##[0;37;40m [1;37;40m##[0;37;40m [1;37;40m##[0;37;40m [1;31;40m [0;37;40m [1;31;40m###[0;37;40m
|
/\\ ___ `- \\ \\ \\ / /___ |__| __| _/ | | |__| ____ __ _____ ___
|
||||||
[1;34;40m│ ##[0;37;40m [1;34;40m## [0;37;40m [1;37;40m##[0;37;40m [1;34;40m [0;37;40m [1;37;40m##[0;37;40m [1;34;40m [0;37;40m [1;37;40m##[0;37;40m [1;37;40m##[0;37;40m [1;34;40m##[0;37;40m [1;37;40m##[0;37;40m [1;37;40m##[0;37;40m [1;37;40m##[0;37;40m [1;37;40m##[0;37;40m [1;37;40m ##[0;37;40m [1;31;40m [0;37;40m [1;31;40m##[0;37;40m [1;31;40m## [0;37;40m
|
| | / \\ | | \\ Y / _ \\| |/ __ | | | | |/ \\| | \\ \\/ /
|
||||||
[1;34;40m│ ###### [0;37;40m [1;37;40m##[0;37;40m [1;34;40m [0;37;40m [1;37;40m####[0;37;40m [1;34;40m [1;37;40m###[0;37;40m [1;37;40m###[0;37;40m [1;34;40m####[0;37;40m [1;37;40m####[0;37;40m [1;37;40m###[0;37;40m [1;37;40m###[0;37;40m [1;37;40m######[0;37;40m [1;31;40m ###[0;37;40m [1;34;40m [1;31;40m ###[0;37;40m
|
| | \\___/ | | \\ ( <_> ) / /_/ | | |___| | | \\ | /> <
|
||||||
[1;34;40m└───────────────────────────────────────────[0;36;40m A simple, lightweight distribution.
|
\\ `-_____ \\/ \\___/ \\____/|__\\____ | |_______ \\__|___| /____//__/\\_ \\
|
||||||
[0;37;40m
|
`-______\\ \\/ \\/ \\/ \\/
|
||||||
OS: Arch\s Kernel: \r Processor: \m TTY: \l
|
|
||||||
[0m
|
|
||||||
|
|
||||||
|
\e[0m
|
||||||
|
Welcome Back! Linux Version: \r (\n) (\l)
|
||||||
|
|
|
@ -1,81 +0,0 @@
|
||||||
# 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=(/boot/volume.key)
|
|
||||||
|
|
||||||
# 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 <hook name>' 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)
|
|
||||||
#
|
|
||||||
## This will create a systemd based initramfs which loads an encrypted root filesystem.
|
|
||||||
# HOOKS=(base systemd autodetect modconf kms keyboard sd-vconsole sd-encrypt block filesystems fsck)
|
|
||||||
#
|
|
||||||
## NOTE: If you have /usr on a separate partition, you MUST include the
|
|
||||||
# usr and fsck hooks.
|
|
||||||
HOOKS=(base systemd plymouth autodetect microcode modconf kms keyboard keymap sd-vconsole block sd-encrypt lvm2 filesystems fsck)
|
|
||||||
|
|
||||||
# COMPRESSION
|
|
||||||
# Use this to compress the initramfs image. By default, zstd compression
|
|
||||||
# is used for Linux ≥ 5.9 and gzip compression is used for Linux < 5.9.
|
|
||||||
# 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 loadable kernel modules and their firmware during initramfs
|
|
||||||
# creation. Switch (yes/no).
|
|
||||||
# Enable to allow further decreasing image size when using high compression
|
|
||||||
# (e.g. xz -9e or zstd --long --ultra -22) at the expense of increased RAM usage
|
|
||||||
# at early boot.
|
|
||||||
# Note that any compressed files will be placed in the uncompressed early CPIO
|
|
||||||
# to avoid double compression.
|
|
||||||
#MODULES_DECOMPRESS="no"
|
|
100
etc/pacman.conf
100
etc/pacman.conf
|
@ -1,100 +0,0 @@
|
||||||
#
|
|
||||||
# /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.
|
|
||||||
|
|
||||||
#[core-testing]
|
|
||||||
#Include = /etc/pacman.d/mirrorlist
|
|
||||||
|
|
||||||
[core]
|
|
||||||
Include = /etc/pacman.d/mirrorlist
|
|
||||||
|
|
||||||
#[extra-testing]
|
|
||||||
#Include = /etc/pacman.d/mirrorlist
|
|
||||||
|
|
||||||
[extra]
|
|
||||||
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
|
|
||||||
[chaotic-aur]
|
|
||||||
Include = /etc/pacman.d/chaotic-mirrorlist
|
|
|
@ -1,9 +1,9 @@
|
||||||
#%PAM-1.0
|
#%PAM-1.0
|
||||||
|
|
||||||
|
auth required pam_securetty.so
|
||||||
auth requisite pam_nologin.so
|
auth requisite pam_nologin.so
|
||||||
auth include system-local-login
|
auth include system-local-login
|
||||||
auth optional pam_gnome_keyring.so
|
auth optional pam_gnome_keyring.so
|
||||||
account include system-local-login
|
account include system-local-login
|
||||||
session include system-local-login
|
session include system-local-login
|
||||||
password include system-local-login
|
|
||||||
session optional pam_gnome_keyring.so auto_start
|
session optional pam_gnome_keyring.so auto_start
|
||||||
|
|
14
etc/sv/runsvdir-drk/run
Executable file
14
etc/sv/runsvdir-drk/run
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
export USER="drk"
|
||||||
|
export HOME="/home/$USER"
|
||||||
|
export XDG_RUNTIME_DIR="/run/user/$(id -u $USER)"
|
||||||
|
mkdir $XDG_RUNTIME_DIR
|
||||||
|
chown $USER:$USER $XDG_RUNTIME_DIR
|
||||||
|
|
||||||
|
groups="$(id -Gn "$USER" | tr ' ' ':')"
|
||||||
|
svdir="$HOME/.config/runit/service"
|
||||||
|
mkdir -p "$svdir"
|
||||||
|
chown $USER:$USER "$svdir"
|
||||||
|
|
||||||
|
exec chpst -u "$USER:$groups" runsvdir "$svdir"
|
|
@ -23,8 +23,8 @@ export BASHRC="$HOME/.bashrc"
|
||||||
# Default apps
|
# Default apps
|
||||||
export TERMINAL="foot"
|
export TERMINAL="foot"
|
||||||
export EDITOR="$HOME/.local/bin/lvim"
|
export EDITOR="$HOME/.local/bin/lvim"
|
||||||
export VISUAL="zed"
|
export VISUAL="foot -T lunarvim -a lunarvim lvim"
|
||||||
export BROWSER="flatpak run com.brave.Browser"
|
export BROWSER="flatpak run org.mozilla.firefox"
|
||||||
export VIEWER="zathura"
|
export VIEWER="zathura"
|
||||||
|
|
||||||
# Programming languages specific environment variables
|
# Programming languages specific environment variables
|
||||||
|
@ -35,7 +35,7 @@ export GOPATH="$XDG_DATA_HOME/go"
|
||||||
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
||||||
|
|
||||||
## Flutter
|
## Flutter
|
||||||
export CHROME_EXECUTABLE="/var/lib/flatpak/app/com.brave.Browser/x86_64/stable/active/export/bin/com.brave.Browser"
|
export CHROME_EXECUTABLE="/var/lib/flatpak/app/io.github.ungoogled_software.ungoogled_chromium/x86_64/stable/active/export/bin/io.github.ungoogled_software.ungoogled_chromium"
|
||||||
export PUB_CACHE="$XDG_DATA_HOME/pub-cache"
|
export PUB_CACHE="$XDG_DATA_HOME/pub-cache"
|
||||||
export FLUTTER_ROOT="$XDG_LIB_HOME/flutter"
|
export FLUTTER_ROOT="$XDG_LIB_HOME/flutter"
|
||||||
export FLUTTER_ANALYTICS_DISABLED=true
|
export FLUTTER_ANALYTICS_DISABLED=true
|
||||||
|
@ -47,7 +47,7 @@ export ANDROID_SDK_ROOT="$ANDROID_HOME"
|
||||||
export ANDROID_USER_HOME="$XDG_DATA_HOME/android"
|
export ANDROID_USER_HOME="$XDG_DATA_HOME/android"
|
||||||
export ANDROID_EMULATOR_HOME="$ANDROID_USER_HOME"
|
export ANDROID_EMULATOR_HOME="$ANDROID_USER_HOME"
|
||||||
export ANDROID_AVD_HOME="$ANDROID_USER_HOME/avd"
|
export ANDROID_AVD_HOME="$ANDROID_USER_HOME/avd"
|
||||||
export JAVA_HOME="/usr/lib/jvm/jre-17-openjdk"
|
export JAVA_HOME="/usr/lib/jvm/openjdk21"
|
||||||
export GRADLE_USER_HOME="$XDG_DATA_HOME/gradle"
|
export GRADLE_USER_HOME="$XDG_DATA_HOME/gradle"
|
||||||
|
|
||||||
# Set path
|
# Set path
|
||||||
|
@ -108,11 +108,6 @@ if [ ! -d "$WGETDIR" ] || [ ! -d "$GNUPGHOME" ]; then
|
||||||
mkdir -p "$WGETDIR" "$GNUPGHOME"
|
mkdir -p "$WGETDIR" "$GNUPGHOME"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# export SSH_AUTH_SOCK
|
|
||||||
if [[ -z "${SSH_CONNECTION}" ]]; then
|
|
||||||
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Bashrc
|
# Bashrc
|
||||||
source "$BASHRC"
|
source "$BASHRC"
|
||||||
|
|
||||||
|
|
31
home/.bashrc
31
home/.bashrc
|
@ -3,7 +3,7 @@ export TERM="xterm-256color" # getting proper colors
|
||||||
export HISTCONTROL=ignoredups:erasedups # no duplicate entries
|
export HISTCONTROL=ignoredups:erasedups # no duplicate entries
|
||||||
|
|
||||||
### "bat" as manpager
|
### "bat" as manpager
|
||||||
export MANPAGER="sh -c 'sed -u -e \"s/\\x1B\[[0-9;]*m//g; s/.\\x08//g\" | bat -p -lman'"
|
export MANPAGER="batman"
|
||||||
|
|
||||||
# use bash-completion, if available
|
# use bash-completion, if available
|
||||||
[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
|
[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
|
||||||
|
@ -128,12 +128,12 @@ fi
|
||||||
|
|
||||||
# function to detect os and assign aliases to package managers
|
# function to detect os and assign aliases to package managers
|
||||||
alias \
|
alias \
|
||||||
pkg-update="paru -Syu" \
|
xbu="sudo xbps-install -Su" \
|
||||||
pkg-install="paru -S" \
|
xbi="sudo xbps-install -S" \
|
||||||
pkg-remove="paru -Rcns" \
|
xbr="sudo xbps-remove -R" \
|
||||||
pkg-remove-sec="paru -R" \
|
xbrs="sudo xbps-remove" \
|
||||||
pkg-clean="paru -Scc && paru -Rns (pacman -Qtdq)" \
|
xbc="sudo xbps-remove -Oo" \
|
||||||
pkg-search="paru -Qs"
|
xbs="sudo xbps-query -R"
|
||||||
|
|
||||||
# colorize grep output (good for log files)
|
# colorize grep output (good for log files)
|
||||||
alias \
|
alias \
|
||||||
|
@ -176,9 +176,9 @@ alias \
|
||||||
|
|
||||||
# power management
|
# power management
|
||||||
alias \
|
alias \
|
||||||
po="systemctl poweroff" \
|
po="loginctl poweroff" \
|
||||||
sp="systemctl suspend" \
|
sp="loginctl suspend" \
|
||||||
rb="systemctl reboot"
|
rb="loginctl reboot"
|
||||||
|
|
||||||
# file management
|
# file management
|
||||||
alias \
|
alias \
|
||||||
|
@ -220,10 +220,13 @@ alias \
|
||||||
wfi-off="nmcli radio wifi off" \
|
wfi-off="nmcli radio wifi off" \
|
||||||
blt="bluetoothctl"
|
blt="bluetoothctl"
|
||||||
|
|
||||||
# android emulator
|
export SSH_AUTH_SOCK=${HOME}/.ssh/agent
|
||||||
alias avd="QT_QPA_PLATFORM=xcb emulator -avd Pixel_7_Pro_API_35"
|
if ! pgrep -u ${USER} ssh-agent > /dev/null; then
|
||||||
alias avds="emulator -list-avds"
|
rm -f ${SSH_AUTH_SOCK}
|
||||||
alias avde="QT_QPA_PLATFORM=xcb emulator -avd"
|
fi
|
||||||
|
if [ ! -S ${SSH_AUTH_SOCK} ]; then
|
||||||
|
eval $(ssh-agent -a ${SSH_AUTH_SOCK} 2> /dev/null)
|
||||||
|
fi
|
||||||
|
|
||||||
# starship prompt
|
# starship prompt
|
||||||
eval "$(starship init bash)"
|
eval "$(starship init bash)"
|
||||||
|
|
Loading…
Reference in a new issue