Update 2025-08-11

This commit is contained in:
Kristofers Solo 2025-08-11 17:36:33 +03:00
parent 5326bd7e21
commit b152e7546b
Signed by: kristoferssolo
GPG Key ID: 8687F2D3EEE6F0ED
39 changed files with 1028 additions and 31 deletions

View File

@ -1,10 +0,0 @@
packages = [ "x11" ]
[variables]
dpi = "96"
font_size = "10"
terminal = "alacritty"
browser = "floorp"
[files]
"config/niri/config-desktop.kdl" = "~/.config/niri/config.kdl"

0
config/HybridBar/scripts/change-active-workspace Executable file → Normal file
View File

0
config/HybridBar/scripts/get-active-workspace Executable file → Normal file
View File

0
config/HybridBar/scripts/get-window-title Executable file → Normal file
View File

0
config/HybridBar/scripts/get-workspaces Executable file → Normal file
View File

View File

@ -57,7 +57,7 @@ update_ms = 500
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", #* 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. #* "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. #* Reverse sorting order, True or False.
proc_reversed = False proc_reversed = False

0
config/eww/scripts/change-active-workspace Executable file → Normal file
View File

0
config/eww/scripts/get-active-workspace Executable file → Normal file
View File

0
config/eww/scripts/get-window-title Executable file → Normal file
View File

0
config/eww/scripts/get-workspaces Executable file → Normal file
View File

0
config/eww/scripts/mem-ad Executable file → Normal file
View File

0
config/eww/scripts/memory Executable file → Normal file
View File

0
config/eww/scripts/music_info Executable file → Normal file
View File

0
config/eww/scripts/music_info.bak Executable file → Normal file
View File

0
config/eww/scripts/pop Executable file → Normal file
View File

0
config/eww/scripts/wifi Executable file → Normal file
View File

0
config/eww/scripts/workspace Executable file → Normal file
View File

0
config/git/check_email.sh Normal file → Executable file
View File

0
config/lf/cleaner Executable file → Normal file
View File

0
config/lf/lfrc Executable file → Normal file
View File

0
config/nsxiv/exec/image-info Executable file → Normal file
View File

0
config/nsxiv/exec/key-handler Executable file → Normal file
View File

0
config/nsxiv/exec/nsxiv-url Executable file → Normal file
View File

0
config/nsxiv/exec/thumb-info Executable file → Normal file
View File

0
config/nsxiv/exec/win-title Executable file → Normal file
View File

0
config/waybar/scripts/mediaplayer.py Normal file → Executable file
View File

2
config/x11/opt-apps Executable file → Normal file
View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
autostart="picom nextcloud transmission-daemon discord syncthing mullvad-vpn spotify-launcher kotatogram-desktop easyeffects" autostart="picom nextcloud transmission-daemon discord syncthing mullvad-vpn spotify-launcher kotatogram-desktop easyeffects floorp"
for program in $autostart; do for program in $autostart; do
pidof -sx "$program" || "$program" & pidof -sx "$program" || "$program" &

View File

View File

@ -30,32 +30,32 @@ hash = "62251f94eb67648d42cdfcfb8be0fad2"
[[plugin.deps]] [[plugin.deps]]
use = "yazi-rs/plugins:git" use = "yazi-rs/plugins:git"
rev = "de53d90" rev = "e95c7b3"
hash = "63b6c222bf2103b3023389dde5e2ecfe" hash = "63b6c222bf2103b3023389dde5e2ecfe"
[[plugin.deps]] [[plugin.deps]]
use = "yazi-rs/plugins:chmod" use = "yazi-rs/plugins:chmod"
rev = "de53d90" rev = "e95c7b3"
hash = "1adc12c2b2b025411ab61eb8f0879574" hash = "1adc12c2b2b025411ab61eb8f0879574"
[[plugin.deps]] [[plugin.deps]]
use = "yazi-rs/plugins:full-border" use = "yazi-rs/plugins:full-border"
rev = "de53d90" rev = "e95c7b3"
hash = "3996fc74044bc44144b323686f887e1" hash = "3996fc74044bc44144b323686f887e1"
[[plugin.deps]] [[plugin.deps]]
use = "yazi-rs/plugins:mount" use = "yazi-rs/plugins:mount"
rev = "de53d90" rev = "e95c7b3"
hash = "f10a14e823382d90fab5b3ee54cb38fe" hash = "e1de3054c0d1a2d8dc6f007eadc0fa31"
[[plugin.deps]] [[plugin.deps]]
use = "yazi-rs/plugins:smart-filter" use = "yazi-rs/plugins:smart-filter"
rev = "de53d90" rev = "e95c7b3"
hash = "e56b7abf3c06e8ce496eadcca168c093" hash = "e56b7abf3c06e8ce496eadcca168c093"
[[plugin.deps]] [[plugin.deps]]
use = "yazi-rs/plugins:diff" use = "yazi-rs/plugins:diff"
rev = "de53d90" rev = "e95c7b3"
hash = "47865a70cade14a0b9b6bc6a54f16bdb" hash = "47865a70cade14a0b9b6bc6a54f16bdb"
[[plugin.deps]] [[plugin.deps]]

View File

@ -4,8 +4,8 @@ A mount manager for Yazi, providing disk mount, unmount, and eject functionality
Supported platforms: Supported platforms:
- Linux with [`udisksctl`](https://github.com/storaged-project/udisks) and [`lsblk`](https://github.com/util-linux/util-linux) - Linux with [`udisksctl`](https://github.com/storaged-project/udisks), `lsblk` and `eject` both provided by [`util-linux`](https://github.com/util-linux/util-linux)
- macOS with `diskutil` - macOS with `diskutil`, which is pre-installed
https://github.com/user-attachments/assets/c6f780ab-458b-420f-85cf-2fc45fcfe3a2 https://github.com/user-attachments/assets/c6f780ab-458b-420f-85cf-2fc45fcfe3a2
@ -40,7 +40,7 @@ Available keybindings:
## TODO ## TODO
- Custom keybindings - Custom keybindings
- Windows support (I don't have an Windows machine for testing, PRs welcome!) - Windows support (I don't use Windows myself, PRs welcome!)
- Support mount, unmount, and eject the entire disk - Support mount, unmount, and eject the entire disk
## License ## License

View File

@ -224,6 +224,7 @@ function M.split(src)
{ "^/dev/nvme%d+n%d+", "p%d+$" }, -- /dev/nvme0n1p1 { "^/dev/nvme%d+n%d+", "p%d+$" }, -- /dev/nvme0n1p1
{ "^/dev/mmcblk%d+", "p%d+$" }, -- /dev/mmcblk0p1 { "^/dev/mmcblk%d+", "p%d+$" }, -- /dev/mmcblk0p1
{ "^/dev/disk%d+", ".+$" }, -- /dev/disk1s1 { "^/dev/disk%d+", ".+$" }, -- /dev/disk1s1
{ "^/dev/sr%d+", ".+$" }, -- /dev/sr0
} }
for _, p in ipairs(pats) do for _, p in ipairs(pats) do
local main = src:match(p[1]) local main = src:match(p[1])
@ -274,7 +275,10 @@ function M.operate(type)
output, err = Command("diskutil"):arg({ type, active.src }):output() output, err = Command("diskutil"):arg({ type, active.src }):output()
end end
if ya.target_os() == "linux" then if ya.target_os() == "linux" then
if type == "eject" then if type == "eject" and active.src:match("^/dev/sr%d+") then
Command("udisksctl"):arg({ "unmount", "-b", active.src }):status()
output, err = Command("eject"):arg({ "--traytoggle", active.src }):output()
elseif type == "eject" then
Command("udisksctl"):arg({ "unmount", "-b", active.src }):status() Command("udisksctl"):arg({ "unmount", "-b", active.src }):status()
output, err = Command("udisksctl"):arg({ "power-off", "-b", active.src }):output() output, err = Command("udisksctl"):arg({ "power-off", "-b", active.src }):output()
else else

View File

@ -1,10 +1,13 @@
#!/bin/zsh #!/bin/zsh
# Import and execute startup file # Import and execute startup file
[ -f "$XDG_CONFIG_HOME/zsh/startup" ] && source "$XDG_CONFIG_HOME/zsh/startup" [ -f "$XDG_CONFIG_HOME/zsh/startup" ] && source "$XDG_CONFIG_HOME/zsh/startup"
fpath=("$XDG_CONFIG_HOME/zsh/zfunc/" $fpath) fpath=("$XDG_CONFIG_HOME/zsh/completions/" $fpath)
autoload -U compinit && compinit
# Add completions to search path # Add completions to search path
if [[ ":$FPATH:" != *":$XDG_CONFIG_HOME/zsh/completions:"* ]]; then export FPATH="$XDG_CONFIG_HOME/zsh/completions:$FPATH"; fi if [[ ":$FPATH:" != *":$XDG_CONFIG_HOME/zsh/completions:"* ]]; then
export FPATH="$XDG_CONFIG_HOME/zsh/completions:$FPATH"
fi
# Options # Options
setopt appendhistory # Immediately append history instead of overwriting setopt appendhistory # Immediately append history instead of overwriting
@ -167,11 +170,7 @@ bindkey -s '^n' '^uv .\n'
bindkey '^F' fzf_sesh_connect_widget bindkey '^F' fzf_sesh_connect_widget
eval "$(starship init zsh)" eval "$(starship init zsh)"
eval "$(fzf --zsh)"
eval "$(uv generate-shell-completion zsh)"
eval "$(uvx --generate-shell-completion zsh)"
eval "$(zoxide init zsh)" eval "$(zoxide init zsh)"
eval "$(fastanime completions)"
[[ -r ~/.local/share/zsh/plugins/znap/znap.zsh ]] || [[ -r ~/.local/share/zsh/plugins/znap/znap.zsh ]] ||
git clone --depth 1 -- \ git clone --depth 1 -- \
@ -189,6 +188,8 @@ autoload -U compinit && compinit
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath' zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath'
[ -f "$XDG_CONFIG_HOME/zsh/zoxide" ] && source "$XDG_CONFIG_HOME/zsh/zoxide" [ -f "$XDG_CONFIG_HOME/zsh/zoxide" ] && source "$XDG_CONFIG_HOME/zsh/zoxide"
if [[ ":$FPATH:" != *":$XDG_CONFIG_HOME/zsh/completions:"* ]]; then export FPATH="$XDG_CONFIG_HOME/zsh/completions:$FPATH"; fi
. "$HOME/.local/share/../bin/env" export PATH="$BUN_INSTALL/bin:$PATH"
# bun completions
[ -s "/home/kristofers/.bun/_bun" ] && source "/home/kristofers/.bun/_bun"

1002
config/zsh/completions/_bun Normal file

File diff suppressed because it is too large Load Diff

0
dotter Executable file → Normal file
View File

0
dotter.arm Executable file → Normal file
View File

0
dotter.exe Executable file → Normal file
View File

0
local/bin/ani-skip.bak Normal file → Executable file
View File

0
local/bin/get-spotify-id Normal file → Executable file
View File

0
local/share/fonts/jetbrainsmono/AUTHORS.txt Normal file → Executable file
View File