Crylia / crylia-theme

A theme for AwesomeWM
516 stars 26 forks source link

script removes the directory after creating the backup #46

Closed Toni500github closed 1 year ago

Toni500github commented 1 year ago

i was testing the script to see if it works for creating backups and yes it does, but cp just overlaps and overwrites the directories with the files of this repo.

for example this is my current awesome config:

[~/git/crylia-theme]$ ls ~/.config/awesome
rc.lua idk/ test/

then i run the script and it copies the dir awesome to another called .awesome-backup/ for then copying the awesome config folders and files of this repo to ~/.config/awesome but then this is my content

[~/git/crylia-theme]$ ls ~/.config/awesome
idk/  test/  crylia_bar/  mappings/  rc.lua  src/

i still have my old folders and cp overwrited the rc.lua file

now it creates the backup, then rm -rf the directory for then copying the configs of this repo

Toni500github commented 1 year ago

btw, i'm having some sort of bug when i launch awesome: the volume it's always muted and i can't turn it on with keybinding. when i return to my dwm, i can't even do that there; i need to open a terminal and unmute it there. as i was looking at src/widgets/audio.lua i saw that it uses a script that's in src/scripts/vol.sh and it uses pactl. i tried running something like ./vol.sh volume or ./vol.sh mute and always returns

No valid command specified.
No valid command specified.

this is my pactl version

[~/.config/awesome]$ pactl --version 
pactl 13.99.1
Compiled with libpulse 13.99.0
Link eseguito con libpulse 13.99.0

EDIT: just migrated from pactl to pamixer both files

Crylia commented 1 year ago

Create an issue for that please, but thanks for the pr!