mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
Update i3, polybar config, del spectrwm config, add catfatch script
This commit is contained in:
parent
e8de9a14cd
commit
e3c86138ef
14 changed files with 174 additions and 411 deletions
|
|
@ -1,22 +1,30 @@
|
|||
#!/bin/sh
|
||||
declare options=("i3
|
||||
berry
|
||||
qtile
|
||||
berry
|
||||
openbox
|
||||
spectrwm
|
||||
polybar
|
||||
picom
|
||||
dunst
|
||||
qutebrowser
|
||||
taskwarrior
|
||||
tmux
|
||||
vim
|
||||
alacritty
|
||||
kitty
|
||||
neovim
|
||||
ranger
|
||||
term
|
||||
sh")
|
||||
|
||||
choice=$(echo -e "${options[@]}" | dmenu -p 'Edit config file' $@)
|
||||
case "$choice" in
|
||||
dunst) choice="$HOME/.config/dunst/dunstrc" ;;
|
||||
neovim) choice="$HOME/.config/nvim/init.vim" ;;
|
||||
taskwarior) choice="$HOME/.taskrc" ;;
|
||||
picom) choice="$HOME/.config/picom.conf" ;;
|
||||
kitty) choice="$HOME/.config/kitty/kitty.conf" ;;
|
||||
alacritty) choice="$hoME/.config/alacritty.yml" ;;
|
||||
polybar) choice="$HOME/.config/polybar/config" ;;
|
||||
tmux) choice="$HOME/.tmux.conf" ;;
|
||||
i3) choice="$HOME/.config/i3/config" ;;
|
||||
qtile)
|
||||
opt=$(echo -e "config.py\nautostart.sh"|dmenu -p 'Qtile' $@)
|
||||
|
|
@ -42,15 +50,6 @@ case "$choice" in
|
|||
"reload") openbox --reconfigure && pkill kitty ;;
|
||||
esac
|
||||
;;
|
||||
spectrwm)
|
||||
why=$(echo -e "spectrwm.conf\nsectrwm-bar.sh"|dmenu -p Spectrwm $@)
|
||||
case "$why" in
|
||||
"spectrwm.conf") choice="$HOME/.spectrwm.conf" ;;
|
||||
"spectrwm-bar.sh") choice="$HOME/.script/spectrwm-bar.sh" ;;
|
||||
esac
|
||||
;;
|
||||
picom) choice="$HOME/.config/picom.conf" ;;
|
||||
polybar) choice="$HOME/.config/polybar/config" ;;
|
||||
qutebrowser)
|
||||
why=$(echo -e "config.py\nquickmarks"|dmenu -p 'Qutebrowser' $@)
|
||||
case "$why" in
|
||||
|
|
@ -65,22 +64,6 @@ case "$choice" in
|
|||
"rifle.conf") choice="$HOME/.config/ranger/rifle.conf" ;;
|
||||
esac
|
||||
;;
|
||||
vim)
|
||||
why=$(echo -e "nvim\nvim"|dmenu -p 'Vim' $@)
|
||||
case "$why" in
|
||||
vim) choice="$HOME/.vimrc" ;;
|
||||
nvim) choice="$HOME/.config/nvim/init.vim" ;;
|
||||
esac
|
||||
;;
|
||||
tmux) choice="$HOME/.tmux.conf" ;;
|
||||
term)
|
||||
why=$(echo -e "kitty\nalacritty"|dmenu -p Term $@)
|
||||
case "$why" in
|
||||
kitty) choice="$HOME/.config/kitty/kitty.conf" ;;
|
||||
alacritty) choice="$hoME/.config/alacritty/alacritty.yml" ;;
|
||||
esac
|
||||
;;
|
||||
dunst) choice="$HOME/.config/dunst/dunstrc" ;;
|
||||
sh)
|
||||
why=$(echo -e "zsh\nfish\nbash"|dmenu -p "Shell" $@)
|
||||
case "$why" in
|
||||
|
|
@ -89,7 +72,6 @@ case "$choice" in
|
|||
bash) choice="$hoME/.bashrc"
|
||||
esac
|
||||
;;
|
||||
taskwarior) choice="$HOME/.taskrc" ;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
kitty -e nvim "$choice"
|
||||
alacritty -e nvim "$choice"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue