Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .bin/random-background.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash

# Script for setting wallpapers and changing them periodically (every 5 minutes)
swaybg -i "$(find "${HOME}/.wallpaper/." -type f | shuf -n1)" -m fill &
swaybg -i "$(find "${HOME}/.wallpaper/." -type f -name '*.jpg' | shuf -n1)" -m fill &
OLD_PID=$!

while true; do
sleep 300
swaybg -i "$(find "${HOME}/.wallpaper/." -type f | shuf -n1)" -m fill &
swaybg -i "$(find "${HOME}/.wallpaper/." -type f -name '*.jpg' | shuf -n1)" -m fill &
NEXT_PID=$!
sleep 5
kill $OLD_PID
Expand Down
2 changes: 1 addition & 1 deletion .config/btop/btop.conf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ update_ms = 2000

#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
proc_sorting = "cpu direct"
proc_sorting = "memory"

#* Reverse sorting order, True or False.
proc_reversed = False
Expand Down
4 changes: 2 additions & 2 deletions .config/sworkstyle/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
separator = ' '

[matching]
'jetbrains-idea-ce' = ''
'jetbrains-idea' = ''
'/Element/' = '󰯸'
'/Picture-in-Picture/' = '󰹗'
'/Private Browsing/' = '󱀣'
Expand All @@ -16,8 +18,6 @@ separator = ' '
'/yazi/' = ''
'/pulsemixer/' = ''
'deno' = ''
'jetbrains-idea-ce' = ''
'jetbrains-idea' = ''
'Postman' = ''
'steam' = ''
'kitty' = ''
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
![shellcheck](https://img.shields.io/github/actions/workflow/status/CelticBoozer/dotfiles/shellcheck.yaml?branch=master&label=shellcheck)
![yamlfmt](https://img.shields.io/github/actions/workflow/status/CelticBoozer/dotfiles/yamlfmt.yaml?branch=master&label=yamlfmt)
![prettier](https://img.shields.io/github/actions/workflow/status/CelticBoozer/dotfiles/prettier.yaml?branch=master&label=prettier)
![prettier](https://img.shields.io/github/actions/workflow/status/CelticBoozer/dotfiles/cspell.yaml?branch=master&label=cspell)
![cspell](https://img.shields.io/github/actions/workflow/status/CelticBoozer/dotfiles/cspell.yaml?branch=master&label=cspell)

## :wave: Greetings

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yamlfmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
- name: Install yamlfmt
run: go install github.com/google/yamlfmt/cmd/yamlfmt@latest
- name: Run yamlfmt
run: yamlfmt -lint .
run: yamlfmt -conf .config/yamlfmt/.yamlfmt.yaml -lint .
1 change: 1 addition & 0 deletions .github/workflows/yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ jobs:
uses: ibiqlik/action-yamllint@v3
with:
strict: true
config_file: .config/yamllint/config
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
!.config/user-dirs.locale
!.config/waybar/
!.config/wob/
!.config/yamlfmt/
!.config/yamllint/
!.config/yazi/
!.config/zathura/
!.github/
Expand All @@ -47,6 +49,7 @@
!.gitignore
!.gitmodules
!.gtkrc-2.0
!.ideavimrc
!.profile
!.ripgreprc
!.stylelintrc.json
Expand Down
145 changes: 145 additions & 0 deletions .ideavimrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
" Set basics
" ==================================================================================================
set clipboard=unnamedplus
set guicursor=n-v-c:block,i-ci-ve:ver20,r-cr-o:hor20
set hlsearch
set showcmd
set showmode
set smartcase
set visualbell
set colorcolumn=100
set cursorline
set list
set relativenumber
set notimeout

let mapleader ="\"

" Plugin settings
" ==================================================================================================
set nerdtree
set sneak

" Highlightedyank settings
set highlightedyank
let g:highlightedyank_highlight_color = "rgba(216, 166, 87, 155)"
let g:highlightedyank_highlight_foreground_color = "rgba(50, 48, 47, 255)"

" Which-key settings
set which-key
let g:WhichKey_FontSize = 16
let g:WhichKey_KeyColor = "#e78a4e"
let g:WhichKey_PrefixColor = "#7daea3"
let g:WhichKey_CommandColor = "#a9b665"
let g:WhichKey_SortOrder = "by_key_prefix_first"

let g:WhichKeyDesc_leader = "<leader> Leader key"

let g:WhichKeyDesc_recent = "<leader><leader> Recent files"

let g:WhichKeyDesc_tool = "<leader>t Tool window menu"
let g:WhichKeyDesc_tool_file = "<leader>te File explorer"
let g:WhichKeyDesc_tool_terminal = "<leader>tt Terminal window"
let g:WhichKeyDesc_tool_git = "<leader>tg Git window"
let g:WhichKeyDesc_tool_problem = "<leader>tl Problems window"
let g:WhichKeyDesc_tool_run = "<leader>tr Run window"

let g:WhichKeyDesc_execution = "<leader>e Execution menu"
let g:WhichKeyDesc_execution_run = "<leader>er Run"
let g:WhichKeyDesc_execution_run_config = "<leader>eR Choose run configuration"
let g:WhichKeyDesc_execution_debug = "<leader>ed Debug"
let g:WhichKeyDesc_execution_stop = "<leader>es Stop"

let g:WhichKeyDesc_split = "<leader>w Split menu"
let g:WhichKeyDesc_split_vertically = "<leader>ws Split vertically"
let g:WhichKeyDesc_split_horizontally = "<leader>wS Split horizontally"

let g:WhichKeyDesc_refactor = "<leader>r Refactor menu"
let g:WhichKeyDesc_refactor_rename = "<leader>rn Rename element"
let g:WhichKeyDesc_refactor_extract_method = "<leader>rm Extract mehtod"
let g:WhichKeyDesc_refactor_introduce_variable = "<leader>rv Introduce variable"
let g:WhichKeyDesc_refactor_introduce_field = "<leader>rf Introduce field"
let g:WhichKeyDesc_refactor_reformat_code = "<leader>rc Reformat code"
let g:WhichKeyDesc_refactor_change_signature = "<leader>rs Change signature"
let g:WhichKeyDesc_refactor_action_list = "<leader>rr Actions list"

let g:WhichKeyDesc_go_to = "<leader>g Go to menu"
let g:WhichKeyDesc_go_to_declaration = "<leader>gd Go to declaration"
let g:WhichKeyDesc_go_to_type_declaration = "<leader>gy Go to type declaration"
let g:WhichKeyDesc_go_to_implementation = "<leader>gi Go to implementation"
let g:WhichKeyDesc_go_to_usages = "<leader>gu Show usages"
let g:WhichKeyDesc_go_to_test = "<leader>gt Go to test"
let g:WhichKeyDesc_go_to_back = "<leader>gb Go back"
let g:WhichKeyDesc_go_to_forward = "<leader>gn Go forward"

let g:WhichKeyDesc_action = "<leader>a Actions"
let g:WhichKeyDesc_action_context = "<leader>ac ShowIntentionActions"
let g:WhichKeyDesc_action_search = "<leader>as SearchEverywhere"
let g:WhichKeyDesc_action_generate = "<leader>ag Generate"

let g:WhichKeyDesc_comment = "<leader>c Comment"
let g:WhichKeyDesc_comment_line = "<leader>cc Comment line"
let g:WhichKeyDesc_comment_block = "<leader>cb Comment block"

let g:WhichKeyDesc_folding = "<leader>z Folding"
let g:WhichKeyDesc_folding_fold = "<leader>zc Collapse region"
let g:WhichKeyDesc_folding_expand = "<leader>ze Expand region"
let g:WhichKeyDesc_folding_fold_all = "<leader>zC Collapse all"
let g:WhichKeyDesc_folding_expand_all = "<leader>zE Expand all"
" ==================================================================================================

" General
map <C-q> <Action>(CloseContent)
imap <C-q> <Action>(CloseContent)
map <esc> :noh<CR>

" Tool windows
map <leader>te :NERDTreeToggle<CR>
map <leader>tt <Action>(ActivateTerminalToolWindow)
map <leader>tg <Action>(ActivateVersionControlToolWindow)
map <leader>tl <Action>(ActivateProblemsViewToolWindow)
map <leader>tr <Action>(ActivateRunToolWindow)
map <leader><leader> <Action>(RecentFiles)

" Code execution
map <leader>er <Action>(Run)
map <leader>eR <Action>(ChooseRunConfiguration)
map <leader>ed <Action>(Debug)
map <leader>es <Action>(Stop)

" Window splits
map <leader>ws <Action>(SplitVertically)
map <leader>wS <Action>(SplitHorizontally)

" Refactoring
map <leader>rn <Action>(RenameElement)
map <leader>rm <Action>(ExtractMethod)
map <leader>rv <Action>(IntroduceVariable)
map <leader>ra <Action>(IntroduceField)
map <leader>rf <Action>(ReformatCode)
map <leader>rs <Action>(ChangeSignature)
map <leader>rr <Action>(Refactorings.QuickListPopupAction)

" Go to code
map <leader>gd <Action>(GotoDeclaration)
map <leader>gy <Action>(GotoTypeDeclaration)
map <leader>gi <Action>(GotoImplementation)
map <leader>gu <Action>(ShowUsages)
map <leader>gt <Action>(GotoTest)
map <leader>gb <Action>(Back)
map <leader>gn <Action>(Forward)

" Actions
map <leader>am <action>(ShowIntentionActions)
map <leader>as <action>(SearchEverywhere)
map <leader>ag <action>(Generate)

" Comments
map <leader>cc <Action>(CommentByLineComment)
map <leader>cb <Action>(CommentByBlockComment)

" Folding
map <leader>zc <Action>(CollapseRegion)
map <leader>ze <Action>(ExpandRegion)
map <leader>zC <Action>(CollapseAllRegions)
map <leader>zE <Action>(ExpandAllRegions)
1 change: 1 addition & 0 deletions .system-config-backup/aurpkglist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ advcpmv
calcure
ddcui
debtap
exercism
google-chrome
grimshot
gruvbox-material-gtk-theme-git
Expand Down
5 changes: 4 additions & 1 deletion .system-config-backup/pkglist.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
7zip
acpi
archlinux-keyring
autoconf
Expand Down Expand Up @@ -100,7 +101,6 @@ ntfs-3g
obsidian
openrgb
openssh
p7zip
pacman
pacman-contrib
pandoc-cli
Expand All @@ -114,9 +114,12 @@ polkit
postgresql
prettier
pulsemixer
python-iniconfig
python-pillow
python-pip
python-pluggy
python-pystray
python-pytest
python-requests
qemu-desktop
reflector
Expand Down
2 changes: 2 additions & 0 deletions .system-config-backup/systemd/logind.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ HandlePowerKeyLongPress=poweroff
#HandleLidSwitch=suspend
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#HandleSecureAttentionKey=secure-attention-key
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
Expand All @@ -50,3 +51,4 @@ HandlePowerKeyLongPress=poweroff
#InhibitorsMax=8192
#SessionsMax=8192
#StopIdleSessionSec=infinity
#DesignatedMaintenanceTime=
Binary file added .wallpaper/blue.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wallpaper/cave.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wallpaper/cosmo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wallpaper/downtown.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wallpaper/end.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wallpaper/ghosts-of-utopia.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wallpaper/lights.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wallpaper/lost.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ alias cp="cpg -g"
alias mv="mvg -g"
alias cat="bat"
alias find="fd -I -c always"

export PATH=$PATH:/home/celtic/.millennium/ext/bin
Loading