mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Update alacritty, kitty, bspwm, i3wm, vim,tmux configs & sctipts
This commit is contained in:
parent
246dc34d13
commit
c7da10d076
22 changed files with 256 additions and 282 deletions
|
|
@ -2,15 +2,12 @@
|
|||
declare options=("exit
|
||||
i3
|
||||
qtile
|
||||
berry
|
||||
openbox
|
||||
dwm
|
||||
bspwm
|
||||
alacritty
|
||||
kitty
|
||||
picom
|
||||
ranger
|
||||
qutebrowser
|
||||
emacs
|
||||
nvim
|
||||
tmux
|
||||
dunst
|
||||
|
|
@ -18,61 +15,39 @@ castero
|
|||
redshift
|
||||
rofi")
|
||||
|
||||
choice=$(echo -e "${options[@]}"|dmenu -p "Config edit" $@)
|
||||
menucmd="rofi -location 2 -dmenu"
|
||||
choice=$(echo -e "${options[@]}"|${menucmd} -p "Config edit" $@)
|
||||
case "$choice" in
|
||||
exit) exit 0 ;;
|
||||
i3)
|
||||
case "$(echo -e "config\npolybar"|dmenu -p "I3wm" $@)" in
|
||||
case "$(echo -e "config\npolybar"|${menucmd} -p "I3wm" $@)" in
|
||||
config) choice="$HOME/.config/i3/config" ;;
|
||||
polybar) choice="$HOME/.config/polybar/config" ;;
|
||||
esac
|
||||
;;
|
||||
qtile)
|
||||
case "$(echo -e "config\nautostart"|dmenu -p "Qtile" $@)" in
|
||||
case "$(echo -e "config\nautostart"|${menucmd} -p "Qtile" $@)" in
|
||||
config) choice="$HOME/.config/qtile/config.py" ;;
|
||||
autostart) choice="$HOME/.config/qtile/autostart.sh" ;;
|
||||
esac
|
||||
;;
|
||||
berry)
|
||||
case "$(echo -e "config\npolybar\nsxhkd"|dmenu -p "Berry" $@)" in
|
||||
config) choice="$HOME/.config/berry/autostart" ;;
|
||||
polybar) choice="$HOME/.config/berry/polybar/polybar" ;;
|
||||
sxhkd) choice="$HOME/.config/berry/sxhkdrc" ;;
|
||||
bspwm)
|
||||
case "$(echo -e "config\nsxhkd\npolybar"|${menucmd} -p "Bspwm" $@)" in
|
||||
config) choice="$HOME/.config/bspwm/config" ;;
|
||||
sxhkd) choice="$HOME/.config/bspwm/sxhkd" ;;
|
||||
polybar) choice="$HOME/.config/bspwm/polybar" ;;
|
||||
esac
|
||||
;;
|
||||
openbox)
|
||||
case "$(echo -e "config\nautostart\nmenu\ntint2"|dmenu -p "OpenBox" $@)" in
|
||||
config) choice="$HOME/.config/openbox/rc.xml" ;;
|
||||
autostart) choice="$HOME/.config/openbox/autostart" ;;
|
||||
menu) choice="$HOME/.config/openbox/menu.xml" ;;
|
||||
tint2) choice="$HOME/.config/tint2/tint2rc" ;;
|
||||
esac
|
||||
;;
|
||||
dwm)
|
||||
case "$(echo -e "config\nautostart\nbar"|dmenu -p "DWM" $@)" in
|
||||
config) choice="$HOME/.config/dwm/config.def.h " ;;
|
||||
autostart) choice="$HOME/.config/dwm/autostart.sh" ;;
|
||||
bar) choice="$HOME/.script/dwmbar.sh" ;;
|
||||
esac
|
||||
;;
|
||||
alacritty) choice="$hoME/.config/alacritty.yml" ;;
|
||||
alacritty) choice="$HOME/.config/alacritty.yml" ;;
|
||||
kitty) choice="$HOME/.config/kitty/kitty.conf" ;;
|
||||
picom) choice="$HOME/.config/picom.conf" ;;
|
||||
ranger) choice="$HOME/.config/ranger/rc.conf" ;;
|
||||
qutebrowser)
|
||||
case "$(echo -e "config\nquickmarks"|dmenu -p "Qutebrowser" $@)" in
|
||||
case "$(echo -e "config\nquickmarks"|${menucmd} -p "Qutebrowser" $@)" in
|
||||
config) choice="$HOME/.config/qutebrowser/config.py" ;;
|
||||
quickmarks) choice="$HOME/.config/qutebrowser/quickmarks" ;;
|
||||
esac
|
||||
;;
|
||||
emacs)
|
||||
case "$(echo -e "config\ncustom\ninit\npackages"|dmenu -p "Doom emacs" $@)" in
|
||||
config) choice="$HOME/.doom.d/config.el" ;;
|
||||
init) choice="$HOME/.doom.d/init.el" ;;
|
||||
custom) choice="$HOME/.doom.d/custom.el" ;;
|
||||
packages) choice="$HOME/.doom.d/packages.el" ;;
|
||||
esac
|
||||
;;
|
||||
nvim) choice="$HOME/.config/nvim/init.vim" ;;
|
||||
tmux) choice="$HOME/.tmux.conf" ;;
|
||||
dunst) choice="$HOME/.config/dunst/dunstrc" ;;
|
||||
|
|
@ -80,11 +55,10 @@ case "$choice" in
|
|||
castero) choice="$HOME/.config/castero/castero.conf" ;;
|
||||
redshift) choice="$HOME/.config/redshift.conf" ;;
|
||||
rofi)
|
||||
case "$(echo -e "config\nnten-dmenu"|dmenu -p "Rofi" $@)" in
|
||||
case "$(echo -e "config\nnten-dmenu"|${menucmd} -p "Rofi" $@)" in
|
||||
config) choice="$HOME/.config/rofi/config" ;;
|
||||
nten-dmenu) choice="$HOME/.config/rofi/themes/nten-dmenu.rasi" ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
alacritty -e nvim "$choice"
|
||||
# emacsclient -c -a emacs "$choice"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue