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

@ -188,8 +188,6 @@
- speedwm.stack.i3mcount: 0 ! Enable i3 like nmaster/mastercount (0/1) - speedwm.stack.i3mcount: 0 ! Enable i3 like nmaster/mastercount (0/1)
- speedwm.stack.mastercount: 1 ! Number of master clients in the master stack to start with (0/1) - speedwm.stack.mastercount: 1 ! Number of master clients in the master stack to start with (0/1)
- speedwm.stack.snap: 20 ! Snap pixel (<char>) - 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: - speedwm.status.defaultstatus:
@ -236,7 +234,6 @@
- speedwm.tiling.resizehints: 0 ! Enable resize hints (0/1) - speedwm.tiling.resizehints: 0 ! Enable resize hints (0/1)
!@ !@
!! Shell to run commands with (<char>) !! Shell to run commands with (<char>)
!@
- speedwm.run.shell: /bin/sh - speedwm.run.shell: /bin/sh
!@ !@
!! You have reached the bottom of the speedwm config file. !! 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 if [ -e "$HOME/.config/speedwm-de/speedwmrc" ]; then
xrdb -merge -quiet $HOME/.config/speedwm-de/speedwmrc xrdb -merge -quiet $HOME/.config/speedwm-de/speedwmrc
else 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
fi fi