1 diff --git a/config/bar.json b/config/bar.json
2 index 6c456e7..98527cb 100644
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"
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"
20 "exec": "systemctl reboot",
21 - "icon": "/usr/share/nwg-bar/images/system-reboot.svg"
22 + "icon": "@out@/share/nwg-bar/images/system-reboot.svg"
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"
31 \ No newline at end of file
32 diff --git a/tools.go b/tools.go
33 index f97751e..987163e 100644
36 @@ -45,10 +45,7 @@ func configDir() string {
39 func getDataHome() string {
40 - if os.Getenv("XDG_DATA_HOME") != "" {
41 - return os.Getenv("XDG_DATA_HOME")
43 - return "/usr/share/"
44 + return "@out@/share/"
47 func createDir(dir string) {