aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-10-14 00:05:03 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-10-14 00:05:03 +0200
commitc2c1944b95d8c2f552040c017eb0e8222c582b2e (patch)
tree065a0e45351b55e4d73ad890d2d5984e0642051f
parent80df573f1cdd47ae2eb8a4dca5e70cfe8419019b (diff)
downloaddotfiles-c2c1944b95d8c2f552040c017eb0e8222c582b2e.tar.gz
Cleanup and added script that creates symlinks
-rw-r--r--README.md16
-rw-r--r--alacritty.yml20
-rw-r--r--gf2_config.ini5
-rw-r--r--helix.toml27
-rwxr-xr-xshenanigans.sh31
-rw-r--r--update.sh6
6 files changed, 9 insertions, 96 deletions
diff --git a/README.md b/README.md
index a22b201..e85bb72 100644
--- a/README.md
+++ b/README.md
@@ -1,21 +1,9 @@
1![Unga Bunga](https://github.com/mitjafelicijan/dotfiles/assets/296714/2ea7852a-8297-40c4-a9b1-0f6cba6c701f) 1![Unga Bunga](https://github.com/mitjafelicijan/dotfiles/assets/296714/2ea7852a-8297-40c4-a9b1-0f6cba6c701f)
2 2
3Clone the repo first...
4
5```sh 3```sh
6git clone git@github.com:mitjafelicijan/dotfiles.git ~/.dotfiles 4git clone git@github.com:mitjafelicijan/dotfiles.git ~/.dotfiles
7```
8 5
9Then create symbolic links to actual config files. 6# Create symbolic links to actual config files.
10 7bash update.sh
11```sh
12ln -s ~/.dotfiles/alacritty.yml ~/.alacritty.yml
13ln -s ~/.dotfiles/shenanigans.sh ~/.shenanigans.sh
14ln -s ~/.dotfiles/helix.toml ~/.config/helix/config.toml
15ln -s ~/.dotfiles/tmux.conf ~/.tmux.conf
16ln -s ~/.dotfiles/vimrc ~/.vimrc
17ln -s ~/.dotfiles/newsboat ~/.newsboat/config
18ln -s ~/.dotfiles/urls ~/.newsboat/urls
19ln -s ~/.dotfiles/gf2_config.ini ~/.config/gf2_config.ini
20``` 8```
21 9
diff --git a/alacritty.yml b/alacritty.yml
deleted file mode 100644
index cfb0914..0000000
--- a/alacritty.yml
+++ /dev/null
@@ -1,20 +0,0 @@
1env:
2 TERM: xterm-256color
3
4window:
5 dimensions:
6 columns: 130
7 lines: 60
8
9font:
10 size: 18
11 normal:
12 family: Berkeley Mono
13 bold:
14 family: Berkeley Mono
15 italic:
16 family: Berkeley Mono
17
18colors:
19 primary:
20 background: "#111111"
diff --git a/gf2_config.ini b/gf2_config.ini
deleted file mode 100644
index 2759329..0000000
--- a/gf2_config.ini
+++ /dev/null
@@ -1,5 +0,0 @@
1[ui]
2scale=1.6
3font_size_interface=16
4font_size_code=16
5
diff --git a/helix.toml b/helix.toml
deleted file mode 100644
index 5f0545a..0000000
--- a/helix.toml
+++ /dev/null
@@ -1,27 +0,0 @@
1# https://github.com/helix-editor/helix/blob/master/runtime/themes/jellybeans.toml
2# Located in ~/.congfig/helix/runtime/themes/fattybeans.toml
3# inherits = "jellybeans"
4# "ui.background" ={}
5theme = "fattybeans"
6
7[editor]
8line-number = "relative"
9color-modes = true
10true-color = true
11mouse = false
12middle-click-paste = true
13rulers = [80, 120]
14idle-timeout = 1000
15
16[editor.lsp]
17display-messages = true
18auto-signature-help = false
19
20[keys.normal]
21"esc" = [ "collapse_selection", "keep_primary_selection" ]
22"D" = [ "ensure_selections_forward", "extend_to_line_end", "delete_selection" ]
23"C-left" = [ "goto_previous_buffer" ]
24"C-right" = [ "goto_next_buffer" ]
25"C-up" = [ "page_cursor_half_up" ]
26"C-down" = [ "page_cursor_half_down" ]
27"C-b" = [ ":sh make" ]
diff --git a/shenanigans.sh b/shenanigans.sh
index 13e73c9..a6777ab 100755
--- a/shenanigans.sh
+++ b/shenanigans.sh
@@ -1,5 +1,5 @@
1# Software list. 1# Software list.
2# cifs-utils treei tig hstr s3cmd xclip mc gnupg ripgrep jq xmlstarlet fzf htop nvtop newsboat tmux ctags 2# cifs-utils tree hstr s3cmd xclip mc gnupg ripgrep jq xmlstarlet htop nvtop newsboat tmux ctags
3 3
4# Magical environment variables. 4# Magical environment variables.
5 5
@@ -36,13 +36,10 @@ alias less='less -R'
36alias tmux='tmux -u' 36alias tmux='tmux -u'
37alias vi='vim' 37alias vi='vim'
38alias server='python3 -m http.server 6969' 38alias server='python3 -m http.server 6969'
39alias www='lynx -accept_all_cookies -scrollbar https://lite.duckduckgo.com'
40alias st='st -g 90x40 -f "BerkeleyMono:style=Bold:size=16:antialias=true:autohint:true"'
41 39
42# Custom folder jump commands. 40# Custom folder jump commands.
43 41
44alias p='cd ~/Vault/projects' 42alias p='cd ~/Vault/projects'
45alias n='cd ~/Vault/notes'
46alias j='cd ~/Junk/current' 43alias j='cd ~/Junk/current'
47alias d='cd ~/Downloads' 44alias d='cd ~/Downloads'
48 45
@@ -52,14 +49,6 @@ export PATH=$HOME/Applications:$PATH
52export PATH=$HOME/go/bin:$PATH 49export PATH=$HOME/go/bin:$PATH
53export PATH=/usr/local/go/bin:$PATH 50export PATH=/usr/local/go/bin:$PATH
54 51
55# Zig paths.
56export PATH=$HOME/.local/bin/zls-x86_64-linux-0.13.0:$PATH
57export PATH=$HOME/.local/bin/zig-linux-x86_64-0.14.0-dev.1587+feaee2ba1:$PATH
58
59# FZF settings.
60
61export FZF_DEFAULT_COMMAND='rg --files --hidden'
62
63# History and search. Stolen from J. 52# History and search. Stolen from J.
64 53
65HISTCONTROL=ignoreboth 54HISTCONTROL=ignoreboth
@@ -75,11 +64,6 @@ if [[ $- =~ .i. ]]; then bind '"\C-h": "\C-a hstr -- \C-j"'; fi
75 64
76# Useful function. Much wow! 65# Useful function. Much wow!
77 66
78wow() {
79 cd ~/Games/turtlewow/
80 ./start.sh
81}
82
83backup() { 67backup() {
84 CWD=$(pwd) 68 CWD=$(pwd)
85 VHOME=/home/$USER/Vault 69 VHOME=/home/$USER/Vault
@@ -91,11 +75,7 @@ backup() {
91 # Make a copy of dotfiles. 75 # Make a copy of dotfiles.
92 cp /home/$USER/.shenanigans.sh shenanigans.sh 76 cp /home/$USER/.shenanigans.sh shenanigans.sh
93 cp /home/$USER/.bash_history_infinite bash_history_infinite 77 cp /home/$USER/.bash_history_infinite bash_history_infinite
94 cp /home/$USER/.smbcredentials smbcredentials
95 cp /home/$USER/.gitconfig gitconfig 78 cp /home/$USER/.gitconfig gitconfig
96 cp /home/$USER/.vimrc vimrc
97 cp /home/$USER/.tmux.conf tmux.conf
98 cp /home/$USER/.config/helix/config.toml config.toml
99 cp /home/$USER/.newsboat/urls urls 79 cp /home/$USER/.newsboat/urls urls
100 cp /home/$USER/.newsboat/cache.db cache.db 80 cp /home/$USER/.newsboat/cache.db cache.db
101 81
@@ -105,15 +85,6 @@ backup() {
105 find /home/$USER/Videos -type f -name "*.webm" -exec cp -n {} $VHOME/videos/ \; 85 find /home/$USER/Videos -type f -name "*.webm" -exec cp -n {} $VHOME/videos/ \;
106 find /home/$USER/Pictures -type f -name "*.png" -exec cp -n {} $VHOME/pictures/ \; 86 find /home/$USER/Pictures -type f -name "*.png" -exec cp -n {} $VHOME/pictures/ \;
107 87
108 cp -Rf /home/$USER/Notebooks ./
109
110 mkdir ../twow
111 cp -Rf /home/$USER/Games/turtlewow/Interface ../twow
112 cp -Rf /home/$USER/Games/turtlewow/WTF ../twow
113 cp -Rf /home/$USER/Games/turtlewow/start.sh ../twow/
114 cp -Rf /home/$USER/Games/turtlewow/icon.png ../twow/
115 cp -Rf /home/$USER/Games/turtlewow/start.sh ../twow/
116
117 # Sync with NAS. 88 # Sync with NAS.
118 rsync -azv \ 89 rsync -azv \
119 --exclude '.venv/' \ 90 --exclude '.venv/' \
diff --git a/update.sh b/update.sh
new file mode 100644
index 0000000..82da5bd
--- /dev/null
+++ b/update.sh
@@ -0,0 +1,6 @@
1ln -s ~/.dotfiles/shenanigans.sh ~/.shenanigans.sh
2ln -s ~/.dotfiles/tmux.conf ~/.tmux.conf
3ln -s ~/.dotfiles/vimrc ~/.vimrc
4ln -s ~/.dotfiles/newsboat ~/.newsboat/config
5ln -s ~/.dotfiles/urls ~/.newsboat/urls
6