Fixed `awiki` script

This commit is contained in:
Lucien Cartier-Tilet 2020-07-11 18:15:46 +02:00
parent 75de6a568b
commit d1ce2653e9
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@
- [[#emoji-picker][Emoji picker]]
- [[#lock][Lock]]
- [[#mp42webm][mp42webm]]
- [[#pape-update][pape-update]]
- [[#pape-restore][pape-restore]]
- [[#pape-update][pape-update]]
- [[#pinfo][Pinfo]]
- [[#polybar-launch][Polybar-launch]]
- [[#rofi-mount][Rofi-mount]]
@ -175,7 +175,7 @@
set WLOCATION /usr/share/doc/arch-wiki/html/en/
set WPAGE (/bin/ls $WLOCATION | \
sed 's/_/ /g' | sed 's/\.html$//' | sed 's/.*\/\(.*\)/\1/' | \
rofi -dmenu -p "Arch Wiki" -i)
rofi -dmenu -p "Arch Wiki" -i | sed 's/ +/_/g')
#+END_SRC
Now, all I need to do is to send this list into rofi and tell it to open the