1diff --git a/config/bar.json b/config/bar.json
2index 6c456e7..98527cb 100644
3--- a/config/bar.json
4+++ b/config/bar.json
5@@ -2,21 +2,21 @@
6 {
7 "label": "Lock",
8 "exec": "swaylock -f -c 000000",
9- "icon": "/usr/share/nwg-bar/images/system-lock-screen.svg"
10+ "icon": "@out@/share/nwg-bar/images/system-lock-screen.svg"
11 },
12 {
13 "label": "Logout",
14 "exec": "swaymsg exit",
15- "icon": "/usr/share/nwg-bar/images/system-log-out.svg"
16+ "icon": "@out@/share/nwg-bar/images/system-log-out.svg"
17 },
18 {
19 "label": "Reboot",
20 "exec": "systemctl reboot",
21- "icon": "/usr/share/nwg-bar/images/system-reboot.svg"
22+ "icon": "@out@/share/nwg-bar/images/system-reboot.svg"
23 },
24 {
25 "label": "Shutdown",
26 "exec": "systemctl -i poweroff",
27- "icon": "/usr/share/nwg-bar/images/system-shutdown.svg"
28+ "icon": "@out@/share/nwg-bar/images/system-shutdown.svg"
29 }
30 ]
31\ No newline at end of file
32diff --git a/tools.go b/tools.go
33index f97751e..987163e 100644
34--- a/tools.go
35+++ b/tools.go
36@@ -45,10 +45,7 @@ func configDir() string {
37 }
38
39 func getDataHome() string {
40- if os.Getenv("XDG_DATA_HOME") != "" {
41- return os.Getenv("XDG_DATA_HOME")
42- }
43- return "/usr/share/"
44+ return "@out@/share/"
45 }
46
47 func createDir(dir string) {