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
|
### 1.1 WM Things
|
||||||
|
|
||||||
| Item | LeftWM | DWM |
|
| Item | LeftWM | DWM |
|
||||||
|:----------------:|:------:|:-------:|
|
| :------------: | :----: | :-: |
|
||||||
| Window Name | [ ] | [ ] |
|
| Window Name | [ ] | [ ] |
|
||||||
| Workspace List | [ ] | [ ] |
|
| Workspace List | [ ] | [ ] |
|
||||||
|
|
||||||
### 1.2 Status Icons
|
### 1.2 Status Icons
|
||||||
|
|
||||||
| Item | Linux | FreeBSD |
|
| Item | Linux | FreeBSD |
|
||||||
|:----------------:|:-----:|:-------:|
|
| :-------------: | :---: | :-----: |
|
||||||
| Battery / Power | [ ] | [ ] |
|
| Battery / Power | [ ] | [ ] |
|
||||||
| Brightness | [ ] | [ ] |
|
| Brightness | [ ] | [ ] |
|
||||||
| Volume | [ ] | [ ] |
|
| Volume | [ ] | [ ] |
|
||||||
@ -34,7 +34,7 @@
|
|||||||
## 2. OSD
|
## 2. OSD
|
||||||
|
|
||||||
| Item | Linux | FreeBSD |
|
| Item | Linux | FreeBSD |
|
||||||
|:----------------:|:-----:|:-------:|
|
| :-------------: | :---: | :-----: |
|
||||||
| Battery / Power | [ ] | [ ] |
|
| Battery / Power | [ ] | [ ] |
|
||||||
| Brightness | [ ] | [ ] |
|
| Brightness | [ ] | [ ] |
|
||||||
| Volume | [ ] | [ ] |
|
| Volume | [ ] | [ ] |
|
||||||
@ -48,7 +48,7 @@
|
|||||||
## 3. Menus
|
## 3. Menus
|
||||||
|
|
||||||
| Item | Linux | FreeBSD |
|
| Item | Linux | FreeBSD |
|
||||||
|:----------------:|:-----:|:-------:|
|
| :-------------: | :---: | :-----: |
|
||||||
| Battery / Power | [ ] | [ ] |
|
| Battery / Power | [ ] | [ ] |
|
||||||
| Display | [ ] | [ ] |
|
| Display | [ ] | [ ] |
|
||||||
| Audio | [ ] | [ ] |
|
| Audio | [ ] | [ ] |
|
||||||
@ -63,7 +63,7 @@
|
|||||||
## 4. Desktop Widgets
|
## 4. Desktop Widgets
|
||||||
|
|
||||||
| Item | Linux | FreeBSD |
|
| Item | Linux | FreeBSD |
|
||||||
|:----------------:|:-----:|:-------:|
|
| :-----: | :---: | :-----: |
|
||||||
| Time | [ ] | [ ] |
|
| Time | [ ] | [ ] |
|
||||||
| Date | [ ] | [ ] |
|
| Date | [ ] | [ ] |
|
||||||
| Weather | [ ] | [ ] |
|
| Weather | [ ] | [ ] |
|
||||||
@ -71,7 +71,7 @@
|
|||||||
## 5. Dashboard
|
## 5. Dashboard
|
||||||
|
|
||||||
| Item | Linux | FreeBSD |
|
| Item | Linux | FreeBSD |
|
||||||
|:----------------:|:-----:|:-------:|
|
| :-------------: | :---: | :-----: |
|
||||||
| Power / Battery | [ ] | [ ] |
|
| Power / Battery | [ ] | [ ] |
|
||||||
| CPU | [ ] | [ ] |
|
| CPU | [ ] | [ ] |
|
||||||
| GPU | [ ] | [ ] |
|
| GPU | [ ] | [ ] |
|
||||||
@ -83,7 +83,7 @@
|
|||||||
## 6. Notifications
|
## 6. Notifications
|
||||||
|
|
||||||
| Item | Linux | FreeBSD |
|
| Item | Linux | FreeBSD |
|
||||||
|:----------------:|:-----:|:-------:|
|
| :-----: | :---: | :-----: |
|
||||||
| Pop-up | [ ] | [ ] |
|
| Pop-up | [ ] | [ ] |
|
||||||
| Alarm | [ ] | [ ] |
|
| Alarm | [ ] | [ ] |
|
||||||
| History | [ ] | [ ] |
|
| 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