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

View File

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