mirror of
https://github.com/Ascyii/dotfiles.git
synced 2026-01-01 06:54:24 -05:00
Some improvements
This commit is contained in:
@@ -8,4 +8,4 @@ Be sure to only use the `stow.sh` wrapper scripts as this sets some defaults.
|
|||||||
|
|
||||||
## Additional
|
## 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.
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
color_theme = "Default"
|
color_theme = "Default"
|
||||||
|
|
||||||
#* If the theme set background should be shown, set to False if you want terminal background transparency.
|
#* 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.
|
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
|
||||||
truecolor = True
|
truecolor = True
|
||||||
@@ -57,10 +57,10 @@ update_ms = 2000
|
|||||||
|
|
||||||
#* 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 = "memory"
|
proc_sorting = "pid"
|
||||||
|
|
||||||
#* Reverse sorting order, True or False.
|
#* Reverse sorting order, True or False.
|
||||||
proc_reversed = False
|
proc_reversed = True
|
||||||
|
|
||||||
#* Show processes as a tree.
|
#* Show processes as a tree.
|
||||||
proc_tree = True
|
proc_tree = True
|
||||||
|
|||||||
11
cli/dot-config/yazi/init.lua
Normal file
11
cli/dot-config/yazi/init.lua
Normal 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
|
||||||
@@ -36,13 +36,12 @@ append_keymap = [
|
|||||||
{ on = [ "g", "u" ], run = "cd ~/projects/university", desc = "Go to university folder" },
|
{ 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", "n" ], run = "cd ~/nixos", desc = "Go to nixos folder" },
|
||||||
{ on = [ "g", "p" ], run = "cd ~/projects", desc = "Go to projects 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", "e" ], run = "cd ~/dotfiles", desc = "Go to dotfiles" },
|
||||||
{ on = [ "g", "r" ], run = "cd /", desc = "Go to root" },
|
{ on = [ "g", "r" ], run = "cd /", desc = "Go to root" },
|
||||||
{ on = [ "g", "b" ], run = "cd /shared", desc = "Go to hdd" },
|
{ on = [ "g", "b" ], run = "cd /shared", desc = "Go to hdd" },
|
||||||
{ on = [ "g", "l" ], run = "cd ~/.local", desc = "Go to Local" },
|
{ on = [ "g", "l" ], run = "cd ~/.local", desc = "Go to Local" },
|
||||||
{ on = [ "g", "b" ], run = "cd ~/webdav/notes", desc = "Go to notes" },
|
{ 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", "a" ], run = "cd ~/.cache", desc = "Go to Cache" },
|
||||||
{ on = [ "g", "t" ], run = "cd ~/.local/share/Trash", desc = "Go to Trash" },
|
{ 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" },
|
{ on = [ "g", "U" ], run = "cd ~/projects/university/pdfs", desc = "Go to Uni PDF" },
|
||||||
|
|||||||
@@ -5,13 +5,13 @@ hash = "ee71543790f0ce3951161045a3787abd"
|
|||||||
|
|
||||||
[[plugin.deps]]
|
[[plugin.deps]]
|
||||||
use = "yazi-rs/plugins:chmod"
|
use = "yazi-rs/plugins:chmod"
|
||||||
rev = "d1c8baa"
|
rev = "9a52857"
|
||||||
hash = "8ad3e90b079190b4905f24a44f4ca06b"
|
hash = "8ad3e90b079190b4905f24a44f4ca06b"
|
||||||
|
|
||||||
[[plugin.deps]]
|
[[plugin.deps]]
|
||||||
use = "boydaihungst/restore"
|
use = "boydaihungst/restore"
|
||||||
rev = "dc40509"
|
rev = "2161735"
|
||||||
hash = "e7e377f9b1bbaca4a2e5d9ec9709ac4d"
|
hash = "901741afba1979739b4650324265162e"
|
||||||
|
|
||||||
[[plugin.deps]]
|
[[plugin.deps]]
|
||||||
use = "pirafrank/what-size"
|
use = "pirafrank/what-size"
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
[mgr]
|
[mgr]
|
||||||
sort_by = "extension"
|
sort_by = "mtime"
|
||||||
|
linemode = "line_info"
|
||||||
|
sort_reverse = true
|
||||||
|
sort_dir_first = true
|
||||||
show_hidden = false
|
show_hidden = false
|
||||||
|
mouse_events = []
|
||||||
|
|
||||||
[opener]
|
[opener]
|
||||||
imagefeh = [
|
|
||||||
{ run = 'gtk4-launch fehcustom.desktop "$@"', orphan = true, for = "unix" },
|
|
||||||
]
|
|
||||||
play = [
|
play = [
|
||||||
{ run = 'mpv "$@"', orphan = true, for = "unix" },
|
{ run = 'mpv "$@"', orphan = true, for = "unix" },
|
||||||
]
|
]
|
||||||
@@ -23,7 +24,7 @@ prepend_rules = [
|
|||||||
{ name = "*.html", use = [ "open" ] },
|
{ name = "*.html", use = [ "open" ] },
|
||||||
]
|
]
|
||||||
rules = [
|
rules = [
|
||||||
{ mime = "image/*", use = "imagefeh" },
|
{ mime = "image/*", use = "open" },
|
||||||
{ mime = "text/*", use = "edit" },
|
{ mime = "text/*", use = "edit" },
|
||||||
{ mime = "video/*", use = "play" },
|
{ mime = "video/*", use = "play" },
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ exec-once = ~/projects/scripts/shell/rnote_mapper.sh
|
|||||||
# Mount the webdav folder configured by rclone
|
# Mount the webdav folder configured by rclone
|
||||||
exec-once = mkdir -p ~/webdav
|
exec-once = mkdir -p ~/webdav
|
||||||
exec-once = rclone mount Strato: ~/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
|
exec-once = sleep 0.1 && hyprctl dispatch workspace 1
|
||||||
|
|
||||||
# Check the hostname and enable animations only on a specific device
|
# 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
|
# Settings applications will float
|
||||||
windowrulev2 = float, class:(qt6ct)
|
windowrulev2 = float, class:(qt6ct)
|
||||||
|
windowrulev2 = float, class:(nm-connection-editor)
|
||||||
windowrulev2 = float, class:(simple-scan)
|
windowrulev2 = float, class:(simple-scan)
|
||||||
windowrulev2 = float, title:(Kvantum Manager)
|
windowrulev2 = float, title:(Kvantum Manager)
|
||||||
windowrulev2 = float, class:(qt5ct)
|
windowrulev2 = float, class:(qt5ct)
|
||||||
@@ -218,11 +221,14 @@ windowrulev2 = float, class:(io.github.Qalculate.qalculate-qt)
|
|||||||
windowrulev2 = size 700 700, class:(Qalculate!)
|
windowrulev2 = size 700 700, class:(Qalculate!)
|
||||||
windowrulev2 = float, title:(Select Document)
|
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 40 80, class:(org.pulseaudio.pavucontrol)
|
||||||
|
windowrulev2 = move 1300 80, class:(nm-connection-editor)
|
||||||
windowrulev2 = float, class:(org.pulseaudio.pavucontrol)
|
windowrulev2 = float, class:(org.pulseaudio.pavucontrol)
|
||||||
windowrulev2 = float, class:(cheese)
|
windowrulev2 = float, class:(cheese)
|
||||||
|
|
||||||
|
windowrulev2 = tile, class:(sioyek)
|
||||||
|
|
||||||
windowrulev2 = move 50 100, class:(xdragon)
|
windowrulev2 = move 50 100, class:(xdragon)
|
||||||
windowrulev2 = pin, class:(xdragon)
|
windowrulev2 = pin, class:(xdragon)
|
||||||
windowrulev2 = pseudo, class:(xdragon)
|
windowrulev2 = pseudo, class:(xdragon)
|
||||||
|
|||||||
@@ -72,3 +72,5 @@ alias oiiiii="bash ~/management/office/sync.sh in"
|
|||||||
alias ou="bash ~/management/office/sync.sh out"
|
alias ou="bash ~/management/office/sync.sh out"
|
||||||
alias aiiiii="bash ~/projects/scripts/sync_all.sh in"
|
alias aiiiii="bash ~/projects/scripts/sync_all.sh in"
|
||||||
alias au="bash ~/projects/scripts/sync_all.sh out"
|
alias au="bash ~/projects/scripts/sync_all.sh out"
|
||||||
|
|
||||||
|
alias ia="ip a"
|
||||||
|
|||||||
Reference in New Issue
Block a user