Skip to content

Commit 93011b4

Browse files
fix(scripts): change default firefox folder
Point to new XDG fodler location by default on install script.
1 parent 221caea commit 93011b4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: curl -s -o- https://raw.githubusercontent.com/rafaelmardojai/firefox-gnome-theme/master/scripts/install-by-curl.sh | bash
2727

2828
- name: Teardown 1
29-
run: rm -rf ls ~/.mozilla/firefox/
29+
run: rm -rf ls "${XDG_CONFIG_HOME:-$HOME/.config}/mozilla/firefox"
3030

3131
- name: Setup 2 - create a new Firefox profile
3232
run: firefox --headless --createprofile test
@@ -38,4 +38,4 @@ jobs:
3838
run: ./scripts/install.sh
3939

4040
- name: Teardown 2
41-
run: rm -rf ls ~/.mozilla/firefox/
41+
run: rm -rf ls "${XDG_CONFIG_HOME:-$HOME/.config}/mozilla/firefox"

scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
THEMEDIRECTORY=$(cd "$(dirname $0)" && cd .. && pwd)
4-
FIREFOXFOLDER=~/.mozilla/firefox
4+
FIREFOXFOLDER="${XDG_CONFIG_HOME:-$HOME/.config}/mozilla/firefox"
55
PROFILENAME=""
66

77

0 commit comments

Comments
 (0)