update a few more things
This commit is contained in:
parent
4bef4bf538
commit
864e154084
21
Makefile
21
Makefile
|
@ -181,7 +181,7 @@ page_release:
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
chmod +x scripts/speedwm-mkpage
|
chmod +x scripts/speedwm-mkpage
|
||||||
./scripts/speedwm-mkpage -ulspeedwm
|
./scripts/speedwm-mkpage --release
|
||||||
@echo "Uploaded everything."
|
@echo "Uploaded everything."
|
||||||
|
|
||||||
page:
|
page:
|
||||||
|
@ -190,12 +190,12 @@ page:
|
||||||
page_html:
|
page_html:
|
||||||
chmod +x scripts/speedwm-mkpage
|
chmod +x scripts/speedwm-mkpage
|
||||||
chmod +x scripts/speedwm-help
|
chmod +x scripts/speedwm-help
|
||||||
./scripts/speedwm-mkpage -mkpage
|
./scripts/speedwm-mkpage --make-page
|
||||||
|
|
||||||
page_php:
|
page_php:
|
||||||
chmod +x scripts/speedwm-mkpage
|
chmod +x scripts/speedwm-mkpage
|
||||||
chmod +x scripts/speedwm-help
|
chmod +x scripts/speedwm-help
|
||||||
./scripts/speedwm-mkpage -mkpage
|
./scripts/speedwm-mkpage --make-page
|
||||||
mv readme.html readme.php
|
mv readme.html readme.php
|
||||||
|
|
||||||
page_install:
|
page_install:
|
||||||
|
@ -217,27 +217,32 @@ page_push:
|
||||||
echo ${PAGEDIR} > /tmp/speedwm-htmldir
|
echo ${PAGEDIR} > /tmp/speedwm-htmldir
|
||||||
chmod +x scripts/speedwm-mkpage
|
chmod +x scripts/speedwm-mkpage
|
||||||
chmod +x scripts/speedwm-help
|
chmod +x scripts/speedwm-help
|
||||||
./scripts/speedwm-mkpage -page-push
|
./scripts/speedwm-mkpage --release-page
|
||||||
|
|
||||||
html:
|
html:
|
||||||
chmod +x scripts/speedwm-mkpage
|
chmod +x scripts/speedwm-mkpage
|
||||||
chmod +x scripts/speedwm-help
|
chmod +x scripts/speedwm-help
|
||||||
./scripts/speedwm-mkpage -mkhtml
|
./scripts/speedwm-mkpage --make-html
|
||||||
|
|
||||||
php:
|
php:
|
||||||
chmod +x scripts/speedwm-mkpage
|
chmod +x scripts/speedwm-mkpage
|
||||||
chmod +x scripts/speedwm-help
|
chmod +x scripts/speedwm-help
|
||||||
./scripts/speedwm-mkpage -mkpage
|
./scripts/speedwm-mkpage --make-page
|
||||||
mv readme.html readme.php
|
mv readme.html readme.php
|
||||||
|
|
||||||
markdown:
|
markdown:
|
||||||
chmod +x scripts/speedwm-mkpage
|
chmod +x scripts/speedwm-mkpage
|
||||||
chmod +x scripts/speedwm-help
|
chmod +x scripts/speedwm-help
|
||||||
./scripts/speedwm-mkpage -mkmd
|
./scripts/speedwm-mkpage --make-markdown
|
||||||
|
|
||||||
|
man:
|
||||||
|
chmod +x scripts/speedwm-mkpage
|
||||||
|
chmod +x scripts/speedwm-help
|
||||||
|
./scripts/speedwm-mkpage --make-man
|
||||||
|
|
||||||
readme:
|
readme:
|
||||||
chmod +x scripts/speedwm-mkpage
|
chmod +x scripts/speedwm-mkpage
|
||||||
chmod +x scripts/speedwm-help
|
chmod +x scripts/speedwm-help
|
||||||
./scripts/speedwm-mkpage -mk
|
./scripts/speedwm-mkpage -mk
|
||||||
|
|
||||||
.PHONY: all options clean dist install install_only_bin install_only_misc modules_install uninstall help docs page page_html page_php page_install page_release html php markdown readme page_push upload release previmg_install css_install
|
.PHONY: all options clean dist install install_only_bin install_only_misc modules_install uninstall help docs page page_html page_php page_install page_release html php markdown man readme page_push upload release previmg_install css_install
|
||||||
|
|
80
README.md
80
README.md
|
@ -239,54 +239,54 @@ These binds can be activated using your mouse
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
These are absolutely necessary, speedwm will NOT compile without them
|
These are absolutely necessary, speedwm will NOT compile without them
|
||||||
- libxft
|
- libxft
|
||||||
- pango
|
- pango
|
||||||
- libXinerama
|
- libXinerama
|
||||||
- Can be disabled through editing toggle.mk if you're not interested in multiple monitors.
|
- Can be disabled through editing toggle.mk if you're not interested in multiple monitors.
|
||||||
- imlib2
|
- imlib2
|
||||||
- Tag previews, Window icons. Can be disabled through editing toggle.mk and toggle.h if you don't want these features.
|
- Tag previews, Window icons. Can be disabled through editing toggle.mk and toggle.h if you don't want these features.
|
||||||
- yajl
|
- yajl
|
||||||
- Required for the IPC patch. If the IPC patch is disabled, you do not need this.
|
- Required for the IPC patch. If the IPC patch is disabled, you do not need this.
|
||||||
- tcc
|
- tcc
|
||||||
- Very minimal C compiler that speedwm uses to speed up compile times. If you don't want this dependency, edit host.mk and set CC to 'cc' (or what you prefer).
|
- Very minimal C compiler that speedwm uses to speed up compile times. If you don't want this dependency, edit host.mk and set CC to 'cc' (or what you prefer).
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
These are necessary for certain features and keybinds.
|
These are necessary for certain features and keybinds.
|
||||||
If you want to use an alternative, change it in options.h and/or keybinds.h and mouse.h.
|
If you want to use an alternative, change it in options.h and/or keybinds.h and mouse.h.
|
||||||
|
|
||||||
- dmenu
|
- dmenu
|
||||||
- NOTE: dmenu is required for most scripts included with this build of speedwm. My build is required for proper Pywal support.
|
- NOTE: dmenu is required for most scripts included with this build of speedwm. My build is required for proper Pywal support.
|
||||||
- picom
|
- picom
|
||||||
- Optional but speedwm looks sort of ugly without a compositor.
|
- Optional but speedwm looks sort of ugly without a compositor.
|
||||||
- xrdb (Install if you want .Xresources support)
|
- xrdb (Install if you want .Xresources support)
|
||||||
- pywal (Install if you want pywal support. Requires swal (the default way to set wallpapers) or a tool that supports the correct signal for instant reloading)
|
- pywal (Install if you want pywal support. Requires swal (the default way to set wallpapers) or a tool that supports the correct signal for instant reloading)
|
||||||
- j4-dmenu-desktop
|
- j4-dmenu-desktop
|
||||||
- Required for dmenu desktop entries..
|
- Required for dmenu desktop entries..
|
||||||
|
|
||||||
## Software
|
## Software
|
||||||
This build of speedwm comes with binds for software.
|
This build of speedwm comes with binds for software.
|
||||||
You can add, change and remove keybinds by editing 'keybinds.h' and running 'make clean install'.
|
You can add, change and remove keybinds by editing 'keybinds.h' and running 'make clean install'.
|
||||||
|
|
||||||
- libspeedwm
|
- libspeedwm
|
||||||
- speedwm-extras
|
- speedwm-extras
|
||||||
- Important metapackage containing extra scripts that speedwm makes use of. (https://codeberg.org/speedie/speedwm-extras)
|
- Important metapackage containing extra scripts that speedwm makes use of. (https://codeberg.org/speedie/speedwm-extras)
|
||||||
- st (Terminal)
|
- st (Terminal)
|
||||||
- qutebrowser (Web browser)
|
- qutebrowser (Web browser)
|
||||||
- htop (Status monitor)
|
- htop (Status monitor)
|
||||||
- newsboat (RSS reader)
|
- newsboat (RSS reader)
|
||||||
- zathura (PDF reader)
|
- zathura (PDF reader)
|
||||||
- cmus (Default music player)
|
- cmus (Default music player)
|
||||||
- Default status bar also has support for moc (Music On Console)
|
- Default status bar also has support for moc (Music On Console)
|
||||||
- neovim (Text editor)
|
- neovim (Text editor)
|
||||||
- neomutt (Email client)
|
- neomutt (Email client)
|
||||||
- lf (File manager)
|
- lf (File manager)
|
||||||
- slock (Lock screen)
|
- slock (Lock screen)
|
||||||
- weechat (IRC client)
|
- weechat (IRC client)
|
||||||
- tmux (Used for the music player and IRC client)
|
- tmux (Used for the music player and IRC client)
|
||||||
|
|
||||||
And everything under 'Features'.
|
And everything under 'Features'.
|
||||||
|
|
||||||
## Important
|
## Important
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ cd scripts
|
||||||
export DOCDIR="../docs" # Set documentation directory so that it will ALWAYS use the latest documentation
|
export DOCDIR="../docs" # Set documentation directory so that it will ALWAYS use the latest documentation
|
||||||
export USEPREFIX="false" # Set empty prefix
|
export USEPREFIX="false" # Set empty prefix
|
||||||
|
|
||||||
|
# make page
|
||||||
MKPAGE() {
|
MKPAGE() {
|
||||||
./speedwm-help --generate-html
|
./speedwm-help --generate-html
|
||||||
./speedwm-help --generate-page
|
./speedwm-help --generate-page
|
||||||
|
@ -15,6 +16,7 @@ MKPAGE() {
|
||||||
echo "Created readme.html"
|
echo "Created readme.html"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# push page only
|
||||||
PUSHPAGE() {
|
PUSHPAGE() {
|
||||||
HTMLDIR=$(cat /tmp/speedwm-htmldir)
|
HTMLDIR=$(cat /tmp/speedwm-htmldir)
|
||||||
cd $HTMLDIR || exit 1
|
cd $HTMLDIR || exit 1
|
||||||
|
@ -24,34 +26,33 @@ PUSHPAGE() {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# make html
|
||||||
MKHTML() {
|
MKHTML() {
|
||||||
|
MKMD
|
||||||
./speedwm-help --generate-html
|
./speedwm-help --generate-html
|
||||||
cd ..
|
cd ..
|
||||||
echo "Created readme.html"
|
echo "Created readme.html"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# make markdown
|
||||||
MKMD() {
|
MKMD() {
|
||||||
./speedwm-help --generate-markdown
|
./speedwm-help --generate-markdown
|
||||||
cd ..
|
|
||||||
echo "Created README.md"
|
echo "Created README.md"
|
||||||
}
|
}
|
||||||
|
|
||||||
MK() {
|
# make man page
|
||||||
./speedwm-help -w
|
MK1() {
|
||||||
|
MKMD
|
||||||
|
./speedwm-help --generate-man
|
||||||
cd ..
|
cd ..
|
||||||
echo "Created readme"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Perform actions based on user input
|
# Perform actions based on user input
|
||||||
case "$1" in
|
case "$1" in
|
||||||
"") echo "speedwm-mkpage\nNo arguments | Show the help screen\n-h | Show the help screen\n-mkpage | Create full page with templates from docs/\n-mkhtml | Create HTML document based on speedwm documentation\n-mkmd | Create markdown file (usually for use with GitHub repositories)\n-mk | Copy the output of speedwm-help -a to 'readme'.\n-ulspeedwm | Auto-push speedwm changes\n" ; exit 0 ;;
|
"--make-man") MK1 && exit 0 ;;
|
||||||
"-help") $0 && exit 0 ;;
|
"--make-page") MKPAGE && exit 0 ;;
|
||||||
"-h") $0 && exit 0 ;;
|
"--make-html") MKHTML && exit 0 ;;
|
||||||
"-mkpage") MKPAGE && exit 0 ;;
|
"--make-markdown") MKMD && cd .. ; exit 0 ;;
|
||||||
"-mkhtml") MKHTML && exit 0 ;;
|
"--release-page") PUSHPAGE && exit 0 ;;
|
||||||
"-mkmd") MKMD && exit 0 ;;
|
"--release") cd .. && git add * && git commit -a -m "speedwm-mkpage: Auto-pushed speedwm changes!" && git push && exit 0 ;;
|
||||||
"-mk") MK && exit 0 ;;
|
|
||||||
"-page-push") PUSHPAGE && exit 0 ;;
|
|
||||||
"-ulspeedwm") cd .. && git add * && git commit -a -m "speedwm-mkpage: Auto-pushed speedwm changes!" && git push && exit 0 ;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue