Script to compile scss and format files
- Format scss, css, & md files - Compile scss to css
This commit is contained in:
parent
bf384bec4b
commit
7f4aee2c21
14
To_do.md
14
To_do.md
@ -8,14 +8,14 @@
|
||||
### 1.1 WM Things
|
||||
|
||||
| Item | LeftWM | DWM |
|
||||
|:----------------:|:------:|:-------:|
|
||||
| :------------: | :----: | :-: |
|
||||
| Window Name | [ ] | [ ] |
|
||||
| Workspace List | [ ] | [ ] |
|
||||
|
||||
### 1.2 Status Icons
|
||||
|
||||
| Item | Linux | FreeBSD |
|
||||
|:----------------:|:-----:|:-------:|
|
||||
| :-------------: | :---: | :-----: |
|
||||
| Battery / Power | [ ] | [ ] |
|
||||
| Brightness | [ ] | [ ] |
|
||||
| Volume | [ ] | [ ] |
|
||||
@ -34,7 +34,7 @@
|
||||
## 2. OSD
|
||||
|
||||
| Item | Linux | FreeBSD |
|
||||
|:----------------:|:-----:|:-------:|
|
||||
| :-------------: | :---: | :-----: |
|
||||
| Battery / Power | [ ] | [ ] |
|
||||
| Brightness | [ ] | [ ] |
|
||||
| Volume | [ ] | [ ] |
|
||||
@ -48,7 +48,7 @@
|
||||
## 3. Menus
|
||||
|
||||
| Item | Linux | FreeBSD |
|
||||
|:----------------:|:-----:|:-------:|
|
||||
| :-------------: | :---: | :-----: |
|
||||
| Battery / Power | [ ] | [ ] |
|
||||
| Display | [ ] | [ ] |
|
||||
| Audio | [ ] | [ ] |
|
||||
@ -63,7 +63,7 @@
|
||||
## 4. Desktop Widgets
|
||||
|
||||
| Item | Linux | FreeBSD |
|
||||
|:----------------:|:-----:|:-------:|
|
||||
| :-----: | :---: | :-----: |
|
||||
| Time | [ ] | [ ] |
|
||||
| Date | [ ] | [ ] |
|
||||
| Weather | [ ] | [ ] |
|
||||
@ -71,7 +71,7 @@
|
||||
## 5. Dashboard
|
||||
|
||||
| Item | Linux | FreeBSD |
|
||||
|:----------------:|:-----:|:-------:|
|
||||
| :-------------: | :---: | :-----: |
|
||||
| Power / Battery | [ ] | [ ] |
|
||||
| CPU | [ ] | [ ] |
|
||||
| GPU | [ ] | [ ] |
|
||||
@ -83,7 +83,7 @@
|
||||
## 6. Notifications
|
||||
|
||||
| Item | Linux | FreeBSD |
|
||||
|:----------------:|:-----:|:-------:|
|
||||
| :-----: | :---: | :-----: |
|
||||
| Pop-up | [ ] | [ ] |
|
||||
| Alarm | [ ] | [ ] |
|
||||
| History | [ ] | [ ] |
|
||||
|
||||
24
fish/extra/build_scss.fish
Executable file
24
fish/extra/build_scss.fish
Executable file
@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env fish
|
||||
|
||||
set -l script_path (path resolve (status filename))
|
||||
set -l script_dir (path dirname "$script_path")
|
||||
set -l project_root (path normalize "$script_dir/../..")
|
||||
|
||||
set -l input "$project_root/scss/ewwii.scss"
|
||||
set -l output "$project_root/ewwii.css"
|
||||
|
||||
cd "$project_root"
|
||||
|
||||
echo "Compiling SCSS..."
|
||||
if not grass "$input" "$output"
|
||||
echo "grass failed" >&2
|
||||
exit 1
|
||||
end
|
||||
|
||||
echo "Formatting project..."
|
||||
if not dprint fmt
|
||||
echo "dprint failed" >&2
|
||||
exit 1
|
||||
end
|
||||
|
||||
echo "Done."
|
||||
@ -0,0 +1 @@
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user