Update all dotfiles
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
# -----------------------------------------------------
|
||||
# INIT
|
||||
# -----------------------------------------------------
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Exports
|
||||
# -----------------------------------------------------
|
||||
export EDITOR=nvim
|
||||
export PATH="/usr/lib/ccache/bin/:$PATH"
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
@ -0,0 +1,48 @@
|
||||
# -----------------------------------------------------
|
||||
# CUSTOMIZATION
|
||||
# -----------------------------------------------------
|
||||
POSH=agnoster
|
||||
|
||||
# -----------------------------------------------------
|
||||
# oh-myzsh themes: https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||
# -----------------------------------------------------
|
||||
# ZSH_THEME=robbyrussell
|
||||
|
||||
# -----------------------------------------------------
|
||||
# oh-myzsh plugins
|
||||
# -----------------------------------------------------
|
||||
plugins=(
|
||||
git
|
||||
sudo
|
||||
web-search
|
||||
archlinux
|
||||
zsh-autosuggestions
|
||||
zsh-syntax-highlighting
|
||||
fast-syntax-highlighting
|
||||
copyfile
|
||||
copybuffer
|
||||
dirhistory
|
||||
)
|
||||
|
||||
# Set-up oh-my-zsh
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Set-up FZF key bindings (CTRL R for fuzzy history finder)
|
||||
# -----------------------------------------------------
|
||||
source <(fzf --zsh)
|
||||
|
||||
# zsh history
|
||||
HISTFILE=~/.zsh_history
|
||||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
setopt appendhistory
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Prompt
|
||||
# -----------------------------------------------------
|
||||
# eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/zen.toml)"
|
||||
eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/EDM115-newline.omp.json)"
|
||||
|
||||
# Shipped Theme
|
||||
# eval "$(oh-my-posh init zsh --config /usr/share/oh-my-posh/themes/agnoster.omp.json)"
|
@ -0,0 +1,57 @@
|
||||
# -----------------------------------------------------
|
||||
# ALIASES
|
||||
# -----------------------------------------------------
|
||||
|
||||
# -----------------------------------------------------
|
||||
# General
|
||||
# -----------------------------------------------------
|
||||
alias c='clear'
|
||||
alias nf='fastfetch'
|
||||
alias pf='fastfetch'
|
||||
alias ff='fastfetch'
|
||||
alias ls='eza -a --icons=always'
|
||||
alias ll='eza -al --icons=always'
|
||||
alias lt='eza -a --tree --level=1 --icons=always'
|
||||
alias shutdown='systemctl poweroff'
|
||||
alias v='$EDITOR'
|
||||
alias vim='$EDITOR'
|
||||
alias ts='~/.config/ml4w/scripts/snapshot.sh'
|
||||
alias wifi='nmtui'
|
||||
alias cleanup='~/.config/ml4w/scripts/cleanup.sh'
|
||||
|
||||
# -----------------------------------------------------
|
||||
# ML4W Apps
|
||||
# -----------------------------------------------------
|
||||
alias ml4w='com.ml4w.welcome'
|
||||
alias ml4w-settings='com.ml4w.dotfilessettings'
|
||||
alias ml4w-hyprland='com.ml4w.hyprland.settings'
|
||||
alias ml4w-options='ml4w-hyprland-setup -m options'
|
||||
alias ml4w-sidebar='ags toggle sidebar'
|
||||
alias ml4w-diagnosis='~/.config/hypr/scripts/diagnosis.sh'
|
||||
alias ml4w-hyprland-diagnosis='~/.config/hypr/scripts/diagnosis.sh'
|
||||
alias ml4w-qtile-diagnosis='~/.config/ml4w/qtile/scripts/diagnosis.sh'
|
||||
alias ml4w-update='~/.config/ml4w/update.sh'
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Window Managers
|
||||
# -----------------------------------------------------
|
||||
|
||||
alias Qtile='startx'
|
||||
# Hyprland with Hyprland
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Scripts
|
||||
# -----------------------------------------------------
|
||||
alias ascii='~/.config/ml4w/scripts/figlet.sh'
|
||||
|
||||
# -----------------------------------------------------
|
||||
# System
|
||||
# -----------------------------------------------------
|
||||
alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg'
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Qtile
|
||||
# -----------------------------------------------------
|
||||
alias res1='xrandr --output DisplayPort-0 --mode 2560x1440 --rate 120'
|
||||
alias res2='xrandr --output DisplayPort-0 --mode 1920x1080 --rate 120'
|
||||
alias setkb='setxkbmap de;echo "Keyboard set back to de."'
|
@ -0,0 +1,23 @@
|
||||
# -----------------------------------------------------
|
||||
# AUTOSTART
|
||||
# -----------------------------------------------------
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Pywal
|
||||
# -----------------------------------------------------
|
||||
cat ~/.cache/wal/sequences
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Fastfetch
|
||||
# -----------------------------------------------------
|
||||
if [[ $(tty) == *"pts"* ]]; then
|
||||
fastfetch --config examples/13
|
||||
else
|
||||
echo
|
||||
if [ -f /bin/qtile ]; then
|
||||
echo "Start Qtile X11 with command Qtile"
|
||||
fi
|
||||
if [ -f /bin/hyprctl ]; then
|
||||
echo "Start Hyprland with command Hyprland"
|
||||
fi
|
||||
fi
|
Reference in New Issue
Block a user