Skip to content

Commit f794413

Browse files
committedOct 13, 2022
updated configs and apps
1 parent cb31daf commit f794413

15 files changed

+1433
-0
lines changed
 

‎README.md

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ My development setup. Includes dotfiles/configs, apps, tools, vscode extensions,
4444

4545
- [neovim](https://github.com/neovim/neovim) - terminal text editor
4646
- [LunarVim](https://github.com/LunarVim/LunarVim) - neovim with plugins for development
47+
- [Neovide](https://github.com/neovide/neovide) - GUI for Neovim
4748

4849
#### Documentation
4950

@@ -56,6 +57,7 @@ My development setup. Includes dotfiles/configs, apps, tools, vscode extensions,
5657

5758
- [tmux](https://github.com/tmux/tmux) - terminal multiplexer
5859
- [.tmux](https://github.com/gpakosz/.tmux) - tmux config
60+
- [zellij](https://github.com/zellij-org/zellij) - modern tmux replacement
5961
- [htop](https://github.com/htop-dev/htop) - interactive process viewer
6062
- [xclip](https://github.com/astrand/xclip) - cli clipboard
6163
- [yank](https://github.com/mptre/yank) - copy terminal output to clipboard
@@ -74,6 +76,7 @@ My development setup. Includes dotfiles/configs, apps, tools, vscode extensions,
7476
#### For Linux
7577

7678
- [guake](https://github.com/Guake/guake) - terminal emulator
79+
- [alacritty](https://github.com/alacritty/alacritty) - terminal emulator
7780
- [Albert](https://github.com/albertlauncher/albert) - launcher fox linux
7881
- [Opensnitch](https://github.com/evilsocket/opensnitch) - linux application firewall
7982
- [rofi](https://github.com/davatorium/rofi) - launcher

‎configs/alacritty/alacritty.yml

+549
Large diffs are not rendered by default.

‎configs/alacritty/alacritty_toggle.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
3+
# bind this script to a hotkey to toggle alacritty terminal on press
4+
5+
PID=$(pgrep alacritty)
6+
if [ -z "$PID" ]; then
7+
alacritty &
8+
exit 0
9+
fi
10+
11+
WINDOWID=$(xdotool search --pid $PID)
12+
IS_VISIBLE=true
13+
[ -z $(xdotool search --onlyvisible --pid $PID) ] && IS_VISIBLE=false
14+
15+
[ $(xdotool getwindowfocus) != "$WINDOWID" ] && {
16+
if [ $IS_VISIBLE == true ]; then
17+
xdotool windowactivate $WINDOWID
18+
else
19+
xdotool windowmap $WINDOWID
20+
fi
21+
22+
exit 0
23+
}
24+
25+
xdotool windowunmap $WINDOWID
+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
colors:
2+
# Default colors
3+
primary:
4+
background: '#0d0f18' #'0x17212a'
5+
foreground: '0xEBEBEB'
6+
7+
# Cursor colors
8+
cursor:
9+
text: '0x0d0f18'
10+
cursor: '0xEBEBEB'
11+
12+
# Normal colors
13+
normal:
14+
black: '0x0d0d0d'
15+
red: '0xf35e5e'
16+
green: '0x23d18b'
17+
yellow: '0xFFC620'
18+
blue: '0x1BA6FA'
19+
magenta: '0xd670d6'
20+
cyan: '0x21DEEF'
21+
white: '0xEBEBEB'
22+
23+
# Bright colors
24+
bright:
25+
black: '0x6D7070'
26+
red: '0xFF4352'
27+
green: '0xB8E466'
28+
yellow: '0xFFD750'
29+
blue: '0x1BA6FA'
30+
magenta: '0xA578EA'
31+
cyan: '0x73FBF1'
32+
white: '0xFEFEF8'
+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Colors (Horizon Dark)
2+
colors:
3+
# Primary colors
4+
primary:
5+
background: '0x1c1e26'
6+
foreground: '0xe0e0e0'
7+
8+
# Normal colors
9+
normal:
10+
black: '0x16161c'
11+
red: '0xe95678'
12+
green: '0x29d398'
13+
yellow: '0xfab795'
14+
blue: '0x26bbd9'
15+
magenta: '0xee64ac'
16+
cyan: '0x59e1e3'
17+
white: '0xd5d8da'
18+
19+
# Bright colors
20+
bright:
21+
black: '0x5b5858'
22+
red: '0xec6a88'
23+
green: '0x3fdaa4'
24+
yellow: '0xfbc3a7'
25+
blue: '0x3fc4de'
26+
magenta: '0xf075b5'
27+
cyan: '0x6be4e6'
28+
white: '0xd5d8da'
+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Colors (One Dark)
2+
colors:
3+
# Default colors
4+
primary:
5+
background: '0x1e2127'
6+
foreground: '0xabb2bf'
7+
8+
# Normal colors
9+
normal:
10+
black: '0x1e2127'
11+
red: '0xe06c75'
12+
green: '0x98c379'
13+
yellow: '0xd19a66'
14+
blue: '0x61afef'
15+
magenta: '0xc678dd'
16+
cyan: '0x56b6c2'
17+
white: '0xabb2bf'
18+
19+
# Bright colors
20+
bright:
21+
black: '0x5c6370'
22+
red: '0xe06c75'
23+
green: '0x98c379'
24+
yellow: '0xd19a66'
25+
blue: '0x61afef'
26+
magenta: '0xc678dd'
27+
cyan: '0x56b6c2'
28+
white: '0xffffff'
+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
schemes:
2+
# Tokyo Night theme, based on both:
3+
# https://github.com/ghifarit53/tokyonight-vim
4+
# https://github.com/enkia/tokyo-night-vscode-theme
5+
tokyo-night: &tokyo-night
6+
# Default colors
7+
primary:
8+
background: '0x1a1b26'
9+
foreground: '0xa9b1d6'
10+
11+
# Normal colors
12+
normal:
13+
black: '0x32344a'
14+
red: '0xf7768e'
15+
green: '0x9ece6a'
16+
yellow: '0xe0af68'
17+
blue: '0x7aa2f7'
18+
magenta: '0xad8ee6'
19+
cyan: '0x449dab'
20+
white: '0x787c99'
21+
22+
# Bright colors
23+
bright:
24+
black: '0x444b6a'
25+
red: '0xff7a93'
26+
green: '0xb9f27c'
27+
yellow: '0xff9e64'
28+
blue: '0x7da6ff'
29+
magenta: '0xbb9af7'
30+
cyan: '0x0db9d7'
31+
white: '0xacb0d0'
32+
33+
tokyo-night-storm: &tokyo-night-storm
34+
# Default colors
35+
primary:
36+
background: '0x24283b'
37+
foreground: '0xa9b1d6'
38+
39+
# Normal colors
40+
normal:
41+
black: '0x32344a'
42+
red: '0xf7768e'
43+
green: '0x9ece6a'
44+
yellow: '0xe0af68'
45+
blue: '0x7aa2f7'
46+
magenta: '0xad8ee6'
47+
cyan: '0x449dab'
48+
white: '0x9699a8'
49+
50+
# Bright colors
51+
bright:
52+
black: '0x444b6a'
53+
red: '0xff7a93'
54+
green: '0xb9f27c'
55+
yellow: '0xff9e64'
56+
blue: '0x7da6ff'
57+
magenta: '0xbb9af7'
58+
cyan: '0x0db9d7'
59+
white: '0xacb0d0'

‎configs/vim/install.sh

+2
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/
1111
mv ~/.config/lvim/config.lua ~/.config/lvim/config.lua.backup &&
1212
ln -s $CURRENT_DIR/config.lua ~/.config/lvim/config.lua
1313
echo "[VIM] done"
14+
15+
ln -s $CURRENT_DIR/lv ~/.local/bin

‎configs/vim/lv

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
neovide --maximized --multigrid --neovim-bin ~/.local/bin/lvim "$@"

‎configs/zellij/config.yaml

+656
Large diffs are not rendered by default.

‎configs/zellij/layouts/default.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
template:
3+
direction: Horizontal
4+
parts:
5+
- direction: Vertical # part 1
6+
borderless: true
7+
split_size:
8+
Fixed: 1
9+
run:
10+
plugin:
11+
location: "zellij:tab-bar"
12+
- direction: Vertical # part 2
13+
body: true
14+
- direction: Vertical # part 3
15+
borderless: true
16+
split_size:
17+
Fixed: 2
18+
run:
19+
plugin:
20+
location: "zellij:status-bar"
21+
tabs:
22+
- name: "tab 1" # tab 1
23+
- name: "tab 2" # tab 2
24+
direction: Vertical
25+
parts:
26+
- direction: Horizontal
27+
- direction: Horizontal
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
themes {
2+
tokyo-night-light {
3+
fg 52 59 88
4+
bg 213 214 219
5+
black 15 15 20
6+
red 186 75 96
7+
green 72 94 48
8+
yellow 143 94 21
9+
blue 52 84 138
10+
magenta 90 74 120
11+
cyan 15 75 110
12+
white 130 137 172
13+
orange 150 80 39
14+
}
15+
}

‎configs/zsh/config.sh

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ zstyle -e ':completion:*:hosts' hosts 'reply=(
44
${=${${${${(@M)${(f)"$(cat ~/.ssh/config 2>/dev/null)"}:#Host *}#Host }:#*\**}:#*\?*}}
55
)'
66

7+
export EDITOR=~/.local/bin/lvim
8+
export VISUAL=~/.local/bin/lv
9+
710
export ZSH="$HOME/.oh-my-zsh"
811

912
export BAT_THEME="TwoDark"

‎vars/gui_apps.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ gui_apps:
66
- flameshot # https://github.com/flameshot-org/flameshot
77
- keepassxc # https://github.com/keepassxreboot/keepassxc
88
- dbeaver # https://github.com/dbeaver/dbeaver
9+
- neovide # https://github.com/neovide/neovide

‎vars/terminal_apps.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ terminal_apps:
2424
- docker # https://www.docker.com/
2525
- docker-compose # https://docs.docker.com/compose/
2626
- zk # https://github.com/mickael-menu/zk
27+
- xdotool # https://github.com/jordansissel/xdotool
28+
- alacritty # https://github.com/alacritty/alacritty

0 commit comments

Comments
 (0)
Please sign in to comment.