diff options
| author | BossCode45 <human.cyborg42@gmail.com> | 2023-06-16 00:05:28 +1200 |
|---|---|---|
| committer | BossCode45 <human.cyborg42@gmail.com> | 2023-06-16 00:05:28 +1200 |
| commit | 5f54adae7bc4edaf2c18383efe13ded233255509 (patch) | |
| tree | da3736531e9be6ea57057f7178bfb2baf5a061f9 /makefile | |
| parent | 0b539b0b0278f2d7c2b7629e6d28d8463cba2688 (diff) | |
| download | YATwm-5f54adae7bc4edaf2c18383efe13ded233255509.tar.gz YATwm-5f54adae7bc4edaf2c18383efe13ded233255509.zip | |
feat: Uses a backup config file and respects XDG
Uses config files in the order of `$XDG_CONFIG_HOME/YATwm/config`,
`$HOME/.config/YATwm/config`, then `/etc/YATwm/config`
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -18,9 +18,9 @@ $(OBJS_DIR)/%.o : $(SOURCE_DIR)/%.cpp $(CXX) $(CXXFLAGS) -c $< -o $@ i: $(EXEC) - sudo install -D $(EXEC) $(INSTALL_DIR)usr/bin/$(EXEC) + sudo install -D -m 755 $(EXEC) $(INSTALL_DIR)usr/bin/$(EXEC) sudo install -D -m 644 yat.desktop $(INSTALL_DIR)usr/share/xsessions/yat.desktop - sudo install -D -m 644 config.toml $(INSTALL_DIR)etc/YATwm/config.toml + sudo install -D -m 644 config $(INSTALL_DIR)etc/YATwm/config install: i r: sudo rm $(INSTALL_DIR)usr/bin/$(EXEC) |
