summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Vencord/settings/settings.json51
-rwxr-xr-xX11/xinit21
-rw-r--r--btop/btop.conf4
-rwxr-xr-xcolor-picker6
-rw-r--r--keybinds2
-rwxr-xr-xnvpower19
-rwxr-xr-xpmenu3
-rw-r--r--ranger/rc.conf3
-rw-r--r--ranger/rifle.conf6
-rwxr-xr-xvpn16
-rw-r--r--zathura/zathurarc9
-rw-r--r--zsh/aliases16
-rw-r--r--zsh/env15
-rw-r--r--zsh/zshrc38
14 files changed, 157 insertions, 52 deletions
diff --git a/Vencord/settings/settings.json b/Vencord/settings/settings.json
index af0f81e..2fa892d 100644
--- a/Vencord/settings/settings.json
+++ b/Vencord/settings/settings.json
@@ -87,7 +87,7 @@
"noSpellCheck": true
},
"BetterRoleDot": {
- "enabled": false,
+ "enabled": true,
"bothStyles": true,
"copyRoleColorInProfilePopout": true
},
@@ -166,7 +166,8 @@
"enabled": true
},
"GameActivityToggle": {
- "enabled": true
+ "enabled": true,
+ "oldIcon": false
},
"GifPaste": {
"enabled": true
@@ -418,7 +419,8 @@
"enabled": true
},
"SendTimestamps": {
- "enabled": true
+ "enabled": true,
+ "replaceMessageContents": true
},
"ServerListIndicators": {
"enabled": true,
@@ -445,7 +447,10 @@
"hideUnreads": true
},
"ShowMeYourName": {
- "enabled": true
+ "enabled": true,
+ "displayNames": false,
+ "mode": "user-nick",
+ "inReplies": false
},
"SilentMessageToggle": {
"enabled": true
@@ -467,7 +472,7 @@
"SpotifyCrack": {
"enabled": true,
"noSpotifyAutoPause": true,
- "keepSpotifyActivityOnIdle": false
+ "keepSpotifyActivityOnIdle": true
},
"SpotifyShareCommands": {
"enabled": true
@@ -482,7 +487,7 @@
"enabled": false
},
"TimeBarAllActivities": {
- "enabled": false
+ "enabled": true
},
"Translate": {
"enabled": true,
@@ -494,7 +499,8 @@
},
"TypingIndicator": {
"enabled": true,
- "includeMutedChannels": false
+ "includeMutedChannels": false,
+ "includeCurrentChannel": true
},
"TypingTweaks": {
"enabled": true,
@@ -517,7 +523,7 @@
"showVoiceChannelSectionHeader": true
},
"USRBG": {
- "enabled": false,
+ "enabled": true,
"voiceBackground": true,
"nitroFirst": true
},
@@ -604,7 +610,7 @@
"enabled": true
},
"ShowTimeouts": {
- "enabled": false
+ "enabled": true
},
"ThemeAttributes": {
"enabled": true
@@ -619,10 +625,33 @@
"superReactionPlayingLimit": 20
},
"ClientTheme": {
- "enabled": false
+ "enabled": false,
+ "color": "313338"
},
"FixImagesQuality": {
"enabled": true
+ },
+ "Decor": {
+ "enabled": true
+ },
+ "NotificationVolume": {
+ "enabled": true,
+ "notificationVolume": 50
+ },
+ "XSOverlay": {
+ "enabled": false
+ },
+ "BetterGifPicker": {
+ "enabled": true
+ },
+ "FixCodeblockGap": {
+ "enabled": true
+ },
+ "FixYoutubeEmbeds": {
+ "enabled": true
+ },
+ "ChatInputButtonAPI": {
+ "enabled": true
}
},
"notifications": {
@@ -635,6 +664,6 @@
"authenticated": false,
"url": "https://api.vencord.dev/",
"settingsSync": false,
- "settingsSyncVersion": 1701870611667
+ "settingsSyncVersion": 1707256671540
}
} \ No newline at end of file
diff --git a/X11/xinit b/X11/xinit
index 98e71e6..b30380a 100755
--- a/X11/xinit
+++ b/X11/xinit
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# #
# ## ~/.xinitrc ## #
@@ -7,10 +7,10 @@
xrandr --output HDMI-0 --mode 1920x1080 -r 240
xrandr --output HDMI-1-0 --mode 1920x1080 -r 240
-#xrandr -s 1920x1080 -r 144 & # target screen resolution
+xrandr -s 1920x1080 -r 144 & # target screen resolution
xset r rate 300 30 & # key repeat delay and speed
-xrdb merge ~/.Xresources # resources
+xrdb merge ~/.Xresources # asset resources
picom & # compositor
# #
@@ -41,17 +41,14 @@ synclient TapButton1=1 TapButton2=3 ClickFinger3=0 # tap to
synclient MinSpeed=1.25 MaxSpeed=2.5 # pointer speed
synclient AccelFactor=0.025 # acceleration
-amixer --card 0 set 'Master' 100 &
-amixer --card 0 set 'Capture' 39 &
+amixer --card 0 set 'Master' 100 & # audio volume
+amixer --card 0 set 'Capture' 39 & # capture volume
sxhkd -c $HOME/.config/keybinds & # keybindings
-eval $(dbus-dbus-launch --sh-syntax --exit-with-x11) # dbus session
-dbus-run-session pipewire &
+eval $(dbus-launch --sh-syntax --exit-with-x11) # dbus session
+dbus-run-session pipewire & # audio server
-exec slstatus & # statusbar
+slstatus & # statusbar
-while :;
-do
- ssh-agent dwm
-done
+exec dbus-launch --exit-with-session dwm # window manager
diff --git a/btop/btop.conf b/btop/btop.conf
index 626efa3..02ec6c7 100644
--- a/btop/btop.conf
+++ b/btop/btop.conf
@@ -47,14 +47,14 @@ graph_symbol_net = "default"
graph_symbol_proc = "default"
#* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace.
-shown_boxes = "cpu net proc mem"
+shown_boxes = "cpu proc mem net"
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
update_ms = 100
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
-proc_sorting = "threads"
+proc_sorting = "memory"
#* Reverse sorting order, True or False.
proc_reversed = False
diff --git a/color-picker b/color-picker
index a132a44..065a57e 100755
--- a/color-picker
+++ b/color-picker
@@ -2,7 +2,11 @@
set -e
-SELECTED_COLOR=$(grabc)
+# if you want to view colors use gcolor3 from the repos
+
+SELECTED_COLOR=$(xcolor) # use xcolor or xoris ; xcolor has zoom feature
+
+# Copy to clipboard
echo $SELECTED_COLOR | xsel -b
echo $SELECTED_COLOR
diff --git a/keybinds b/keybinds
index 531560a..314b89c 100644
--- a/keybinds
+++ b/keybinds
@@ -8,7 +8,7 @@ alt + shift + t
# Screen Shots
-control + Print
+alt + control + Print
xshot full
alt + Print
diff --git a/nvpower b/nvpower
index 213e61c..ce7c93a 100755
--- a/nvpower
+++ b/nvpower
@@ -2,16 +2,17 @@
set -e
-if [ $1 == "min" ] ; then
- nvidia-settings -a "[gpu:0]/GpuPowerMizerMode=0"
-fi
+case $1 in
-if [ $1 == "max" ] ; then
- nvidia-settings -a "[gpu:0]/GpuPowerMizerMode=1"
-fi
+ min)
+ nvidia-settings -a "[gpu:0]/GpuPowerMizerMode=0" ;;
-if [ $1 == "auto" ] ; then
- nvidia-settings -a "[gpu:0]/GpuPowerMizerMode=2"
-fi
+ max)
+ nvidia-settings -a "[gpu:0]/GpuPowerMizerMode=1" ;;
+
+ auto)
+ nvidia-settings -a "[gpu:0]/GpuPowerMizerMode=2"
+
+esac
nvidia-settings -q GpuPowerMizerMode
diff --git a/pmenu b/pmenu
index bc53339..ac46ec4 100755
--- a/pmenu
+++ b/pmenu
@@ -9,7 +9,8 @@ doVAR=$(echo -e "dwmkill\npicomkill\nsleeeeeeep\nrebooooooot\npoweroff" | $confi
case $doVAR in
"");;
"dwmkill")
- pkill xinit;;
+ pkill dwm;;
+ #pkill xinit;;
"picomkill")
pkill picom;;
"sleeeeeeep")
diff --git a/ranger/rc.conf b/ranger/rc.conf
index 1088cf8..308990d 100644
--- a/ranger/rc.conf
+++ b/ranger/rc.conf
@@ -10,3 +10,6 @@ set one_indexed true
# Display the directory name in tabs?
set dirname_in_tabs true
+
+# Display file icons (need devicons installed)
+#default_linemode devicons
diff --git a/ranger/rifle.conf b/ranger/rifle.conf
index 60c6718..a9e8d5d 100644
--- a/ranger/rifle.conf
+++ b/ranger/rifle.conf
@@ -222,7 +222,8 @@ ext rar, has unrar = for file in "$@"; do unrar x "$file"; done
#-------------------------------------------
# Fonts
#-------------------------------------------
-mime ^font, has fontforge, X, flag f = fontforge "$@"
+#mime ^font, has fontforge, X, flag f = fontforge "$@"
+mime ^font, has display, X, flag f = display "$@"
#-------------------------------------------
# Flag t fallback terminals
@@ -231,6 +232,7 @@ mime ^font, has fontforge, X, flag f = fontforge "$@"
# if you install a rare terminal emulator, you probably use it.
# gnome-terminal/konsole/xterm on the other hand are often installed as part of
# a desktop environment or as fallback terminal emulators.
+mime ^ranger/x-terminal-emulator, has st = st -e "$@"
mime ^ranger/x-terminal-emulator, has terminology = terminology -e "$@"
mime ^ranger/x-terminal-emulator, has kitty = kitty -- "$@"
mime ^ranger/x-terminal-emulator, has alacritty = alacritty -e "$@"
@@ -241,7 +243,6 @@ mime ^ranger/x-terminal-emulator, has termite = termite -x '"$@"'
#mime ^ranger/x-terminal-emulator, has yakuake = yakuake -e "$@"
mime ^ranger/x-terminal-emulator, has guake = guake -ne "$@"
mime ^ranger/x-terminal-emulator, has tilda = tilda -c "$@"
-mime ^ranger/x-terminal-emulator, has st = st -e "$@"
mime ^ranger/x-terminal-emulator, has terminator = terminator -x "$@"
mime ^ranger/x-terminal-emulator, has urxvt = urxvt -e "$@"
mime ^ranger/x-terminal-emulator, has pantheon-terminal = pantheon-terminal -e "$@"
@@ -279,6 +280,7 @@ label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER"
# Execute a file as program/script.
mime application/x-executable = "$1"
+# ?????
# Move the file to trash using trash-cli.
label trash, has trash-put = trash-put -- "$@"
diff --git a/vpn b/vpn
new file mode 100755
index 0000000..7bc5d43
--- /dev/null
+++ b/vpn
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+set -e
+
+case $1 in
+
+ up)
+ sudo wg-quick up vpn ;;
+
+ down)
+ sudo wg-quick down vpn ;;
+
+ status)
+ sudo wg ;;
+
+esac
diff --git a/zathura/zathurarc b/zathura/zathurarc
index 61a4ae0..e2a6acf 100644
--- a/zathura/zathurarc
+++ b/zathura/zathurarc
@@ -1,3 +1,12 @@
+# Invert colors for dark theme (remapped to Ctrl+i)
map <C-i> recolor
+# Clipboard
set selection-clipboard clipboard
+
+# Scroll and Zoom step size
+set scroll-step 80
+set zoom-step 20
+
+# Enable incremental search
+set incremental-search true
diff --git a/zsh/aliases b/zsh/aliases
index a1effaf..ba99d90 100644
--- a/zsh/aliases
+++ b/zsh/aliases
@@ -2,11 +2,13 @@
## # zsh / aliases # ##
+alias grep='grep --colour=auto'
alias ls='ls --color=auto'
# shorthands
alias ll='ls -lGh'
alias la='ls -lGAh'
+alias lu='ls -lSh'
alias lf='ranger'
alias du='du -sh'
alias df='df -h'
@@ -14,16 +16,17 @@ alias cl='clear'
alias am='alsamixer --card 0'
alias x='cd ~ ; startx'
+alias vim='nvim'
+alias vi='nvim'
alias v='nvim'
alias fzf='sk'
-# secure shells
-alias spi='ssh -X pi@192.168.0.130'
-
# directories
configdir=$HOME/.config
alias cds='cd $configdir/suckless/'
+
+# zsh
alias zal='vim $configdir/zsh/aliases'
alias zrc='vim $configdir/zsh/zshrc'
alias zen='vim $configdir/zsh/env'
@@ -32,6 +35,7 @@ alias zen='vim $configdir/zsh/env'
alias xbpi='sudo xbps-install'
alias xbpr='sudo xbps-remove'
alias xbpq='xbps-query -Rs'
+alias xbpl='xbps-query -l'
# scripts
scriptdir=$HOME/.scripts
@@ -50,8 +54,12 @@ alias sxiv='sxiv -bpqra'
# tools
alias newsboat='newsboat -C ~/.config/newsboat/newsboat.conf -c ~/.config/newsboat/cache.db -u ~/.config/newsboat/urls'
+alias mpv="mpv -ytdl-format='bestvideo[ext=mp4][width<=1920][height<=1080]+bestaudio[ext=m4a]'"
+alias w2x="waifu2x-converter-cpp -f png --noise-level 3 -c 9 -q 100 --disable-gpu --mode noise-scale -i"
alias proton='~/.local/share/Steam/steamapps/common/Proton\ -\ Experimental/proton run'
-alias protonge='~/.local/share/Steam/compatibilitytools.d/GE-Proton8-25/proton run'
+alias protonge='~/.local/share/Steam/compatibilitytools.d/GE-Proton8-27/proton run'
+alias catgirl="catgirl -h irc.libera.chat -j '#voidlinux'"
+alias streamlink='streamlink --default-stream best --twitch-disable-ads --player mpv'
alias ytdlpa='yt-dlp --extract-audio --audio-quality 0 --audio-format mp3'
alias ytdlp='yt-dlp'
diff --git a/zsh/env b/zsh/env
index 7f7f379..f8a0a71 100644
--- a/zsh/env
+++ b/zsh/env
@@ -5,6 +5,7 @@
### apps to open stuff ###
export EDITOR="nvim"
+export COLORTERM="truecolor"
export BROWSER="brave"
export CHROME_EXECUTABLE="chromium"
export TERM="st"
@@ -15,16 +16,25 @@ export BAT_THEME="base16"
export GPG_TTY=$(tty)
### dotnet disable telemetry ###
+export DOTNET_ROOT=/home/alphara/dev/dotnet
export DOTNET_CLI_TELEMETRY_OPTOUT=1
### dbus stuff ###
export NO_AT_BRIDGE=1
### paths ###
-export PATH=/bin:/sbin/:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/home/alphara/.local/bin:/home/alphara/exfatssd/IEUCYS/flutter/bin:/usr/local/go/bin:/home/alphara/.pub-cache/bin
+export PATH=/bin:/sbin/:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/home/alphara/.local/bin:/home/alphara/.cargo/bin:/home/alphara/exfatssd/IEUCYS/flutter/bin:/usr/local/go/bin:/home/alphara/.pub-cache/bin:/home/alphara/dev/dotnet
### XDG ###
+##export XDG_DATA_DIRS=/home/alphara/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
+##export XDG_RUNTIME_DIR=/run/user/1000
export XDG_CONFIG_HOME=/home/alphara/.config
+#export XDG_CONFIG_DIRS=/etc/xdg
+#export XDG_SESSION_TYPE=tty
+#export XDG_SESSION_CLASS=user
+#export XDG_SESSION_ID=1
+#export XDG_SEAT=seat0
+#export XDG_VTNR=1
### steam ###
export STEAM_COMPAT_DATA_PATH=~/.local/share/Steam/steamapps/compatdata
@@ -52,7 +62,8 @@ export GTK2_RC_FILES=/usr/share/themes/Arc-Dark/gtk-2.0/gtkrc
export QT_STYLE_OVERRIDE=adwaita-dark
### pipewire ###
-export PIPEWIRE_LATENCY=480/48000 # IF NEEDED 16/48000 ~ 0.33 ms latency
+#export PIPEWIRE_LATENCY=240/48000 # IF NEEDED 16/48000 ~ 0.33 ms latency / 48/48000 ~ 1 ms latency
+ # 5/48000 ~ 0.1 ms latency / 10/48000 ~ 0.2 ms latency
### cuda & ML ###
export PATH=$PATH:/usr/local/cuda-11.7/bin
diff --git a/zsh/zshrc b/zsh/zshrc
index cc79c66..660286b 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -1,27 +1,51 @@
zstyle ':completion:*' menu select
zstyle :compinstall filename '/home/alphara/.zshrc'
+autoload -Uz compinit
+zmodload zsh/complist
+
+compinit
+_comp_options+=(globdots)
+
HISTFILE=~/.histfile
HISTSIZE=1000000
SAVEHIST=1000000
-setopt extendedglob
+setopt appendhistory hist_ignore_dups extendedglob autocd
+
unsetopt beep
bindkey -v
+bindkey -M menuselect 'h' vi-backward-char
+bindkey -M menuselect 'k' vi-up-line-or-history
+bindkey -M menuselect 'l' vi-forward-char
+bindkey -M menuselect 'j' vi-down-line-or-history
+
source $HOME/.config/zsh/aliases
source $HOME/.config/zsh/env
-autoload -Uz compinit
-zmodload zsh/complist
-
-PROMPT='%B%F{3}%n@%m %~>%b%f '
autoload -Uz promptinit
PROMPT_EOL_MARK=""
-
promptinit
-compinit
+
+PROMPT='%B%F{3}%n@%m %~>%b%f '
+
+source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
+
+############################################
+
+# vi mode
+
+function zle-keymap-select () {
+ case $KEYMAP in
+ vicmd) echo -ne '\e[1 q';; # beam
+ viins|main) echo -ne '\e[5 q';; # block
+ esac
+}
+zle -N zle-keymap-select
+
+############################################
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"