Add settings for yazi and fix Hyprland

This commit is contained in:
Archie Fox
2025-06-09 00:05:45 +03:00
parent 9a554d15ec
commit 251546f621
5 changed files with 21 additions and 9 deletions

View File

@@ -109,7 +109,7 @@ decoration {
shadow {
enabled = true
range = 10
range = 30
render_power = 3
color = rgba(1a1a1aee)
ignore_window = true

View File

@@ -21,19 +21,19 @@ input-field {
rounding = 15
placeholder_text = <b>Введите пароль</b>
position = 0, -200
position = 0, -300
halign = center
valign = center
}
image {
monitor =
path = /home/fox/Pictures/archlogo.png
size = 300
path = /home/fox/Pictures/arch-logo_380.png
size = 500
rounding = 0 # no rounding
border_size = 0
position = 0, 500
position = 0, 400
halign = center
valign = center
}
@@ -45,7 +45,7 @@ label {
font_size = 70
font_family = Noto Sans
position = 0, 200
position = 0, 100
halign = center
valign = center
}
@@ -57,7 +57,7 @@ label {
font_size = 90
font_family = Noto Sans
position = 0, 0
position = 0, -100
halign = center
valign = center
}

View File

@@ -29,7 +29,12 @@ prepend_keymap = [
[tasks]
keymap = [
{ on = "<A-p>", run = "show" },
{ on = "w", run = "show", desc = "Show Task Manager" },
{ on = "W", run = "close", desc = "Close Task Manager" },
{ on = ["c", "w"], run = "cancel", desc = "Cancel Task" },
{ on = ["i", "w"], run = "inspect", desc = "Inspect Tasks" },
{ on = ["<Up>"], run = "arrow prev", desc = "Task previous" },
{ on = ["<Down>"], run = "arrow next", desc = "Task next" },
]
[[manager.prepend_keymap]]

View File

@@ -38,6 +38,9 @@ open = [
play = [
{ run = 'mpv --force-window "$@"', orphan = true, for = "unix" },
]
playlist = [
{ run = 'mpv --force-window --playlist="$@"', orphan = true, for = "unix" },
]
reveal = [
{ run = 'xdg-open "$(dirname "$1")"', desc = "Reveal", for = "linux" },
]
@@ -49,7 +52,7 @@ extract = [
rules = [
# Folder
{ name = "*/", use = [ "edit", "open", "reveal" ] },
{ mime = "image/*", use = "imgview" },
{ mime = "image/*", use = [ "imgview", "gimp" ] },
{ mime = "text/*", use = "edit" },
{ mime = "{audio,video}/*", use = [ "play", "reveal" ] },
# { mime = "application/json", use = "edit" },
@@ -60,6 +63,7 @@ rules = [
{ name = "*.xls", use = "docedit" },
{ name = "*.xlsx", use = "docedit" },
{ name = "*.xcf", use = "gimp" },
{ name = "*.pls", use = "playlist" },
# Multiple openers for a single rule
{ name = "*.html", use = [ "open", "edit" ] },

3
.gitignore vendored
View File

@@ -83,3 +83,6 @@ bin/daily_backup.sh.orig
.config/qtile
.config/qtile
.bash_history
.nix-defexpr
.config/GIMP/3.0
test.txt