1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Compare commits

...

5 Commits

6 changed files with 33 additions and 21 deletions

View File

@ -62,6 +62,7 @@ A repository of my personal configuration files.
- [[https://www.npmjs.com/get-npm][npm]]
- [[https://github.com/cdemoulins/pamixer][pamixer]]
- [[https://github.com/dylanaraps/pfetch][pfetch]]
- [[https://github.com/altdesktop/playerctl][Playerctl]]
- [[https://www.freedesktop.org/wiki/Software/PulseAudio/][Pulseaudio]]
- [[https://github.com/GeorgeFilipkin/pulsemixer][pulsemixer]]
- [[https://www.python.org/][Python]]

View File

@ -63,11 +63,11 @@ bspc config initial_polarity second_child
###---Desktop Settings----###
bspc config border_width 2
bspc config window_gap 10
bspc config window_gap 4
###---Rules---###
bspc rule -a "Syncthing GTK" state=floating
bspc rule -a Gimp state=floating
bspc rule -a Gimp state=floating follow=on
bspc rule -a float state=floating
bspc rule -a Spotify desktop='^4'
bspc rule -a Spt desktop='^4'

View File

@ -1,7 +1,7 @@
# Start X at login
if status is-login
if test -z "$DISPLAY" -a $XDG_VTNR = 1
set -g -x SXHKD_SHELL '/usr/bin/sh'
set -x -x SXHKD_SHELL '/usr/bin/sh'
# Enable numberlock
if [ -x "/usr/bin/numlockx" ]
@ -40,51 +40,51 @@ set GPG_TTY (tty)
# Set default browser
if [ -e "/usr/bin/brave" ]
set -g BROWSER "brave"
set -x BROWSER "brave"
else
if [ -e "/usr/bin/firefox" ]
set -g BROWSER "firefox"
set -x BROWSER "firefox"
else if [ -e "/usr/bin/iceweasel" ]
set -g BROWSER "iceweasel"
set -x BROWSER "iceweasel"
end
end
# Set default terminal
set -g TERMINAL "alacritty"
set -x TERMINAL "alacritty"
# pkg editor
set -g VISUAL "nvim"
set -x VISUAL "nvim"
# editor
set -g EDITOR "nvim"
set -x EDITOR "nvim"
# Enable password store extensions
set -g PASSWORD_STORE_ENABLE_EXTENSIONS "true"
set -x PASSWORD_STORE_ENABLE_EXTENSIONS "true"
# Make sure pass uses the proper directory
set -g PASSWORD_STORE_DIR ~/.local/share/pass
set -x PASSWORD_STORE_DIR ~/.local/share/pass
# Use alternative muhome
set -g MU_HOME ~/.cache/mu
set -x MU_HOME ~/.cache/mu
# Load xinit from the proper directory
set -g XINITRC ~/X11/xinitrc
set -x XINITRC ~/X11/xinitrc
# Make sure rust uses the proper directory
set -g RUSTUP_HOME ~/.local/share/rustup
set -x RUSTUP_HOME ~/.local/share/rustup
# Set custom nprmrc path
set -g NPM_CONFIG_USERCONFIG ~/.config/npm/npmrc
set -x NPM_CONFIG_USERCONFIG ~/.config/npm/npmrc
# bobthefish
set -g theme_nerd_fonts yes
set -g theme_color_scheme gruvbox
set -x theme_nerd_fonts yes
set -x theme_color_scheme gruvbox
# sudope
set -g sudope_sequence \e\e
set -x sudope_sequence \e\e
# Set tmux tmpdir to proper directory
set -g TMUX_TMPDIR "$XDG_RUNTIME_DIR"
set -x TMUX_TMPDIR "$XDG_RUNTIME_DIR"
# nvim alias
alias v="nvim"
@ -115,6 +115,13 @@ alias pacrem="sudo pacman -Rns"
# git alaises
alias gpoat="git push origin --all && git push origin --tags"
alias gs="git status"
alias gd="git diff"
alias g="git"
# Prevent mv & rm oopsies
alias mv="mv -i"
alias rm="rm -i"
# Load lfcd wiith proper icons
function lf

View File

@ -1,7 +1,7 @@
#!/usr/bin/env fish
# Prerequisite & inistalled apps
set prerequisiteApps bat broot brave caffeine-ng exa fslint fzf go graphviz isync imagemagick lightdm-gtk-greeter mailcap mpv deadd-notification-center-bin npm pamixer pfetch pulseaudio pulsemixer python pywal stow sxiv tldr udisks xwallpaper zathura
set prerequisiteApps bat broot brave caffeine-ng exa fslint fzf go graphviz isync imagemagick lightdm-gtk-greeter mailcap mpv deadd-notification-center-bin npm pamixer pfetch playerctl pulseaudio pulsemixer python pywal stow sxiv tldr udisks xwallpaper zathura
set prerequisiteFonts otf-nerd-fonts-fira-code noto-fonts ttf-unifont
set prerequisiteLsp bash-language-server ccls php-language-server python-language-server typescript-language-server vscode-css-languageserver vscode-html-languageserver nodejs-intelephense
set configuredApps alacritty bspwm castero emacs firejail git gnupg gtk lf deadd-notification-center-bin mpd ncmpcpp neomutt neovim picom redshift sxhkd tmux tuir weechat

View File

@ -40,6 +40,7 @@
Plug 'maxmellon/vim-jsx-pretty'
Plug 'vim-pandoc/vim-pandoc-syntax'
Plug 'yuezk/vim-js'
Plug 'Yggdroot/indentLine'
" }
" Tags {
Plug 'alvan/vim-closetag'
@ -91,6 +92,7 @@
highlight clear LineNr " Current line number row will have same background color in relative mode
set ignorecase " Ignore case on search
set smartcase " Don't ignore upper case characters on search
set scrolljump=5 " Lines to scroll when cursor leaves screen
set scrolloff=3 " Minimum lines to keep above and below cursor
set foldenable " Auto fold code

View File

@ -79,12 +79,14 @@ super + Escape
pkill -USR1 -x sxhkd
# Misc apps
ctrl + alt + {l, n, r, w, s, p, v, k, a}
ctrl + alt + {l, n, r, w, s, c, v, k, a}
alacritty --class float,float -e {lf, neomutt, /usr/bin/newsboat, ~/.config/polybar/bin/wttr-and-wait, spt, castero, nvim, ~/.local/bin/calendar-and-wait, ~/.local/bin/audit}
ctrl + alt + {b, e, S}
{brave, emacs, spotify}
ctrl + alt + {t}
~/.local/bin/tldr-dmenu
ctrl + alt + {p}
playerctl play-pause
#-----------------------------------------------------------Bspwm--------------------------------------------------------------
# quit/restart bspwm