mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
Update 2025-01-28
This commit is contained in:
parent
9743b5c953
commit
7344a9e77a
0
config/HybridBar/scripts/change-active-workspace
Executable file → Normal file
0
config/HybridBar/scripts/change-active-workspace
Executable file → Normal file
0
config/HybridBar/scripts/get-active-workspace
Executable file → Normal file
0
config/HybridBar/scripts/get-active-workspace
Executable file → Normal file
0
config/HybridBar/scripts/get-window-title
Executable file → Normal file
0
config/HybridBar/scripts/get-window-title
Executable file → Normal file
0
config/HybridBar/scripts/get-workspaces
Executable file → Normal file
0
config/HybridBar/scripts/get-workspaces
Executable file → Normal file
@ -57,7 +57,7 @@ update_ms = 500
|
||||
|
||||
#* 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
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
# width = 300
|
||||
|
||||
# The maximum height of a single notification, excluding the frame.
|
||||
height = 200
|
||||
height = (0, 200)
|
||||
|
||||
# Position the notification in the top right corner
|
||||
origin = top-right
|
||||
|
||||
0
config/eww/scripts/change-active-workspace
Executable file → Normal file
0
config/eww/scripts/change-active-workspace
Executable file → Normal file
0
config/eww/scripts/get-active-workspace
Executable file → Normal file
0
config/eww/scripts/get-active-workspace
Executable file → Normal file
0
config/eww/scripts/get-music
Executable file → Normal file
0
config/eww/scripts/get-music
Executable file → Normal file
0
config/eww/scripts/get-network
Executable file → Normal file
0
config/eww/scripts/get-network
Executable file → Normal file
0
config/eww/scripts/get-window-title
Executable file → Normal file
0
config/eww/scripts/get-window-title
Executable file → Normal file
0
config/eww/scripts/get-workspaces
Executable file → Normal file
0
config/eww/scripts/get-workspaces
Executable file → Normal file
0
config/eww/scripts/getvol
Executable file → Normal file
0
config/eww/scripts/getvol
Executable file → Normal file
0
config/eww/scripts/github
Executable file → Normal file
0
config/eww/scripts/github
Executable file → Normal file
@ -1,6 +1,6 @@
|
||||
[General]
|
||||
contrastOpacity=188
|
||||
drawColor=#ff0000
|
||||
drawColor=#ffffff
|
||||
drawThickness=3
|
||||
filenamePattern=%Y-%m-%d_%H-%M-%S
|
||||
saveAfterCopy=true
|
||||
|
||||
0
config/lf/cleaner
Executable file → Normal file
0
config/lf/cleaner
Executable file → Normal file
0
config/lf/lfrc
Executable file → Normal file
0
config/lf/lfrc
Executable file → Normal file
0
config/nsxiv/exec/image-info
Executable file → Normal file
0
config/nsxiv/exec/image-info
Executable file → Normal file
0
config/nsxiv/exec/key-handler
Executable file → Normal file
0
config/nsxiv/exec/key-handler
Executable file → Normal file
0
config/nsxiv/exec/nsxiv-url
Executable file → Normal file
0
config/nsxiv/exec/nsxiv-url
Executable file → Normal file
0
config/nsxiv/exec/thumb-info
Executable file → Normal file
0
config/nsxiv/exec/thumb-info
Executable file → Normal file
0
config/nsxiv/exec/win-title
Executable file → Normal file
0
config/nsxiv/exec/win-title
Executable file → Normal 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/rye/env"
|
||||
. "$XDG_CACHE_HOME/deno/.deno/env"
|
||||
. "/home/kristofers/.local/share/cargo/env"
|
||||
|
||||
0
config/x11/opt-apps
Executable file → Normal file
0
config/x11/opt-apps
Executable file → Normal file
@ -30,8 +30,8 @@ hash = "395940d2b22941e0acb1232579c9d4cf"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "hankertrix/augment-command"
|
||||
rev = "c0fd61f"
|
||||
hash = "3e56e8b9ee07aabc0d08743c05835929"
|
||||
rev = "e337feb"
|
||||
hash = "feeb35edcf1677c7bafac2bc573670bb"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "imsi32/yatline"
|
||||
@ -55,27 +55,27 @@ hash = "98e5f5af3efd3ba8bc2db0720187cc83"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "yazi-rs/plugins:chmod"
|
||||
rev = "6418698"
|
||||
rev = "f202fa8"
|
||||
hash = "4c7e8fd0266eedee7b619d966bd2d025"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "yazi-rs/plugins:full-border"
|
||||
rev = "6418698"
|
||||
rev = "f202fa8"
|
||||
hash = "882ed23839778f82dc137248979c8681"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "yazi-rs/plugins:git"
|
||||
rev = "6418698"
|
||||
hash = "e9cf1bfc03de7fee0f1d4260da0d1dfd"
|
||||
rev = "f202fa8"
|
||||
hash = "4d6a07559118975e2dee983d27474d70"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "yazi-rs/plugins:hide-preview"
|
||||
rev = "6418698"
|
||||
rev = "f202fa8"
|
||||
hash = "5be5885898ca9df783bdec0d402bf4b0"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "yazi-rs/plugins:max-preview"
|
||||
rev = "6418698"
|
||||
rev = "f202fa8"
|
||||
hash = "9bc26d10d2f6e2aa93b10905b1b76979"
|
||||
|
||||
[flavor]
|
||||
|
||||
@ -175,8 +175,8 @@ local INPUT_OPTIONS_TABLE = {
|
||||
-- The extractor names
|
||||
---@enum ExtractorName
|
||||
local ExtractorName = {
|
||||
SevenZip = "7z",
|
||||
Tar = "tar",
|
||||
SevenZip = "7-Zip",
|
||||
Tar = "Tar",
|
||||
}
|
||||
|
||||
-- The extract behaviour flags
|
||||
@ -270,7 +270,7 @@ function Extractor:extract(_)
|
||||
}
|
||||
end
|
||||
|
||||
-- The 7z extractor
|
||||
-- The 7-Zip extractor
|
||||
---@class SevenZip: Extractor
|
||||
---@field password string The password to the archive
|
||||
local SevenZip = Extractor:subclass({
|
||||
@ -286,7 +286,7 @@ local SevenZip = Extractor:subclass({
|
||||
password = "",
|
||||
})
|
||||
|
||||
-- The tar extractor
|
||||
-- The Tar extractor
|
||||
---@class Tar: Extractor
|
||||
local Tar = Extractor:subclass({
|
||||
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
|
||||
local DefaultExtractor = SevenZip:subclass({})
|
||||
|
||||
|
||||
@ -145,11 +145,11 @@ local function setup(st, opts)
|
||||
end
|
||||
|
||||
if not change or signs[change] == "" then
|
||||
return ui.Line("")
|
||||
return ""
|
||||
elseif self._file:is_hovered() then
|
||||
return ui.Line { ui.Span(" "), ui.Span(signs[change]) }
|
||||
return ui.Line { " ", signs[change] }
|
||||
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, opts.order)
|
||||
end
|
||||
@ -159,8 +159,11 @@ local function fetch(_, job)
|
||||
local repo = root(cwd)
|
||||
if not repo then
|
||||
remove(tostring(cwd))
|
||||
if not ya.__250127 then -- TODO: remove this
|
||||
return 1
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
local paths = {}
|
||||
for _, f in ipairs(job.files) do
|
||||
@ -175,9 +178,12 @@ local function fetch(_, job)
|
||||
:stdout(Command.PIPED)
|
||||
:output()
|
||||
if not output then
|
||||
if not ya.__250127 then -- TODO: remove this
|
||||
ya.err("Cannot spawn git command, error: " .. err)
|
||||
return 0
|
||||
end
|
||||
return true, Err("Cannot spawn `git` command, error: %s", err)
|
||||
end
|
||||
|
||||
local changed, ignored = {}, {}
|
||||
for line in output.stdout:gmatch("[^\r\n]+") do
|
||||
@ -202,7 +208,10 @@ local function fetch(_, job)
|
||||
end
|
||||
add(tostring(cwd), repo, changed)
|
||||
|
||||
if not ya.__250127 then -- TODO: remove this
|
||||
return 3
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
return { setup = setup, fetch = fetch }
|
||||
|
||||
0
dotter.arm
Executable file → Normal file
0
dotter.arm
Executable file → Normal file
0
dotter.exe
Executable file → Normal file
0
dotter.exe
Executable file → Normal file
@ -3,7 +3,7 @@
|
||||
if [[ $# -eq 1 ]]; then
|
||||
selected=$1
|
||||
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
|
||||
|
||||
if [[ -z $selected ]]; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user