mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-06-18 19:04:26 +00:00
Compare commits
38 commits
51a478ea32
...
8b0c9631bd
| Author | SHA1 | Date | |
|---|---|---|---|
| 8b0c9631bd | |||
| 8f55e5d525 | |||
| e2cc701edd | |||
| 8453f7a56b | |||
| afc86615a7 | |||
| 867bd23f49 | |||
| 868a467018 | |||
| 6d2e96ca48 | |||
| f02ec2af74 | |||
| 1425f4433d | |||
| c83f16fb45 | |||
| d9d04b623f | |||
| 7ac320bde1 | |||
| 15197873fd | |||
| 26666e0508 | |||
| aa3e69b70c | |||
| ad13c01291 | |||
| c9f41f00b6 | |||
| 3e019d7931 | |||
| f75f716242 | |||
| 3009db7e2e | |||
| d0d9540bd1 | |||
| 194b456a45 | |||
| cdd5172652 | |||
| d91ca54827 | |||
| 0375ac95b9 | |||
| 0bcd854212 | |||
| 924cac2a08 | |||
| a23cb0d9bb | |||
| 4a65d16a40 | |||
| 87c08a7086 | |||
| 91006b39db | |||
| e18cc38d8b | |||
| 3d4f992e58 | |||
| d506f8ee3f | |||
| 9d77c9ac84 | |||
| 0e0110b1a7 | |||
| c4823477f0 |
34 changed files with 134 additions and 200 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,2 +0,0 @@
|
||||||
.luarc.json
|
|
||||||
/zsh/plugins
|
|
||||||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "zsh/plugins/zsh-autosuggestions"]
|
||||||
|
path = zsh/plugins/zsh-autosuggestions
|
||||||
|
url = git@github.com:zsh-users/zsh-autosuggestions.git
|
||||||
78
Makefile
Normal file
78
Makefile
Normal file
|
|
@ -0,0 +1,78 @@
|
||||||
|
install_base:
|
||||||
|
sudo dnf install -y \
|
||||||
|
NetworkManager-tui \
|
||||||
|
btop \
|
||||||
|
cava \
|
||||||
|
cbonsai \
|
||||||
|
cloc \
|
||||||
|
cmatrix \
|
||||||
|
fastfetch \
|
||||||
|
fzf \
|
||||||
|
git \
|
||||||
|
git-lfs \
|
||||||
|
htop \
|
||||||
|
httpie \
|
||||||
|
light \
|
||||||
|
lynx \
|
||||||
|
mc \
|
||||||
|
ncdu \
|
||||||
|
neovim \
|
||||||
|
profanity \
|
||||||
|
pwgen \
|
||||||
|
ranger \
|
||||||
|
ripgrep \
|
||||||
|
sen \
|
||||||
|
stow \
|
||||||
|
telnet \
|
||||||
|
vim \
|
||||||
|
zsh
|
||||||
|
|
||||||
|
install_gui:
|
||||||
|
sudo dnf install -y \
|
||||||
|
dino \
|
||||||
|
epiphany \
|
||||||
|
firefox \
|
||||||
|
gimp \
|
||||||
|
gparted \
|
||||||
|
inkscape \
|
||||||
|
kitty \
|
||||||
|
mediawriter \
|
||||||
|
qt5ct \
|
||||||
|
telegram-desktop \
|
||||||
|
thunderbird \
|
||||||
|
vlc \
|
||||||
|
fontawesome-fonts \
|
||||||
|
terminus-fonts \
|
||||||
|
unifont-fonts
|
||||||
|
|
||||||
|
install_multimedia:
|
||||||
|
sudo dnf group install Multimedia
|
||||||
|
|
||||||
|
install_i3: install_base install_gui
|
||||||
|
sudo dnf install -y \
|
||||||
|
arandr \
|
||||||
|
dunst \
|
||||||
|
gpick \
|
||||||
|
i3 \
|
||||||
|
picom \
|
||||||
|
polybar \
|
||||||
|
rofi \
|
||||||
|
rxvt-unicode \
|
||||||
|
unclutter-xfixes \
|
||||||
|
xclip \
|
||||||
|
xdotool \
|
||||||
|
xdpyinfo \
|
||||||
|
xev \
|
||||||
|
xkill \
|
||||||
|
xprop
|
||||||
|
|
||||||
|
remove_default_configs:
|
||||||
|
rm -f ~/.zshrc
|
||||||
|
rm -fr ~/.config/i3
|
||||||
|
|
||||||
|
apply_configs: remove_default_configs
|
||||||
|
stow -Rvt ~ home
|
||||||
|
|
||||||
|
desktop_i3: install_i3 apply_configs
|
||||||
|
|
||||||
|
# vim: set ts=4 sw=4 autoindent noexpandtab:
|
||||||
15
README.md
15
README.md
|
|
@ -2,10 +2,12 @@
|
||||||
|
|
||||||
## Bootstrap
|
## Bootstrap
|
||||||
|
|
||||||
1. `git clone https://github.com/He4eT/dotfiles.git ~/dotfiles`
|
1. Setup SSH keys
|
||||||
1. Run `./installPackages.sh`
|
1. [Enable RPM Fusion](https://docs.fedoraproject.org/en-US/quick-docs/rpmfusion-setup/)
|
||||||
1. Run `./apply.sh`
|
1. `sudo dnf install git make`
|
||||||
|
1. `git clone --recurse-submodules git@github.com:He4eT/dotfiles.git ~/dotfiles`
|
||||||
1. Install [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh#basic-installation)
|
1. Install [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh#basic-installation)
|
||||||
|
1. `make desktop_i3`
|
||||||
|
|
||||||
## GTK
|
## GTK
|
||||||
|
|
||||||
|
|
@ -17,13 +19,6 @@
|
||||||
XDG_CURRENT_DESKTOP=gnome
|
XDG_CURRENT_DESKTOP=gnome
|
||||||
```
|
```
|
||||||
|
|
||||||
## git
|
|
||||||
|
|
||||||
1. `git config --global core.pager 'less -S'`
|
|
||||||
1. `git config --global pull.rebase true`
|
|
||||||
1. `git config user.email 'email'`
|
|
||||||
1. `git config user.name 'name'`
|
|
||||||
|
|
||||||
## Telegram
|
## Telegram
|
||||||
|
|
||||||
1. Tinted theme: `#707070`
|
1. Tinted theme: `#707070`
|
||||||
|
|
|
||||||
55
apply.sh
55
apply.sh
|
|
@ -1,55 +0,0 @@
|
||||||
# .Xresources
|
|
||||||
rm ~/.Xresources
|
|
||||||
ln -sv ~/dotfiles/root/.Xresources ~/.Xresources
|
|
||||||
|
|
||||||
# .zshrc
|
|
||||||
rm ~/.zshrc
|
|
||||||
ln -sv ~/dotfiles/root/.zshrc ~/.zshrc
|
|
||||||
|
|
||||||
# .vimrc
|
|
||||||
rm ~/.vimrc
|
|
||||||
ln -sv ~/dotfiles/root/.vimrc ~/.vimrc
|
|
||||||
|
|
||||||
# .lynxrc
|
|
||||||
rm ~/.lynxrc
|
|
||||||
ln -sv ~/dotfiles/root/.lynxrc ~/.lynxrc
|
|
||||||
|
|
||||||
# kitty
|
|
||||||
mkdir -p ~/.config/kitty
|
|
||||||
rm ~/.config/kitty/kitty.conf
|
|
||||||
ln -sv ~/dotfiles/kitty/kitty.conf ~/.config/kitty/kitty.conf
|
|
||||||
|
|
||||||
# neovim
|
|
||||||
mkdir -p ~/.config/nvim
|
|
||||||
rm ~/.config/nvim/init.lua
|
|
||||||
ln -sv ~/dotfiles/nvim/init.lua ~/.config/nvim/init.lua
|
|
||||||
|
|
||||||
# i3
|
|
||||||
mkdir -p ~/.config/i3
|
|
||||||
rm ~/.config/i3/config
|
|
||||||
ln -sv ~/dotfiles/i3/config ~/.config/i3/config
|
|
||||||
# sudo cp ~/dotfiles/i3/i3-gaps.desktop /usr/share/xsessions/i3-gaps.desktop
|
|
||||||
|
|
||||||
# dunst
|
|
||||||
mkdir -p ~/.config/dunst
|
|
||||||
rm ~/.config/dunst/dunstrc
|
|
||||||
ln -sv ~/dotfiles/dunst/dunstrc ~/.config/dunst/dunstrc
|
|
||||||
|
|
||||||
# polybar
|
|
||||||
mkdir -p ~/.config/polybar
|
|
||||||
rm ~/.config/polybar/config
|
|
||||||
ln -sv ~/dotfiles/polybar/config.ini ~/.config/polybar/config.ini
|
|
||||||
|
|
||||||
# ranger
|
|
||||||
mkdir -p ~/.config/ranger
|
|
||||||
rm ~/.config/ranger/rc.conf
|
|
||||||
ln -sv ~/dotfiles/ranger/rc.conf ~/.config/ranger/rc.conf
|
|
||||||
rm ~/.config/ranger/scope.sh
|
|
||||||
ln -sv ~/dotfiles/ranger/scope.sh ~/.config/ranger/scope.sh
|
|
||||||
|
|
||||||
# rofi
|
|
||||||
mkdir -p ~/.config/rofi
|
|
||||||
rm ~/.config/rofi/config
|
|
||||||
ln -sv ~/dotfiles/rofi/config.rasi ~/.config/rofi/config.rasi
|
|
||||||
rm ~/.config/rofi/paper-float.rasi
|
|
||||||
ln -sv ~/dotfiles/rofi/paper-float.rasi ~/.config/rofi/paper-float.rasi
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
# Firefox
|
# Firefox
|
||||||
|
|
||||||
|
## userChrome
|
||||||
|
|
||||||
1. Set `toolkit.legacyUserProfileCustomizations.stylesheets` to `true` with `about:config`
|
1. Set `toolkit.legacyUserProfileCustomizations.stylesheets` to `true` with `about:config`
|
||||||
1. Locate profile with `about:profiles`
|
1. Locate profile with `about:profiles`
|
||||||
1. Copy `firefox/userChrome.css` to `{Root Directory}/chrome/userChrome.css`
|
1. Copy `firefox/userChrome.css` to `{Root Directory}/chrome/userChrome.css`
|
||||||
1. Customize interface
|
1. Customize interface
|
||||||
|
|
||||||
|
## userStyles
|
||||||
|
|
||||||
|
Styles can be applied using the [CSS Override extension](https://github.com/swcolegrove/css-override-web-extension).
|
||||||
|
|
|
||||||
|
|
@ -149,13 +149,6 @@ vim.api.nvim_create_autocmd('TermOpen', {
|
||||||
command = 'setlocal nonumber',
|
command = 'setlocal nonumber',
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Switch the keyboard layout to English (US) when leaving Insert Mode
|
|
||||||
vim.api.nvim_create_autocmd('InsertLeave', {
|
|
||||||
group = vim.api.nvim_create_augroup('SwitchToEnglishOnLeave', { clear = true }),
|
|
||||||
pattern = '*',
|
|
||||||
command = 'silent !xkb-switch -s us',
|
|
||||||
})
|
|
||||||
|
|
||||||
--[[ cfg_keymaps: Base keymaps ]]
|
--[[ cfg_keymaps: Base keymaps ]]
|
||||||
|
|
||||||
local leader = ' '
|
local leader = ' '
|
||||||
|
|
@ -191,8 +184,8 @@ vim.keymap.set('n', '<leader>l', '<C-i>', { desc = 'Forward' })
|
||||||
-- Copy'n'Paste
|
-- Copy'n'Paste
|
||||||
vim.keymap.set('v', '<leader>y', '"+y', { desc = 'Cop[y] selection to system clipboard' })
|
vim.keymap.set('v', '<leader>y', '"+y', { desc = 'Cop[y] selection to system clipboard' })
|
||||||
vim.keymap.set('n', '<leader>y', function()
|
vim.keymap.set('n', '<leader>y', function()
|
||||||
vim.fn.setreg('+', vim.fn.getreg('"'))
|
vim.fn.setreg('+', vim.fn.getreg '"')
|
||||||
print('Copied to system clipboard')
|
print 'Copied to system clipboard'
|
||||||
end, {
|
end, {
|
||||||
silent = true,
|
silent = true,
|
||||||
desc = 'Copy last [y]anked or deleted text to system clipboard',
|
desc = 'Copy last [y]anked or deleted text to system clipboard',
|
||||||
|
|
@ -494,7 +487,30 @@ require('lazy').setup({
|
||||||
|
|
||||||
--[[ cfg_lazy_lsp_servers ]]
|
--[[ cfg_lazy_lsp_servers ]]
|
||||||
local servers = {
|
local servers = {
|
||||||
lua_ls = {},
|
lua_ls = {
|
||||||
|
on_init = function(client)
|
||||||
|
if client.workspace_folders then
|
||||||
|
local path = client.workspace_folders[1].name
|
||||||
|
if path ~= vim.fn.stdpath 'config' and (vim.uv.fs_stat(path .. '/.luarc.json') or vim.uv.fs_stat(path .. '/.luarc.jsonc')) then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
client.config.settings.Lua = vim.tbl_deep_extend('force', client.config.settings.Lua, {
|
||||||
|
runtime = {
|
||||||
|
version = 'LuaJIT',
|
||||||
|
path = { 'lua/?.lua', 'lua/?/init.lua' },
|
||||||
|
},
|
||||||
|
workspace = {
|
||||||
|
checkThirdParty = false,
|
||||||
|
library = vim.tbl_extend('force', vim.api.nvim_get_runtime_file('', true), {
|
||||||
|
'${3rd}/luv/library',
|
||||||
|
'${3rd}/busted/library',
|
||||||
|
}),
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
ts_ls = {
|
ts_ls = {
|
||||||
filetypes = { 'javascript', 'javascriptreact', 'typescript', 'typescriptreact', 'vue' },
|
filetypes = { 'javascript', 'javascriptreact', 'typescript', 'typescriptreact', 'vue' },
|
||||||
init_options = {
|
init_options = {
|
||||||
|
|
@ -616,7 +632,6 @@ require('lazy').setup({
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
-- lazy.nvim options
|
-- lazy.nvim options
|
||||||
lockfile = '~/dotfiles/nvim/lazy-lock.json',
|
|
||||||
ui = {
|
ui = {
|
||||||
backdrop = 100,
|
backdrop = 100,
|
||||||
border = 'solid',
|
border = 'solid',
|
||||||
2
home/.config/profanity/profrc
Normal file
2
home/.config/profanity/profrc
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[ui]
|
||||||
|
theme=desolate
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
#window {
|
#window {
|
||||||
border: @border-width;
|
border: @border-width;
|
||||||
width: 800px;
|
width: 800px;
|
||||||
height: 477px;
|
height: 466px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#inputbar {
|
#inputbar {
|
||||||
12
home/.gitconfig
Normal file
12
home/.gitconfig
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
[user]
|
||||||
|
name = He4eT
|
||||||
|
email = He4eT@oddsquat.org
|
||||||
|
[core]
|
||||||
|
pager = less -S
|
||||||
|
[pull]
|
||||||
|
rebase = true
|
||||||
|
[filter "lfs"]
|
||||||
|
smudge = git-lfs smudge -- %f
|
||||||
|
process = git-lfs filter-process
|
||||||
|
required = true
|
||||||
|
clean = git-lfs clean -- %f
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Name=i3-gaps
|
|
||||||
Comment=improved dynamic tiling window manager
|
|
||||||
Exec=i3
|
|
||||||
TryExec=i3
|
|
||||||
Type=Application
|
|
||||||
X-LightDM-DesktopName=i3
|
|
||||||
DesktopNames=i3
|
|
||||||
|
|
||||||
|
|
@ -1,44 +0,0 @@
|
||||||
sudo dnf install \
|
|
||||||
fontawesome-fonts \
|
|
||||||
terminus-fonts \
|
|
||||||
unifont-fonts \
|
|
||||||
i3 \
|
|
||||||
picom \
|
|
||||||
polybar \
|
|
||||||
rofi \
|
|
||||||
lxappearance \
|
|
||||||
gparted \
|
|
||||||
gimp \
|
|
||||||
vlc \
|
|
||||||
qt5ct \
|
|
||||||
rxvt-unicode \
|
|
||||||
cbonsai \
|
|
||||||
cmatrix \
|
|
||||||
fastfetch \
|
|
||||||
NetworkManager-tui \
|
|
||||||
arandr \
|
|
||||||
gpick \
|
|
||||||
light \
|
|
||||||
btop \
|
|
||||||
htop \
|
|
||||||
ncdu \
|
|
||||||
lynx \
|
|
||||||
sen \
|
|
||||||
vim \
|
|
||||||
neovim \
|
|
||||||
ripgrep \
|
|
||||||
xclip \
|
|
||||||
xdotool \
|
|
||||||
xdpyinfo \
|
|
||||||
xkb-switch \
|
|
||||||
unclutter-xfixes \
|
|
||||||
git \
|
|
||||||
zsh \
|
|
||||||
mc \
|
|
||||||
ranger \
|
|
||||||
telegram-desktop \
|
|
||||||
|
|
||||||
sudo dnf group install Multimedia
|
|
||||||
|
|
||||||
mkdir ./zsh/plugins
|
|
||||||
git clone git@github.com:zsh-users/zsh-autosuggestions.git ~/dotfiles/zsh/plugins/zsh-autosuggestions
|
|
||||||
|
|
@ -1,34 +0,0 @@
|
||||||
NAME="desolate"
|
|
||||||
THEME_STYLE=oomox
|
|
||||||
GTK3_GENERATE_DARK=True
|
|
||||||
|
|
||||||
ROUNDNESS=0
|
|
||||||
GRADIENT=0.0
|
|
||||||
SPACING=8
|
|
||||||
OUTLINE_WIDTH=0
|
|
||||||
BTN_OUTLINE_OFFSET=2
|
|
||||||
BTN_OUTLINE_WIDTH=2
|
|
||||||
|
|
||||||
ACCENT_BG=CDCDCD
|
|
||||||
BG=383838
|
|
||||||
BTN_BG=383838
|
|
||||||
BTN_FG=CDCDCD
|
|
||||||
CARET1_FG=CDCDCD
|
|
||||||
CARET2_FG=CDCDCD
|
|
||||||
CARET_SIZE=0.08
|
|
||||||
FG=CDCDCD
|
|
||||||
HDR_BG=383838
|
|
||||||
HDR_BTN_BG=383838
|
|
||||||
HDR_BTN_FG=CDCDCD
|
|
||||||
HDR_FG=CDCDCD
|
|
||||||
MENU_BG=383838
|
|
||||||
MENU_FG=CDCDCD
|
|
||||||
SEL_BG=BDBDBD
|
|
||||||
SEL_FG=383838
|
|
||||||
TXT_BG=383838
|
|
||||||
TXT_FG=CDCDCD
|
|
||||||
WM_BORDER_FOCUS=FFFFFF
|
|
||||||
WM_BORDER_UNFOCUS=383838
|
|
||||||
|
|
||||||
ICONS_ARCHDROID=757575
|
|
||||||
ICONS_STYLE=archdroid
|
|
||||||
|
|
@ -1,34 +0,0 @@
|
||||||
NAME="gray"
|
|
||||||
THEME_STYLE=oomox
|
|
||||||
GTK3_GENERATE_DARK=False
|
|
||||||
|
|
||||||
ROUNDNESS=0
|
|
||||||
GRADIENT=0.0
|
|
||||||
SPACING=4
|
|
||||||
OUTLINE_WIDTH=0
|
|
||||||
BTN_OUTLINE_OFFSET=2
|
|
||||||
BTN_OUTLINE_WIDTH=2
|
|
||||||
|
|
||||||
ACCENT_BG=212121
|
|
||||||
BG=BDBDBD
|
|
||||||
BTN_BG=BDBDBD
|
|
||||||
BTN_FG=212121
|
|
||||||
CARET1_FG=212121
|
|
||||||
CARET2_FG=212121
|
|
||||||
CARET_SIZE=0.08
|
|
||||||
FG=212121
|
|
||||||
HDR_BG=BDBDBD
|
|
||||||
HDR_BTN_BG=BDBDBD
|
|
||||||
HDR_BTN_FG=212121
|
|
||||||
HDR_FG=212121
|
|
||||||
MENU_BG=BDBDBD
|
|
||||||
MENU_FG=212121
|
|
||||||
SEL_BG=A3A3A3
|
|
||||||
SEL_FG=212121
|
|
||||||
TXT_BG=E0E0E0
|
|
||||||
TXT_FG=212121
|
|
||||||
WM_BORDER_FOCUS=9E9E9E
|
|
||||||
WM_BORDER_UNFOCUS=BDBDBD
|
|
||||||
|
|
||||||
ICONS_ARCHDROID=757575
|
|
||||||
ICONS_STYLE=archdroid
|
|
||||||
1
zsh/plugins/zsh-autosuggestions
Submodule
1
zsh/plugins/zsh-autosuggestions
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 85919cd1ffa7d2d5412f6d3fe437ebdbeeec4fc5
|
||||||
Loading…
Add table
Add a link
Reference in a new issue