Some improvements

This commit is contained in:
2025-10-15 23:03:45 +02:00
parent 3c4424c556
commit c4df6d68a5
8 changed files with 34 additions and 15 deletions

View File

@@ -8,4 +8,4 @@ Be sure to only use the `stow.sh` wrapper scripts as this sets some defaults.
## Additional
Setup `rlone` host `Strato` for the automatic webdav mounting to work.
Setup `rlone` host `Strato` for the automatic webdav mounting to work. This is automatically done when using hyprland.

View File

@@ -5,7 +5,7 @@
color_theme = "Default"
#* If the theme set background should be shown, set to False if you want terminal background transparency.
theme_background = True
theme_background = False
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
truecolor = True
@@ -57,10 +57,10 @@ update_ms = 2000
#* 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 = "memory"
proc_sorting = "pid"
#* Reverse sorting order, True or False.
proc_reversed = False
proc_reversed = True
#* Show processes as a tree.
proc_tree = True

View File

@@ -0,0 +1,11 @@
function Linemode:line_info()
local time = math.floor(self._file.cha.mtime or 0)
if time == 0 then
time = ""
elseif os.date("%Y", time) == os.date("%Y") then
time = os.date("%b %d %H:%M", time)
else
time = os.date("%b %d %Y", time)
end
return time
end

View File

@@ -36,13 +36,12 @@ append_keymap = [
{ on = [ "g", "u" ], run = "cd ~/projects/university", desc = "Go to university folder" },
{ on = [ "g", "n" ], run = "cd ~/nixos", desc = "Go to nixos folder" },
{ on = [ "g", "p" ], run = "cd ~/projects", desc = "Go to projects folder" },
{ on = [ "g", "w" ], run = "cd ~/workspace_local", desc = "Go to workspace" },
{ on = [ "g", "w" ], run = "cd ~/workspace", desc = "Go to workspace" },
{ on = [ "g", "e" ], run = "cd ~/dotfiles", desc = "Go to dotfiles" },
{ on = [ "g", "r" ], run = "cd /", desc = "Go to root" },
{ on = [ "g", "b" ], run = "cd /shared", desc = "Go to hdd" },
{ on = [ "g", "l" ], run = "cd ~/.local", desc = "Go to Local" },
{ on = [ "g", "b" ], run = "cd ~/webdav/notes", desc = "Go to notes" },
{ on = [ "g", "o" ], run = "cd ~/Documents", desc = "Go to Docs" },
{ on = [ "g", "a" ], run = "cd ~/.cache", desc = "Go to Cache" },
{ on = [ "g", "t" ], run = "cd ~/.local/share/Trash", desc = "Go to Trash" },
{ on = [ "g", "U" ], run = "cd ~/projects/university/pdfs", desc = "Go to Uni PDF" },

View File

@@ -5,13 +5,13 @@ hash = "ee71543790f0ce3951161045a3787abd"
[[plugin.deps]]
use = "yazi-rs/plugins:chmod"
rev = "d1c8baa"
rev = "9a52857"
hash = "8ad3e90b079190b4905f24a44f4ca06b"
[[plugin.deps]]
use = "boydaihungst/restore"
rev = "dc40509"
hash = "e7e377f9b1bbaca4a2e5d9ec9709ac4d"
rev = "2161735"
hash = "901741afba1979739b4650324265162e"
[[plugin.deps]]
use = "pirafrank/what-size"

View File

@@ -1,11 +1,12 @@
[mgr]
sort_by = "extension"
sort_by = "mtime"
linemode = "line_info"
sort_reverse = true
sort_dir_first = true
show_hidden = false
mouse_events = []
[opener]
imagefeh = [
{ run = 'gtk4-launch fehcustom.desktop "$@"', orphan = true, for = "unix" },
]
play = [
{ run = 'mpv "$@"', orphan = true, for = "unix" },
]
@@ -23,7 +24,7 @@ prepend_rules = [
{ name = "*.html", use = [ "open" ] },
]
rules = [
{ mime = "image/*", use = "imagefeh" },
{ mime = "image/*", use = "open" },
{ mime = "text/*", use = "edit" },
{ mime = "video/*", use = "play" },
]

View File

@@ -29,6 +29,8 @@ exec-once = ~/projects/scripts/shell/rnote_mapper.sh
# Mount the webdav folder configured by rclone
exec-once = mkdir -p ~/webdav
exec-once = rclone mount Strato: ~/webdav
# Set the right workspace otherwise it is set to ten
exec-once = sleep 0.1 && hyprctl dispatch workspace 1
# Check the hostname and enable animations only on a specific device
@@ -204,6 +206,7 @@ windowrulev2 = size 900 500, title:(Open File)
# Settings applications will float
windowrulev2 = float, class:(qt6ct)
windowrulev2 = float, class:(nm-connection-editor)
windowrulev2 = float, class:(simple-scan)
windowrulev2 = float, title:(Kvantum Manager)
windowrulev2 = float, class:(qt5ct)
@@ -218,11 +221,14 @@ windowrulev2 = float, class:(io.github.Qalculate.qalculate-qt)
windowrulev2 = size 700 700, class:(Qalculate!)
windowrulev2 = float, title:(Select Document)
windowrulev2 = size 800 250, class:(org.pulseaudio.pavucontrol)
windowrulev2 = size 800 450, class:(org.pulseaudio.pavucontrol)
windowrulev2 = move 40 80, class:(org.pulseaudio.pavucontrol)
windowrulev2 = move 1300 80, class:(nm-connection-editor)
windowrulev2 = float, class:(org.pulseaudio.pavucontrol)
windowrulev2 = float, class:(cheese)
windowrulev2 = tile, class:(sioyek)
windowrulev2 = move 50 100, class:(xdragon)
windowrulev2 = pin, class:(xdragon)
windowrulev2 = pseudo, class:(xdragon)

View File

@@ -72,3 +72,5 @@ alias oiiiii="bash ~/management/office/sync.sh in"
alias ou="bash ~/management/office/sync.sh out"
alias aiiiii="bash ~/projects/scripts/sync_all.sh in"
alias au="bash ~/projects/scripts/sync_all.sh out"
alias ia="ip a"