Merge pull request 'fix: Reorder default PATH to prioritize /usr/local directories to solve problem with archlinux' (#814) from jlucaso/ly:fix-reorder-path into master

Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/814
Reviewed-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion 2025-08-01 23:51:18 +02:00
commit d36147a376
2 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,7 @@ numlock = false
# Default path
# If null, ly doesn't set a path
path = /sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
path = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# Command executed when pressing restart_key
restart_cmd = /sbin/shutdown -r now

View File

@ -56,7 +56,7 @@ margin_box_h: u8 = 2,
margin_box_v: u8 = 1,
min_refresh_delta: u16 = 5,
numlock: bool = false,
path: ?[:0]const u8 = "/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin",
path: ?[:0]const u8 = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
restart_cmd: []const u8 = "/sbin/shutdown -r now",
restart_key: []const u8 = "F2",
save: bool = true,