Fix resolving paths for .face.icon in dashboard and add home ('~') path support (#606)
* Fix resolving paths for .face.icon in dashboard and add home ('~') path support
* Fix ESLint issues
* Update src/lib/utils.ts
Co-authored-by: davfsa <davfsa@gmail.com>
* Update src/lib/utils.ts
* Rename `resolvePath` to `normalizePath`
* Rename missing reference
---------
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
This commit is contained in:
@@ -1202,7 +1202,7 @@ const options = mkOptions(CONFIG, {
|
||||
logout: opt('hyprctl dispatch exit'),
|
||||
shutdown: opt('systemctl poweroff'),
|
||||
avatar: {
|
||||
image: opt('$HOME/.face.icon'),
|
||||
image: opt('~/.face.icon'),
|
||||
name: opt<'system' | string>('system'),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user