Compare commits

...

38 commits

Author SHA1 Message Date
8b0c9631bd nvim: stylua 2026-06-03 12:51:52 +02:00
8f55e5d525 nvim: copy lua_ls from kickstart.nvim 2026-06-03 12:51:44 +02:00
e2cc701edd .gitignore: no more 2026-06-03 12:49:23 +02:00
8453f7a56b rofi: even row number 2026-06-03 12:35:54 +02:00
afc86615a7 Makefile: safe cleaup 2026-06-03 12:20:54 +02:00
867bd23f49 Makefile: cleanup i3 directory 2026-06-03 12:20:54 +02:00
868a467018 Makefile: add fzf 2026-06-03 12:20:54 +02:00
6d2e96ca48 Makefile: cleanup defaults 2026-06-03 12:20:54 +02:00
f02ec2af74 Makefile: remove lxappearance 2026-06-03 12:20:54 +02:00
1425f4433d nvim: remove xkb-switch 2026-06-03 12:20:54 +02:00
c83f16fb45 Makefile: remove xkb-switch 2026-06-03 12:20:54 +02:00
d9d04b623f Update README.md 2026-06-03 12:20:54 +02:00
7ac320bde1 zsh: add zsh-autosuggestions as submodule 2026-06-03 12:20:54 +02:00
15197873fd Delete installPackages.sh 2026-06-03 12:20:54 +02:00
26666e0508 Delete apply.sh 2026-06-03 12:20:54 +02:00
aa3e69b70c i3: move config to .config 2026-06-03 12:20:54 +02:00
ad13c01291 i3: delete accidental config 2026-06-03 12:20:54 +02:00
c9f41f00b6 nvim: use default lockfile path 2026-06-03 12:20:54 +02:00
3e019d7931 nvim: move to .config 2026-06-03 12:20:54 +02:00
f75f716242 i3: move config to .config 2026-06-03 12:20:54 +02:00
3009db7e2e Update README.md 2026-06-03 12:20:54 +02:00
d0d9540bd1 Makefile: init 2026-06-03 12:20:54 +02:00
194b456a45 Update README.md 2026-06-03 12:20:54 +02:00
cdd5172652 firefox: shuffle the files 2026-06-03 12:20:54 +02:00
d91ca54827 profanity: create profrc 2026-06-03 12:20:54 +02:00
0375ac95b9 profanity: move to .config 2026-06-03 12:20:54 +02:00
0bcd854212 rofi: move to .config 2026-06-03 12:20:54 +02:00
924cac2a08 ranger: move to .config 2026-06-03 12:20:54 +02:00
a23cb0d9bb polybar: move to .config 2026-06-03 12:20:54 +02:00
4a65d16a40 i3: .desktop no more 2026-06-03 12:20:54 +02:00
87c08a7086 dunst: move to .config 2026-06-03 12:20:54 +02:00
91006b39db kitty: move to .config 2026-06-03 12:20:54 +02:00
e18cc38d8b oomox: obsolete 2026-06-03 12:20:54 +02:00
3d4f992e58 zsh: move .zshrc to home 2026-06-03 12:20:54 +02:00
d506f8ee3f vim: move to home 2026-06-03 12:20:54 +02:00
9d77c9ac84 lynx: move to home 2026-06-03 12:20:54 +02:00
0e0110b1a7 Xresources: move to home 2026-06-03 12:20:54 +02:00
c4823477f0 home: add .gitconfig 2026-06-03 12:20:54 +02:00
34 changed files with 134 additions and 200 deletions

2
.gitignore vendored
View file

@ -1,2 +0,0 @@
.luarc.json
/zsh/plugins

3
.gitmodules vendored Normal file
View 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
View 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:

View file

@ -2,10 +2,12 @@
## Bootstrap
1. `git clone https://github.com/He4eT/dotfiles.git ~/dotfiles`
1. Run `./installPackages.sh`
1. Run `./apply.sh`
1. Setup SSH keys
1. [Enable RPM Fusion](https://docs.fedoraproject.org/en-US/quick-docs/rpmfusion-setup/)
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. `make desktop_i3`
## GTK
@ -17,13 +19,6 @@
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
1. Tinted theme: `#707070`

View file

@ -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

View file

@ -1,6 +1,12 @@
# Firefox
## userChrome
1. Set `toolkit.legacyUserProfileCustomizations.stylesheets` to `true` with `about:config`
1. Locate profile with `about:profiles`
1. Copy `firefox/userChrome.css` to `{Root Directory}/chrome/userChrome.css`
1. Customize interface
## userStyles
Styles can be applied using the [CSS Override extension](https://github.com/swcolegrove/css-override-web-extension).

View file

@ -149,13 +149,6 @@ vim.api.nvim_create_autocmd('TermOpen', {
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 ]]
local leader = ' '
@ -191,8 +184,8 @@ vim.keymap.set('n', '<leader>l', '<C-i>', { desc = 'Forward' })
-- Copy'n'Paste
vim.keymap.set('v', '<leader>y', '"+y', { desc = 'Cop[y] selection to system clipboard' })
vim.keymap.set('n', '<leader>y', function()
vim.fn.setreg('+', vim.fn.getreg('"'))
print('Copied to system clipboard')
vim.fn.setreg('+', vim.fn.getreg '"')
print 'Copied to system clipboard'
end, {
silent = true,
desc = 'Copy last [y]anked or deleted text to system clipboard',
@ -494,7 +487,30 @@ require('lazy').setup({
--[[ cfg_lazy_lsp_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 = {
filetypes = { 'javascript', 'javascriptreact', 'typescript', 'typescriptreact', 'vue' },
init_options = {
@ -616,7 +632,6 @@ require('lazy').setup({
},
}, {
-- lazy.nvim options
lockfile = '~/dotfiles/nvim/lazy-lock.json',
ui = {
backdrop = 100,
border = 'solid',

View file

@ -0,0 +1,2 @@
[ui]
theme=desolate

View file

@ -16,7 +16,7 @@
#window {
border: @border-width;
width: 800px;
height: 477px;
height: 466px;
}
#inputbar {

12
home/.gitconfig Normal file
View 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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

@ -0,0 +1 @@
Subproject commit 85919cd1ffa7d2d5412f6d3fe437ebdbeeec4fc5