mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
Compare commits
5 Commits
4102f12135
...
afc548f3e4
Author | SHA1 | Date | |
---|---|---|---|
afc548f3e4 | |||
90523b5fe9 | |||
f7bb2fa152 | |||
e84cf8f6f9 | |||
958972c5c3 |
@ -62,6 +62,7 @@ A repository of my personal configuration files.
|
|||||||
- [[https://www.npmjs.com/get-npm][npm]]
|
- [[https://www.npmjs.com/get-npm][npm]]
|
||||||
- [[https://github.com/cdemoulins/pamixer][pamixer]]
|
- [[https://github.com/cdemoulins/pamixer][pamixer]]
|
||||||
- [[https://github.com/dylanaraps/pfetch][pfetch]]
|
- [[https://github.com/dylanaraps/pfetch][pfetch]]
|
||||||
|
- [[https://github.com/altdesktop/playerctl][Playerctl]]
|
||||||
- [[https://www.freedesktop.org/wiki/Software/PulseAudio/][Pulseaudio]]
|
- [[https://www.freedesktop.org/wiki/Software/PulseAudio/][Pulseaudio]]
|
||||||
- [[https://github.com/GeorgeFilipkin/pulsemixer][pulsemixer]]
|
- [[https://github.com/GeorgeFilipkin/pulsemixer][pulsemixer]]
|
||||||
- [[https://www.python.org/][Python]]
|
- [[https://www.python.org/][Python]]
|
||||||
|
@ -63,11 +63,11 @@ bspc config initial_polarity second_child
|
|||||||
|
|
||||||
###---Desktop Settings----###
|
###---Desktop Settings----###
|
||||||
bspc config border_width 2
|
bspc config border_width 2
|
||||||
bspc config window_gap 10
|
bspc config window_gap 4
|
||||||
|
|
||||||
###---Rules---###
|
###---Rules---###
|
||||||
bspc rule -a "Syncthing GTK" state=floating
|
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 float state=floating
|
||||||
bspc rule -a Spotify desktop='^4'
|
bspc rule -a Spotify desktop='^4'
|
||||||
bspc rule -a Spt desktop='^4'
|
bspc rule -a Spt desktop='^4'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Start X at login
|
# Start X at login
|
||||||
if status is-login
|
if status is-login
|
||||||
if test -z "$DISPLAY" -a $XDG_VTNR = 1
|
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
|
# Enable numberlock
|
||||||
if [ -x "/usr/bin/numlockx" ]
|
if [ -x "/usr/bin/numlockx" ]
|
||||||
@ -40,51 +40,51 @@ set GPG_TTY (tty)
|
|||||||
|
|
||||||
# Set default browser
|
# Set default browser
|
||||||
if [ -e "/usr/bin/brave" ]
|
if [ -e "/usr/bin/brave" ]
|
||||||
set -g BROWSER "brave"
|
set -x BROWSER "brave"
|
||||||
else
|
else
|
||||||
if [ -e "/usr/bin/firefox" ]
|
if [ -e "/usr/bin/firefox" ]
|
||||||
set -g BROWSER "firefox"
|
set -x BROWSER "firefox"
|
||||||
else if [ -e "/usr/bin/iceweasel" ]
|
else if [ -e "/usr/bin/iceweasel" ]
|
||||||
set -g BROWSER "iceweasel"
|
set -x BROWSER "iceweasel"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Set default terminal
|
# Set default terminal
|
||||||
set -g TERMINAL "alacritty"
|
set -x TERMINAL "alacritty"
|
||||||
|
|
||||||
# pkg editor
|
# pkg editor
|
||||||
set -g VISUAL "nvim"
|
set -x VISUAL "nvim"
|
||||||
|
|
||||||
# editor
|
# editor
|
||||||
set -g EDITOR "nvim"
|
set -x EDITOR "nvim"
|
||||||
|
|
||||||
# Enable password store extensions
|
# 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
|
# 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
|
# Use alternative muhome
|
||||||
set -g MU_HOME ~/.cache/mu
|
set -x MU_HOME ~/.cache/mu
|
||||||
|
|
||||||
# Load xinit from the proper directory
|
# Load xinit from the proper directory
|
||||||
set -g XINITRC ~/X11/xinitrc
|
set -x XINITRC ~/X11/xinitrc
|
||||||
|
|
||||||
# Make sure rust uses the proper directory
|
# 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 custom nprmrc path
|
||||||
set -g NPM_CONFIG_USERCONFIG ~/.config/npm/npmrc
|
set -x NPM_CONFIG_USERCONFIG ~/.config/npm/npmrc
|
||||||
|
|
||||||
# bobthefish
|
# bobthefish
|
||||||
set -g theme_nerd_fonts yes
|
set -x theme_nerd_fonts yes
|
||||||
set -g theme_color_scheme gruvbox
|
set -x theme_color_scheme gruvbox
|
||||||
|
|
||||||
# sudope
|
# sudope
|
||||||
set -g sudope_sequence \e\e
|
set -x sudope_sequence \e\e
|
||||||
|
|
||||||
# Set tmux tmpdir to proper directory
|
# Set tmux tmpdir to proper directory
|
||||||
set -g TMUX_TMPDIR "$XDG_RUNTIME_DIR"
|
set -x TMUX_TMPDIR "$XDG_RUNTIME_DIR"
|
||||||
|
|
||||||
# nvim alias
|
# nvim alias
|
||||||
alias v="nvim"
|
alias v="nvim"
|
||||||
@ -115,6 +115,13 @@ alias pacrem="sudo pacman -Rns"
|
|||||||
|
|
||||||
# git alaises
|
# git alaises
|
||||||
alias gpoat="git push origin --all && git push origin --tags"
|
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
|
# Load lfcd wiith proper icons
|
||||||
function lf
|
function lf
|
||||||
|
2
install
2
install
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
# Prerequisite & inistalled apps
|
# 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 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 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
|
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
|
||||||
|
@ -40,6 +40,7 @@
|
|||||||
Plug 'maxmellon/vim-jsx-pretty'
|
Plug 'maxmellon/vim-jsx-pretty'
|
||||||
Plug 'vim-pandoc/vim-pandoc-syntax'
|
Plug 'vim-pandoc/vim-pandoc-syntax'
|
||||||
Plug 'yuezk/vim-js'
|
Plug 'yuezk/vim-js'
|
||||||
|
Plug 'Yggdroot/indentLine'
|
||||||
" }
|
" }
|
||||||
" Tags {
|
" Tags {
|
||||||
Plug 'alvan/vim-closetag'
|
Plug 'alvan/vim-closetag'
|
||||||
@ -91,6 +92,7 @@
|
|||||||
highlight clear LineNr " Current line number row will have same background color in relative mode
|
highlight clear LineNr " Current line number row will have same background color in relative mode
|
||||||
|
|
||||||
set ignorecase " Ignore case on search
|
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 scrolljump=5 " Lines to scroll when cursor leaves screen
|
||||||
set scrolloff=3 " Minimum lines to keep above and below cursor
|
set scrolloff=3 " Minimum lines to keep above and below cursor
|
||||||
set foldenable " Auto fold code
|
set foldenable " Auto fold code
|
||||||
|
@ -79,12 +79,14 @@ super + Escape
|
|||||||
pkill -USR1 -x sxhkd
|
pkill -USR1 -x sxhkd
|
||||||
|
|
||||||
# Misc apps
|
# 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}
|
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}
|
ctrl + alt + {b, e, S}
|
||||||
{brave, emacs, spotify}
|
{brave, emacs, spotify}
|
||||||
ctrl + alt + {t}
|
ctrl + alt + {t}
|
||||||
~/.local/bin/tldr-dmenu
|
~/.local/bin/tldr-dmenu
|
||||||
|
ctrl + alt + {p}
|
||||||
|
playerctl play-pause
|
||||||
|
|
||||||
#-----------------------------------------------------------Bspwm--------------------------------------------------------------
|
#-----------------------------------------------------------Bspwm--------------------------------------------------------------
|
||||||
# quit/restart bspwm
|
# quit/restart bspwm
|
||||||
|
Loading…
Reference in New Issue
Block a user