diff --git a/ckb-next/.config/ckb-next/ckb-next.conf b/ckb-next/.config/ckb-next/ckb-next.conf index ea32e24e0..4bba3aeeb 100644 --- a/ckb-next/.config/ckb-next/ckb-next.conf +++ b/ckb-next/.config/ckb-next/ckb-next.conf @@ -197,7 +197,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Lighting\Keys\y=#ffffff 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Lighting\Keys\z=#ffffff 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Lighting\UseRealNames=true -0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Modified=6a520b95 +0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Modified=1ae0b169 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Name=Rainbow 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Performance\AngleSnap=false 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\0\Performance\DPI\0=@Point(400 400) @@ -425,7 +425,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Lighting\Keys\y=#ff0000 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Lighting\Keys\z=#ff0000 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Lighting\UseRealNames=true -0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Modified=1cffe5d4 +0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Modified=2a72fb3c 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Name=Breathing 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Performance\AngleSnap=false 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\1\Performance\DPI\0=@Point(400 400) @@ -675,7 +675,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Lighting\Keys\y=#aa00ff 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Lighting\Keys\z=#aa00ff 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Lighting\UseRealNames=true -0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Modified=34395641 +0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Modified=7dae5655 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Name=Trippy 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Performance\AngleSnap=false 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\2\Performance\DPI\0=@Point(400 400) @@ -733,7 +733,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\CurrentMode={51EB6E3A-27A0-4AD6-A35C-6B67E0329A3D} 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\HwModified=7ffd 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\ModeCount=3 -0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\Modified=b5bf4a67 +0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\Modified=5397c4c7 0E029022AF4C18835CBDCC7EF5001BC3\%7B5B1E2E81-ED4F-4F79-9EB5-F8ACA67D1BF0%7D\Name=Multi 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Binding\KeyMap=K68 GB 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Binding\UseRealNames=true @@ -929,7 +929,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Lighting\Keys\y=#ffffff 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Lighting\Keys\z=#ffffff 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Lighting\UseRealNames=true -0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Modified=285eb9a1 +0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Modified=a82d0644 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Name=Rainbow 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Performance\AngleSnap=false 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\0\Performance\DPI\0=@Point(400 400) @@ -1157,7 +1157,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Lighting\Keys\y=#ff0000 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Lighting\Keys\z=#ff0000 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Lighting\UseRealNames=true -0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Modified=14c31262 +0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Modified=a0334010 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Name=Breathing 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Performance\AngleSnap=false 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\1\Performance\DPI\0=@Point(400 400) @@ -1407,7 +1407,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Lighting\Keys\y=#aa00ff 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Lighting\Keys\z=#aa00ff 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Lighting\UseRealNames=true -0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Modified=d4f452e +0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Modified=c6534c54 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Name=Trippy 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Performance\AngleSnap=false 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\2\Performance\DPI\0=@Point(400 400) @@ -1465,7 +1465,7 @@ 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\CurrentMode={11C11AE3-3195-4DFC-B8AC-2FEA703414E5} 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\HwModified=40b6f054 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\ModeCount=3 -0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Modified=e5b492da +0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Modified=c09e1818 0E029022AF4C18835CBDCC7EF5001BC3\%7BBA7FC152-2D51-4C26-A7A6-A036CC93D924%7D\Name=Demo [Popups] diff --git a/dconf/.config/dconf/user b/dconf/.config/dconf/user index 21a5086a9..5fd925d73 100644 Binary files a/dconf/.config/dconf/user and b/dconf/.config/dconf/user differ diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 44337741f..02ff493a7 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -2,6 +2,6 @@ for plugins in "$HOME/.config/fish/plugins/"* source $plugins end -for aliases in "$HOME/.config/fish/aliases/"* - source $aliases +for functions in "$HOME/.config/fish/functions/"* + source $functions end diff --git a/fish/.config/fish/aliases/99_commands.fish b/fish/.config/fish/functions/99_commands.fish similarity index 85% rename from fish/.config/fish/aliases/99_commands.fish rename to fish/.config/fish/functions/99_commands.fish index 2b5ef79f2..872c311c9 100644 --- a/fish/.config/fish/aliases/99_commands.fish +++ b/fish/.config/fish/functions/99_commands.fish @@ -1,10 +1,10 @@ # Unlock user from passwords -function ulock +function ulock --description 'alias ulock="faillock --reset"' command faillock --reset end # Check ports for current user -function ports +function ports --description 'alias ports="sudo netstat -tulanp"' command sudo netstat -tulanp end diff --git a/fish/.config/fish/aliases/99_git.fish b/fish/.config/fish/functions/99_git.fish similarity index 100% rename from fish/.config/fish/aliases/99_git.fish rename to fish/.config/fish/functions/99_git.fish diff --git a/fish/.config/fish/aliases/99_lsd.fish b/fish/.config/fish/functions/99_lsd.fish similarity index 77% rename from fish/.config/fish/aliases/99_lsd.fish rename to fish/.config/fish/functions/99_lsd.fish index 442367fe4..6906de9cf 100644 --- a/fish/.config/fish/aliases/99_lsd.fish +++ b/fish/.config/fish/functions/99_lsd.fish @@ -1,10 +1,10 @@ #list comamnds function l - lsd $argv + exa $argv end function ls - lsd $argv + exa $argv end function la @@ -24,5 +24,5 @@ function lt end function lg - ls -A | egrep $argv + ls -a | egrep $argv end diff --git a/fish/.config/fish/aliases/99_pacman.fish b/fish/.config/fish/functions/99_pacman.fish similarity index 64% rename from fish/.config/fish/aliases/99_pacman.fish rename to fish/.config/fish/functions/99_pacman.fish index f0b336ca6..04658d37f 100644 --- a/fish/.config/fish/aliases/99_pacman.fish +++ b/fish/.config/fish/functions/99_pacman.fish @@ -13,26 +13,25 @@ function pacman wait $last_pid end - if [ "$argv" != -c ] - command sudo pacman --color auto $argv - else + if [ "$argv" = -c ] if pacman -Qttdq - command sudo pacman -Qttdq | command sudo pacman -Rns - + command sudo pacman --color auto -Qttdq | command sudo pacman --color auto -Rns - end + else if [ "$argv" = --upall ] + command sudo pacman -Fy + command sudo pacman -Sy + command sudo pacman -Su --noconfirm + command auracle update -C ~/.cache/pkgs/ + else if [ "$argv" = --pacsync ] + command pacsync + else + command sudo pacman --color auto $argv end end -# Update Repo -function update - command sudo pacman -Syu -end - -function aurupdate - command auracle update -C ~/.cache/pkgs/ -end - +# Update all repos function upall - command sudo pacman -Fy && sudo pacman -Syu --noconfirm && aurupdate + pacman --upall end #check aur and arch packages diff --git a/fish/.config/fish/aliases/99_repos.fish b/fish/.config/fish/functions/99_repos.fish similarity index 100% rename from fish/.config/fish/aliases/99_repos.fish rename to fish/.config/fish/functions/99_repos.fish diff --git a/fish/.config/fish/aliases/99_rsync.fish b/fish/.config/fish/functions/99_rsync.fish similarity index 100% rename from fish/.config/fish/aliases/99_rsync.fish rename to fish/.config/fish/functions/99_rsync.fish diff --git a/fish/.config/fish/aliases/99_ssh.fish b/fish/.config/fish/functions/99_ssh.fish similarity index 100% rename from fish/.config/fish/aliases/99_ssh.fish rename to fish/.config/fish/functions/99_ssh.fish diff --git a/fish/.config/fish/aliases/99_youtube.fish b/fish/.config/fish/functions/99_youtube.fish similarity index 100% rename from fish/.config/fish/aliases/99_youtube.fish rename to fish/.config/fish/functions/99_youtube.fish diff --git a/fish/.config/fish/plugins/__fish_command_not_found.fish b/fish/.config/fish/plugins/__fish_command_not_found.fish index e959b5db6..7de747e76 100644 --- a/fish/.config/fish/plugins/__fish_command_not_found.fish +++ b/fish/.config/fish/plugins/__fish_command_not_found.fish @@ -1,12 +1,27 @@ # If an old handler already exists, defer to that. -if type -q pacman - function fish_command_not_found - set -l paths $argv[1] - # If we've not been given an absolute path, try $PATH as the starting point, - # otherwise pacman will try *every path*, and e.g. bash-completion - # isn't helpful. - string match -q '/*' -- $argv[1]; or set paths $PATH/$argv[1] +function fish_command_not_found + set -l paths $argv[1] + set -l pkgs $(pkgfile -b -- "$argv[1]") + # If we've not been given an absolute path, try $PATH as the starting point, + # otherwise pacman will try *every path*, and e.g. bash-completion + # isn't helpful. + string match -q '/*' -- $argv[1]; or set paths $PATH/$argv[1] + + if set -q pkgs[1] + printf '%s may be found in the following packages:\n' "$argv[1]" # Pacman only prints the path, so we still need to print the error. pacman -F $paths + + while true + read -l -P "Would you like to install $pkgs? [Y/n] " confirm + + switch $confirm + case Y y + pacman -S $pkgs + return + case N n + return + end + end end end diff --git a/i3/.config/i3/config b/i3/.config/i3/config index ab9101deb..4a97a7779 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -20,7 +20,7 @@ set $WebBrowserB google-chrome-stable set $WebBrowserF firefox set $FileManager nemo set $MailReader thunderbird -set $TextEditor nvim-qt +set $TextEditor code set $Hypervisor virtualbox set $GitBrowser lazygit # }}} Variables diff --git a/i3/.config/i3/picom.conf b/i3/.config/i3/picom.conf index 51e74507a..6f6228b0d 100644 --- a/i3/.config/i3/picom.conf +++ b/i3/.config/i3/picom.conf @@ -136,7 +136,9 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ]; # opacity-rule = [] opacity-rule = [ "100:class_g = 'firefox' && focused", - "95:class_g = 'firefox' && !focused", + "99:class_g = 'firefox' && !focused", + "95:class_g = 'alacritty' && focused", + "80:class_g = 'alacritty' && !focused", "95:class_g = 'kitty' && focused", "80:class_g = 'kitty' && !focused", "95:class_g = 'Nemo' && focused", diff --git a/lazygit/.config/lazygit/state.yml b/lazygit/.config/lazygit/state.yml index 5af4950a5..130f4674a 100644 --- a/lazygit/.config/lazygit/state.yml +++ b/lazygit/.config/lazygit/state.yml @@ -1,5 +1,7 @@ lastupdatecheck: 0 recentrepos: +- /mnt/500GB/.gitlabs/LinkNSync/API +- /home/repo/Development/LinkNSync - /mnt/500GB/.gitlabs/DotFiles - /mnt/500GB/.gitlabs/Arch.TheRepo.Club startuppopupversion: 5 diff --git a/localbin/.local/bin/pacsync b/localbin/.local/bin/pacsync new file mode 100755 index 000000000..192cde875 --- /dev/null +++ b/localbin/.local/bin/pacsync @@ -0,0 +1,63 @@ +#!/usr/bin/bash + +# Dependencies: +# pacman, yay, fzf +function go_pacman() { + cmd=$(pacman -Slq | fzf --prompt 'pacman> ' \ + --header 'Install packages. CTRL+(Pacman/Aur/Installed/Quit)' \ + --bind 'ctrl-p:change-prompt(pacman> )+reload(pacman -Slq)' \ + --bind 'ctrl-a:change-prompt(yay> )+reload(yay -Slq)' \ + --bind 'ctrl-i:change-prompt(inst> )+reload(yay -Qq)' \ + --multi --height=80% --preview 'sleep 2; yay -Si {1}' \ + --preview-window right) #| xargs -ro yay -S + cmd=${cmd//$'\n'/ } # newline -> space + if [ -n "$cmd" ]; then + print -z yay -S "$cmd" + fi + exit +} + +function go_yay() { + cmd=$(yay -Slq | fzf --prompt 'yay> ' \ + --header 'Install packages. CTRL+(Pacman/Aur/Installed/Quit)' \ + --bind 'ctrl-p:change-prompt(pacman> )+reload(pacman -Slq)' \ + --bind 'ctrl-a:change-prompt(yay> )+reload(yay -Slq)' \ + --bind 'ctrl-i:change-prompt(inst> )+reload(yay -Qq)' \ + --multi --height=80% --preview 'sleep 2; yay -Si {1}' \ + --preview-window right) #| xargs -ro yay -S + cmd=${cmd//$'\n'/ } # newline -> space + if [ -n "$cmd" ]; then + print -z yay -S "$cmd" + fi + exit +} + +function go_installed() { + cmd=$(yay -Qq | fzf --prompt 'installed> ' \ + --header 'Install packages. CTRL+(Pacman/Aur/Installed/Quit)' \ + --bind 'ctrl-p:change-prompt(pacman> )+reload(pacman -Slq)' \ + --bind 'ctrl-a:change-prompt(yay> )+reload(yay -Slq)' \ + --bind 'ctrl-i:change-prompt(installed> )+reload(yay -Qq)' \ + --multi --height=80% --preview 'sleep 2; yay -Si {1}' \ + --preview-window right) #| xargs -ro yay -S + cmd=${cmd//$'\n'/ } # newline -> space + if [ -n "$cmd" ]; then + print -z yay -S "$cmd" + fi + exit +} + +case $1 in +*pacman) + go_pacman + ;; +*yay) + go_yay + ;; +*installed) + go_installed + ;; +*) + go_pacman + ;; +esac \ No newline at end of file diff --git a/nvim/.config/nvim/lua/user/bufferline.lua b/nvim/.config/nvim/lua/user/bufferline.lua index db23a96ba..1c006075f 100644 --- a/nvim/.config/nvim/lua/user/bufferline.lua +++ b/nvim/.config/nvim/lua/user/bufferline.lua @@ -13,7 +13,10 @@ bufferline.setup({ -- NOTE: this plugin is designed with this icon in mind, -- and so changing this is NOT recommended, this is intended -- as an escape hatch for people who cannot bear it for whatever reason - indicator_icon = "▎", + indicator = { + icon = "▎", + style = "icon", + }, buffer_close_icon = "", -- buffer_close_icon = '', modified_icon = "●", diff --git a/repomenu/.config/repomenu/repomenu-desktop.db b/repomenu/.config/repomenu/repomenu-desktop.db index 1d1fa82eb..a217b78a7 100644 Binary files a/repomenu/.config/repomenu/repomenu-desktop.db and b/repomenu/.config/repomenu/repomenu-desktop.db differ diff --git a/shellfetch/.config/shellfetch/config.conf b/shellfetch/.config/shellfetch/config.conf index e5a60b103..35f8de348 100644 --- a/shellfetch/.config/shellfetch/config.conf +++ b/shellfetch/.config/shellfetch/config.conf @@ -61,3 +61,4 @@ get_end get_nice_message get_blank get_colors +get_blank