diff --git a/.bin/random-background.sh b/.bin/random-background.sh index fc440a6..a92f67e 100755 --- a/.bin/random-background.sh +++ b/.bin/random-background.sh @@ -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 diff --git a/.config/btop/btop.conf b/.config/btop/btop.conf index 4d3a032..8c9d9bb 100644 --- a/.config/btop/btop.conf +++ b/.config/btop/btop.conf @@ -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 diff --git a/.config/sworkstyle/config.toml b/.config/sworkstyle/config.toml index be7f805..d3c861e 100644 --- a/.config/sworkstyle/config.toml +++ b/.config/sworkstyle/config.toml @@ -3,6 +3,8 @@ separator = ' ' [matching] +'jetbrains-idea-ce' = '' +'jetbrains-idea' = '' '/Element/' = '󰯸' '/Picture-in-Picture/' = '󰹗' '/Private Browsing/' = '󱀣' @@ -16,8 +18,6 @@ separator = ' ' '/yazi/' = '' '/pulsemixer/' = '' 'deno' = '' -'jetbrains-idea-ce' = '' -'jetbrains-idea' = '' 'Postman' = '' 'steam' = '' 'kitty' = '' diff --git a/.yamlfmt.yaml b/.config/yamlfmt/.yamlfmt.yaml similarity index 100% rename from .yamlfmt.yaml rename to .config/yamlfmt/.yamlfmt.yaml diff --git a/.yamllint.yaml b/.config/yamllint/config similarity index 100% rename from .yamllint.yaml rename to .config/yamllint/config diff --git a/.github/README.md b/.github/README.md index 8d22adb..0e9aba2 100644 --- a/.github/README.md +++ b/.github/README.md @@ -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 diff --git a/.github/workflows/yamlfmt.yaml b/.github/workflows/yamlfmt.yaml index bb498f1..3c3003b 100644 --- a/.github/workflows/yamlfmt.yaml +++ b/.github/workflows/yamlfmt.yaml @@ -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 . diff --git a/.github/workflows/yamllint.yaml b/.github/workflows/yamllint.yaml index 63ef123..c92c613 100644 --- a/.github/workflows/yamllint.yaml +++ b/.github/workflows/yamllint.yaml @@ -23,3 +23,4 @@ jobs: uses: ibiqlik/action-yamllint@v3 with: strict: true + config_file: .config/yamllint/config diff --git a/.gitignore b/.gitignore index dd23c32..7e0b8eb 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,8 @@ !.config/user-dirs.locale !.config/waybar/ !.config/wob/ +!.config/yamlfmt/ +!.config/yamllint/ !.config/yazi/ !.config/zathura/ !.github/ @@ -47,6 +49,7 @@ !.gitignore !.gitmodules !.gtkrc-2.0 +!.ideavimrc !.profile !.ripgreprc !.stylelintrc.json diff --git a/.ideavimrc b/.ideavimrc new file mode 100644 index 0000000..4ad71b6 --- /dev/null +++ b/.ideavimrc @@ -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 key" + +let g:WhichKeyDesc_recent = " Recent files" + +let g:WhichKeyDesc_tool = "t Tool window menu" +let g:WhichKeyDesc_tool_file = "te File explorer" +let g:WhichKeyDesc_tool_terminal = "tt Terminal window" +let g:WhichKeyDesc_tool_git = "tg Git window" +let g:WhichKeyDesc_tool_problem = "tl Problems window" +let g:WhichKeyDesc_tool_run = "tr Run window" + +let g:WhichKeyDesc_execution = "e Execution menu" +let g:WhichKeyDesc_execution_run = "er Run" +let g:WhichKeyDesc_execution_run_config = "eR Choose run configuration" +let g:WhichKeyDesc_execution_debug = "ed Debug" +let g:WhichKeyDesc_execution_stop = "es Stop" + +let g:WhichKeyDesc_split = "w Split menu" +let g:WhichKeyDesc_split_vertically = "ws Split vertically" +let g:WhichKeyDesc_split_horizontally = "wS Split horizontally" + +let g:WhichKeyDesc_refactor = "r Refactor menu" +let g:WhichKeyDesc_refactor_rename = "rn Rename element" +let g:WhichKeyDesc_refactor_extract_method = "rm Extract mehtod" +let g:WhichKeyDesc_refactor_introduce_variable = "rv Introduce variable" +let g:WhichKeyDesc_refactor_introduce_field = "rf Introduce field" +let g:WhichKeyDesc_refactor_reformat_code = "rc Reformat code" +let g:WhichKeyDesc_refactor_change_signature = "rs Change signature" +let g:WhichKeyDesc_refactor_action_list = "rr Actions list" + +let g:WhichKeyDesc_go_to = "g Go to menu" +let g:WhichKeyDesc_go_to_declaration = "gd Go to declaration" +let g:WhichKeyDesc_go_to_type_declaration = "gy Go to type declaration" +let g:WhichKeyDesc_go_to_implementation = "gi Go to implementation" +let g:WhichKeyDesc_go_to_usages = "gu Show usages" +let g:WhichKeyDesc_go_to_test = "gt Go to test" +let g:WhichKeyDesc_go_to_back = "gb Go back" +let g:WhichKeyDesc_go_to_forward = "gn Go forward" + +let g:WhichKeyDesc_action = "a Actions" +let g:WhichKeyDesc_action_context = "ac ShowIntentionActions" +let g:WhichKeyDesc_action_search = "as SearchEverywhere" +let g:WhichKeyDesc_action_generate = "ag Generate" + +let g:WhichKeyDesc_comment = "c Comment" +let g:WhichKeyDesc_comment_line = "cc Comment line" +let g:WhichKeyDesc_comment_block = "cb Comment block" + +let g:WhichKeyDesc_folding = "z Folding" +let g:WhichKeyDesc_folding_fold = "zc Collapse region" +let g:WhichKeyDesc_folding_expand = "ze Expand region" +let g:WhichKeyDesc_folding_fold_all = "zC Collapse all" +let g:WhichKeyDesc_folding_expand_all = "zE Expand all" +" ================================================================================================== + +" General +map (CloseContent) +imap (CloseContent) +map :noh + +" Tool windows +map te :NERDTreeToggle +map tt (ActivateTerminalToolWindow) +map tg (ActivateVersionControlToolWindow) +map tl (ActivateProblemsViewToolWindow) +map tr (ActivateRunToolWindow) +map (RecentFiles) + +" Code execution +map er (Run) +map eR (ChooseRunConfiguration) +map ed (Debug) +map es (Stop) + +" Window splits +map ws (SplitVertically) +map wS (SplitHorizontally) + +" Refactoring +map rn (RenameElement) +map rm (ExtractMethod) +map rv (IntroduceVariable) +map ra (IntroduceField) +map rf (ReformatCode) +map rs (ChangeSignature) +map rr (Refactorings.QuickListPopupAction) + +" Go to code +map gd (GotoDeclaration) +map gy (GotoTypeDeclaration) +map gi (GotoImplementation) +map gu (ShowUsages) +map gt (GotoTest) +map gb (Back) +map gn (Forward) + +" Actions +map am (ShowIntentionActions) +map as (SearchEverywhere) +map ag (Generate) + +" Comments +map cc (CommentByLineComment) +map cb (CommentByBlockComment) + +" Folding +map zc (CollapseRegion) +map ze (ExpandRegion) +map zC (CollapseAllRegions) +map zE (ExpandAllRegions) diff --git a/.system-config-backup/aurpkglist.txt b/.system-config-backup/aurpkglist.txt index 3dd54b7..9b44b58 100644 --- a/.system-config-backup/aurpkglist.txt +++ b/.system-config-backup/aurpkglist.txt @@ -2,6 +2,7 @@ advcpmv calcure ddcui debtap +exercism google-chrome grimshot gruvbox-material-gtk-theme-git diff --git a/.system-config-backup/pkglist.txt b/.system-config-backup/pkglist.txt index 3dff4a4..7bc53d2 100644 --- a/.system-config-backup/pkglist.txt +++ b/.system-config-backup/pkglist.txt @@ -1,3 +1,4 @@ +7zip acpi archlinux-keyring autoconf @@ -100,7 +101,6 @@ ntfs-3g obsidian openrgb openssh -p7zip pacman pacman-contrib pandoc-cli @@ -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 diff --git a/.system-config-backup/systemd/logind.conf b/.system-config-backup/systemd/logind.conf index 32b6b84..7db29ec 100644 --- a/.system-config-backup/systemd/logind.conf +++ b/.system-config-backup/systemd/logind.conf @@ -36,6 +36,7 @@ HandlePowerKeyLongPress=poweroff #HandleLidSwitch=suspend #HandleLidSwitchExternalPower=suspend #HandleLidSwitchDocked=ignore +#HandleSecureAttentionKey=secure-attention-key #PowerKeyIgnoreInhibited=no #SuspendKeyIgnoreInhibited=no #HibernateKeyIgnoreInhibited=no @@ -50,3 +51,4 @@ HandlePowerKeyLongPress=poweroff #InhibitorsMax=8192 #SessionsMax=8192 #StopIdleSessionSec=infinity +#DesignatedMaintenanceTime= diff --git a/.wallpaper/blue.jpg b/.wallpaper/blue.jpg new file mode 100644 index 0000000..001b86b Binary files /dev/null and b/.wallpaper/blue.jpg differ diff --git a/.wallpaper/cave.jpg b/.wallpaper/cave.jpg new file mode 100644 index 0000000..048b4c1 Binary files /dev/null and b/.wallpaper/cave.jpg differ diff --git a/.wallpaper/cosmo.jpg b/.wallpaper/cosmo.jpg new file mode 100644 index 0000000..6967beb Binary files /dev/null and b/.wallpaper/cosmo.jpg differ diff --git a/.wallpaper/downtown.jpg b/.wallpaper/downtown.jpg new file mode 100644 index 0000000..bc15a51 Binary files /dev/null and b/.wallpaper/downtown.jpg differ diff --git a/.wallpaper/end.jpg b/.wallpaper/end.jpg new file mode 100644 index 0000000..5b8d249 Binary files /dev/null and b/.wallpaper/end.jpg differ diff --git a/.wallpaper/ghosts-of-utopia.jpg b/.wallpaper/ghosts-of-utopia.jpg new file mode 100644 index 0000000..3c66acf Binary files /dev/null and b/.wallpaper/ghosts-of-utopia.jpg differ diff --git a/.wallpaper/lights.jpg b/.wallpaper/lights.jpg new file mode 100644 index 0000000..821fa03 Binary files /dev/null and b/.wallpaper/lights.jpg differ diff --git a/.wallpaper/lost.jpg b/.wallpaper/lost.jpg new file mode 100644 index 0000000..90a8b2e Binary files /dev/null and b/.wallpaper/lost.jpg differ diff --git a/.zshrc b/.zshrc index 732f259..8033641 100644 --- a/.zshrc +++ b/.zshrc @@ -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