diff --git a/config/HybridBar/scripts/change-active-workspace b/config/HybridBar/scripts/change-active-workspace old mode 100755 new mode 100644 diff --git a/config/HybridBar/scripts/get-active-workspace b/config/HybridBar/scripts/get-active-workspace old mode 100755 new mode 100644 diff --git a/config/HybridBar/scripts/get-window-title b/config/HybridBar/scripts/get-window-title old mode 100755 new mode 100644 diff --git a/config/HybridBar/scripts/get-workspaces b/config/HybridBar/scripts/get-workspaces old mode 100755 new mode 100644 diff --git a/config/btop/btop.conf b/config/btop/btop.conf index 6a728033..185efa15 100644 --- a/config/btop/btop.conf +++ b/config/btop/btop.conf @@ -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 diff --git a/config/dunst/dunstrc b/config/dunst/dunstrc index 9b13a851..a2e4e12a 100644 --- a/config/dunst/dunstrc +++ b/config/dunst/dunstrc @@ -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 diff --git a/config/eww/scripts/change-active-workspace b/config/eww/scripts/change-active-workspace old mode 100755 new mode 100644 diff --git a/config/eww/scripts/get-active-workspace b/config/eww/scripts/get-active-workspace old mode 100755 new mode 100644 diff --git a/config/eww/scripts/get-music b/config/eww/scripts/get-music old mode 100755 new mode 100644 diff --git a/config/eww/scripts/get-network b/config/eww/scripts/get-network old mode 100755 new mode 100644 diff --git a/config/eww/scripts/get-window-title b/config/eww/scripts/get-window-title old mode 100755 new mode 100644 diff --git a/config/eww/scripts/get-workspaces b/config/eww/scripts/get-workspaces old mode 100755 new mode 100644 diff --git a/config/eww/scripts/getvol b/config/eww/scripts/getvol old mode 100755 new mode 100644 diff --git a/config/eww/scripts/github b/config/eww/scripts/github old mode 100755 new mode 100644 diff --git a/config/flameshot.ini b/config/flameshot.ini index a24d626e..464875ee 100644 --- a/config/flameshot.ini +++ b/config/flameshot.ini @@ -1,6 +1,6 @@ [General] contrastOpacity=188 -drawColor=#ff0000 +drawColor=#ffffff drawThickness=3 filenamePattern=%Y-%m-%d_%H-%M-%S saveAfterCopy=true diff --git a/config/lf/cleaner b/config/lf/cleaner old mode 100755 new mode 100644 diff --git a/config/lf/lfrc b/config/lf/lfrc old mode 100755 new mode 100644 diff --git a/config/nsxiv/exec/image-info b/config/nsxiv/exec/image-info old mode 100755 new mode 100644 diff --git a/config/nsxiv/exec/key-handler b/config/nsxiv/exec/key-handler old mode 100755 new mode 100644 diff --git a/config/nsxiv/exec/nsxiv-url b/config/nsxiv/exec/nsxiv-url old mode 100755 new mode 100644 diff --git a/config/nsxiv/exec/thumb-info b/config/nsxiv/exec/thumb-info old mode 100755 new mode 100644 diff --git a/config/nsxiv/exec/win-title b/config/nsxiv/exec/win-title old mode 100755 new mode 100644 diff --git a/config/shell/env b/config/shell/env index b3085a13..1648843d 100644 --- a/config/shell/env +++ b/config/shell/env @@ -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" diff --git a/config/x11/opt-apps b/config/x11/opt-apps old mode 100755 new mode 100644 diff --git a/config/yazi/package.toml b/config/yazi/package.toml index bc0f9dac..117390ef 100644 --- a/config/yazi/package.toml +++ b/config/yazi/package.toml @@ -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] diff --git a/config/yazi/plugins/augment-command.yazi/main.lua b/config/yazi/plugins/augment-command.yazi/main.lua index 53c3d7c0..517c7245 100644 --- a/config/yazi/plugins/augment-command.yazi/main.lua +++ b/config/yazi/plugins/augment-command.yazi/main.lua @@ -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({}) diff --git a/config/yazi/plugins/git.yazi/main.lua b/config/yazi/plugins/git.yazi/main.lua index 64c3e8eb..d629d7d6 100644 --- a/config/yazi/plugins/git.yazi/main.lua +++ b/config/yazi/plugins/git.yazi/main.lua @@ -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,7 +159,10 @@ local function fetch(_, job) local repo = root(cwd) if not repo then remove(tostring(cwd)) - return 1 + if not ya.__250127 then -- TODO: remove this + return 1 + end + return true end local paths = {} @@ -175,8 +178,11 @@ local function fetch(_, job) :stdout(Command.PIPED) :output() if not output then - ya.err("Cannot spawn git command, error: " .. err) - return 0 + 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 = {}, {} @@ -202,7 +208,10 @@ local function fetch(_, job) end add(tostring(cwd), repo, changed) - return 3 + if not ya.__250127 then -- TODO: remove this + return 3 + end + return false end return { setup = setup, fetch = fetch } diff --git a/dotter b/dotter old mode 100755 new mode 100644 diff --git a/dotter.arm b/dotter.arm old mode 100755 new mode 100644 diff --git a/dotter.exe b/dotter.exe old mode 100755 new mode 100644 diff --git a/local/bin/tmux-sessionizer b/local/bin/tmux-sessionizer index 910ee5dd..f98be204 100755 --- a/local/bin/tmux-sessionizer +++ b/local/bin/tmux-sessionizer @@ -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