fix: dont hardcode file manager and make use of $TERM (#361)

* feat: make executables dynamic

* feat: make executables dynamic

* Update modules/menus/dashboard/stats/index.ts

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

* Update widget/settings/pages/config/general/index.ts

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

* Update options.ts

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

* Update modules/menus/dashboard/stats/index.ts

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

* fix: var to term

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
This commit is contained in:
Rubin Bhandari
2024-10-26 11:57:33 +05:45
committed by GitHub
parent 2d1e230405
commit 37ab13a829
2 changed files with 36 additions and 72 deletions

View File

@@ -1114,29 +1114,29 @@ const options = mkOptions(OPTIONS, {
left: {
directory1: {
label: opt('󰉍 Downloads'),
command: opt('bash -c "dolphin $HOME/Downloads/"'),
command: opt('bash -c "xdg-open $HOME/Downloads/"'),
},
directory2: {
label: opt('󰉏 Videos'),
command: opt('bash -c "dolphin $HOME/Videos/"'),
command: opt('bash -c "xdg-open $HOME/Videos/"'),
},
directory3: {
label: opt('󰚝 Projects'),
command: opt('bash -c "dolphin $HOME/Projects/"'),
command: opt('bash -c "xdg-open $HOME/Projects/"'),
},
},
right: {
directory1: {
label: opt('󱧶 Documents'),
command: opt('bash -c "dolphin $HOME/Documents/"'),
command: opt('bash -c "xdg-open $HOME/Documents/"'),
},
directory2: {
label: opt('󰉏 Pictures'),
command: opt('bash -c "dolphin $HOME/Pictures/"'),
command: opt('bash -c "xdg-open $HOME/Pictures/"'),
},
directory3: {
label: opt('󱂵 Home'),
command: opt('bash -c "dolphin $HOME/"'),
command: opt('bash -c "xdg-open $HOME/"'),
},
},
},
@@ -1160,8 +1160,7 @@ const options = mkOptions(OPTIONS, {
scalingPriority: opt<ScalingPriority>('gdk'),
terminal: opt('kitty'),
terminal: opt('$TERM'),
tear: opt(false),
wallpaper: {