Add a justfile for common commands

This commit is contained in:
Sravan Balaji
2024-03-15 13:35:37 -04:00
parent 4ca6571a05
commit 477a1c1202
2 changed files with 32 additions and 0 deletions

View File

@@ -224,6 +224,7 @@
- [[#bars][Bars]]
- [[#modules][Modules]]
- [[#launch-script][Launch Script]]
- [[#justfile][Justfile]]
* Welcome
@@ -7157,3 +7158,21 @@ fi
echo "$!" >>/tmp/polybar.pids
#+END_SRC
* Justfile
#+BEGIN_SRC just :tangle justfile
set shell := ["bash", "-c"]
# List just commands by default
default:
@just --list
# Update doom emacs and sync config
dwm-rebuild:
sudo make clean install
# Run polybar launch script
dwm-launch-polybar:
./polybar/launch.sh
#+END_SRC

13
justfile Normal file
View File

@@ -0,0 +1,13 @@
set shell := ["bash", "-c"]
# List just commands by default
default:
@just --list
# Update doom emacs and sync config
dwm-rebuild:
sudo make clean install
# Run polybar launch script
dwm-launch-polybar:
./polybar/launch.sh