fix sed in speedwm_run

This commit is contained in:
speedie 2022-10-25 11:44:12 +02:00
parent 9bb740e325
commit f7be7ed2c4
2 changed files with 3 additions and 6 deletions

View file

@ -189,12 +189,10 @@
- speedwm.stack.mastercount: 1 ! Number of master clients in the master stack to start with (0/1)
- speedwm.stack.snap: 20 ! Snap pixel (<char>)
!@
!! Status options
!@
!! Text to print when no status bar is running. Empty means nothing.
!! Text to print when no status bar is running. Empty means nothing.
- speedwm.status.defaultstatus:
!@
!! Status bar script to run
!! Status bar script to run
- speedwm.status.status: status
!@
- speedwm.status.statusallmons: 1 ! Display status text on all monitors (0/1)
@ -236,7 +234,6 @@
- speedwm.tiling.resizehints: 0 ! Enable resize hints (0/1)
!@
!! Shell to run commands with (<char>)
!@
- speedwm.run.shell: /bin/sh
!@
!! You have reached the bottom of the speedwm config file.

View file

@ -57,7 +57,7 @@ LOADCONFIG() {
if [ -e "$HOME/.config/speedwm-de/speedwmrc" ]; then
xrdb -merge -quiet $HOME/.config/speedwm-de/speedwmrc
else
sed "s| - ||g; s|!@|g" /usr/share/speedwm/example.Xresources > $HOME/.config/speedwm-de/speedwmrc && echo "Wrote example configuration file"
sed "s| - ||g; s|!@||g" /usr/share/speedwm/example.Xresources > $HOME/.config/speedwm-de/speedwmrc && echo "Wrote example configuration file"
fi
fi