Update 2025-01-28

This commit is contained in:
Kristofers Solo 2025-01-28 19:27:12 +02:00
parent 9743b5c953
commit 7344a9e77a
31 changed files with 34 additions and 24 deletions

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

View File

@ -27,7 +27,7 @@
# width = 300 # width = 300
# The maximum height of a single notification, excluding the frame. # The maximum height of a single notification, excluding the frame.
height = 200 height = (0, 200)
# Position the notification in the top right corner # Position the notification in the top right corner
origin = top-right origin = top-right

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-music Executable file → Normal file
View File

0
config/eww/scripts/get-network 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/getvol Executable file → Normal file
View File

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

View File

@ -1,6 +1,6 @@
[General] [General]
contrastOpacity=188 contrastOpacity=188
drawColor=#ff0000 drawColor=#ffffff
drawThickness=3 drawThickness=3
filenamePattern=%Y-%m-%d_%H-%M-%S filenamePattern=%Y-%m-%d_%H-%M-%S
saveAfterCopy=true saveAfterCopy=true

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

View File

@ -114,3 +114,4 @@ export _JAVA_AWT_WM_NONREPARENTING=1 # Fix for Java applications in dwm
. "$XDG_DATA_HOME/cargo/env" . "$XDG_DATA_HOME/cargo/env"
. "$XDG_DATA_HOME/rye/env" . "$XDG_DATA_HOME/rye/env"
. "$XDG_CACHE_HOME/deno/.deno/env" . "$XDG_CACHE_HOME/deno/.deno/env"
. "/home/kristofers/.local/share/cargo/env"

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

View File

@ -30,8 +30,8 @@ hash = "395940d2b22941e0acb1232579c9d4cf"
[[plugin.deps]] [[plugin.deps]]
use = "hankertrix/augment-command" use = "hankertrix/augment-command"
rev = "c0fd61f" rev = "e337feb"
hash = "3e56e8b9ee07aabc0d08743c05835929" hash = "feeb35edcf1677c7bafac2bc573670bb"
[[plugin.deps]] [[plugin.deps]]
use = "imsi32/yatline" use = "imsi32/yatline"
@ -55,27 +55,27 @@ hash = "98e5f5af3efd3ba8bc2db0720187cc83"
[[plugin.deps]] [[plugin.deps]]
use = "yazi-rs/plugins:chmod" use = "yazi-rs/plugins:chmod"
rev = "6418698" rev = "f202fa8"
hash = "4c7e8fd0266eedee7b619d966bd2d025" hash = "4c7e8fd0266eedee7b619d966bd2d025"
[[plugin.deps]] [[plugin.deps]]
use = "yazi-rs/plugins:full-border" use = "yazi-rs/plugins:full-border"
rev = "6418698" rev = "f202fa8"
hash = "882ed23839778f82dc137248979c8681" hash = "882ed23839778f82dc137248979c8681"
[[plugin.deps]] [[plugin.deps]]
use = "yazi-rs/plugins:git" use = "yazi-rs/plugins:git"
rev = "6418698" rev = "f202fa8"
hash = "e9cf1bfc03de7fee0f1d4260da0d1dfd" hash = "4d6a07559118975e2dee983d27474d70"
[[plugin.deps]] [[plugin.deps]]
use = "yazi-rs/plugins:hide-preview" use = "yazi-rs/plugins:hide-preview"
rev = "6418698" rev = "f202fa8"
hash = "5be5885898ca9df783bdec0d402bf4b0" hash = "5be5885898ca9df783bdec0d402bf4b0"
[[plugin.deps]] [[plugin.deps]]
use = "yazi-rs/plugins:max-preview" use = "yazi-rs/plugins:max-preview"
rev = "6418698" rev = "f202fa8"
hash = "9bc26d10d2f6e2aa93b10905b1b76979" hash = "9bc26d10d2f6e2aa93b10905b1b76979"
[flavor] [flavor]

View File

@ -175,8 +175,8 @@ local INPUT_OPTIONS_TABLE = {
-- The extractor names -- The extractor names
---@enum ExtractorName ---@enum ExtractorName
local ExtractorName = { local ExtractorName = {
SevenZip = "7z", SevenZip = "7-Zip",
Tar = "tar", Tar = "Tar",
} }
-- The extract behaviour flags -- The extract behaviour flags
@ -270,7 +270,7 @@ function Extractor:extract(_)
} }
end end
-- The 7z extractor -- The 7-Zip extractor
---@class SevenZip: Extractor ---@class SevenZip: Extractor
---@field password string The password to the archive ---@field password string The password to the archive
local SevenZip = Extractor:subclass({ local SevenZip = Extractor:subclass({
@ -286,7 +286,7 @@ local SevenZip = Extractor:subclass({
password = "", password = "",
}) })
-- The tar extractor -- The Tar extractor
---@class Tar: Extractor ---@class Tar: Extractor
local Tar = Extractor:subclass({ local Tar = Extractor:subclass({
name = ExtractorName.Tar, name = ExtractorName.Tar,
@ -303,7 +303,7 @@ local Tar = Extractor:subclass({
}, },
}) })
-- The default extractor, which is set to 7zip -- The default extractor, which is set to 7-Zip
---@class DefaultExtractor: SevenZip ---@class DefaultExtractor: SevenZip
local DefaultExtractor = SevenZip:subclass({}) local DefaultExtractor = SevenZip:subclass({})

View File

@ -145,11 +145,11 @@ local function setup(st, opts)
end end
if not change or signs[change] == "" then if not change or signs[change] == "" then
return ui.Line("") return ""
elseif self._file:is_hovered() then elseif self._file:is_hovered() then
return ui.Line { ui.Span(" "), ui.Span(signs[change]) } return ui.Line { " ", signs[change] }
else else
return ui.Line { ui.Span(" "), ui.Span(signs[change]):style(styles[change]) } return ui.Line { " ", ui.Span(signs[change]):style(styles[change]) }
end end
end, opts.order) end, opts.order)
end end
@ -159,7 +159,10 @@ local function fetch(_, job)
local repo = root(cwd) local repo = root(cwd)
if not repo then if not repo then
remove(tostring(cwd)) remove(tostring(cwd))
return 1 if not ya.__250127 then -- TODO: remove this
return 1
end
return true
end end
local paths = {} local paths = {}
@ -175,8 +178,11 @@ local function fetch(_, job)
:stdout(Command.PIPED) :stdout(Command.PIPED)
:output() :output()
if not output then if not output then
ya.err("Cannot spawn git command, error: " .. err) if not ya.__250127 then -- TODO: remove this
return 0 ya.err("Cannot spawn git command, error: " .. err)
return 0
end
return true, Err("Cannot spawn `git` command, error: %s", err)
end end
local changed, ignored = {}, {} local changed, ignored = {}, {}
@ -202,7 +208,10 @@ local function fetch(_, job)
end end
add(tostring(cwd), repo, changed) add(tostring(cwd), repo, changed)
return 3 if not ya.__250127 then -- TODO: remove this
return 3
end
return false
end end
return { setup = setup, fetch = fetch } return { setup = setup, fetch = fetch }

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

View File

@ -3,7 +3,7 @@
if [[ $# -eq 1 ]]; then if [[ $# -eq 1 ]]; then
selected=$1 selected=$1
else else
selected=$(fd --min-depth 1 --max-depth 1 --type d . ~/repos/Rust/ ~/repos/examples/ ~/repos/ ~/neorg/Work/ ~/Nextcloud/repos/ ~/Nextcloud/Documents/LaTeX/ ~/Nextcloud/Documents/Typst/ ~/Nextcloud/repos/university/** ~/Nextcloud/repos/university/**/**/ ~/repos/yoda-bot/ ~/repos/Codnity/ ~/repos/Codnity/emisela/ ~/repos/Codnity/dio/ ~/repos/Codnity/zaao/ | sk --height 16) selected=$(fd --min-depth 1 --max-depth 1 --type d . ~/repos/Rust/ ~/repos/examples/ ~/repos/ ~/neorg/Work/ ~/Nextcloud/repos/ ~/Nextcloud/Documents/LaTeX/ ~/Nextcloud/Documents/Typst/ ~/Nextcloud/repos/university/** ~/Nextcloud/repos/university/**/**/ ~/repos/yoda-bot/ ~/repos/Codnity/ ~/repos/Codnity/emisela/ ~/repos/Codnity/dio/ ~/repos/Codnity/zaao/ ~/repos/Codnity/talentflow/ | sk --height 16)
fi fi
if [[ -z $selected ]]; then if [[ -z $selected ]]; then