mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
light >badapple (#330)
This commit is contained in:
parent
d3761d1d0d
commit
63c41123a3
3 changed files with 47 additions and 18 deletions
|
|
@ -18,23 +18,6 @@ colorvalues=()
|
|||
# wallpath_png=$(echo "$wallpath_png" | sed 's/\//\\\//g')
|
||||
# wallpath_png=$(sed 's/\//\\\\\//g' <<< "$wallpath_png")
|
||||
|
||||
if [[ "$1" = "--bad-apple" ]]; then
|
||||
cp scripts/color_generation/specials/_material_badapple.scss scss/_material.scss
|
||||
colornames=$(cat scripts/color_generation/specials/_material_badapple.scss | cut -d: -f1)
|
||||
colorstrings=$(cat scripts/color_generation/specials/_material_badapple.scss | cut -d: -f2 | cut -d ' ' -f2 | cut -d ";" -f1)
|
||||
IFS=$'\n'
|
||||
# filearr=( $filelist ) # Get colors
|
||||
colorlist=( $colornames ) # Array of color names
|
||||
colorvalues=( $colorstrings ) # Array of color values
|
||||
else
|
||||
colornames=$(cat scss/_material.scss | cut -d: -f1)
|
||||
colorstrings=$(cat scss/_material.scss | cut -d: -f2 | cut -d ' ' -f2 | cut -d ";" -f1)
|
||||
IFS=$'\n'
|
||||
# filearr=( $filelist ) # Get colors
|
||||
colorlist=( $colornames ) # Array of color names
|
||||
colorvalues=( $colorstrings ) # Array of color values
|
||||
fi
|
||||
|
||||
transparentize() {
|
||||
local hex="$1"
|
||||
local alpha="$2"
|
||||
|
|
@ -165,6 +148,24 @@ apply_ags() {
|
|||
ags run-js "App.resetCss(); App.applyCss('${HOME}/.cache/ags/user/generated/style.css');"
|
||||
}
|
||||
|
||||
if [[ "$1" = "--bad-apple" ]]; then
|
||||
lightdark=$(get_light_dark)
|
||||
cp scripts/color_generation/specials/_material_badapple"${lightdark}".scss scss/_material.scss
|
||||
colornames=$(cat scripts/color_generation/specials/_material_badapple.scss | cut -d: -f1)
|
||||
colorstrings=$(cat scripts/color_generation/specials/_material_badapple.scss | cut -d: -f2 | cut -d ' ' -f2 | cut -d ";" -f1)
|
||||
IFS=$'\n'
|
||||
# filearr=( $filelist ) # Get colors
|
||||
colorlist=( $colornames ) # Array of color names
|
||||
colorvalues=( $colorstrings ) # Array of color values
|
||||
else
|
||||
colornames=$(cat scss/_material.scss | cut -d: -f1)
|
||||
colorstrings=$(cat scss/_material.scss | cut -d: -f2 | cut -d ' ' -f2 | cut -d ";" -f1)
|
||||
IFS=$'\n'
|
||||
# filearr=( $filelist ) # Get colors
|
||||
colorlist=( $colornames ) # Array of color names
|
||||
colorvalues=( $colorstrings ) # Array of color values
|
||||
fi
|
||||
|
||||
apply_ags &
|
||||
apply_hyprland &
|
||||
apply_hyprlock &
|
||||
|
|
|
|||
|
|
@ -0,0 +1,29 @@
|
|||
$darkmode: false;
|
||||
$primary: #000000;
|
||||
$onPrimary: #FFFFFF ;
|
||||
$primaryContainer: #d4d4d4;
|
||||
$onPrimaryContainer: #000000;
|
||||
$secondary: #000000;
|
||||
$onSecondary: #FFFFFF ;
|
||||
$secondaryContainer: #bebebe;
|
||||
$onSecondaryContainer: #000000;
|
||||
$tertiary: #000000;
|
||||
$onTertiary: #FFFFFF ;
|
||||
$tertiaryContainer: #FFFFFF ;
|
||||
$onTertiaryContainer: #000000;
|
||||
$error: #000000;
|
||||
$onError: #FFFFFF ;
|
||||
$errorContainer: #FFFFFF ;
|
||||
$onErrorContainer: #000000;
|
||||
$colorbarbg: #FFFFFF ;
|
||||
$background: #FFFFFF ;
|
||||
$onBackground: #000000;
|
||||
$surface: #f0f0f0;
|
||||
$onSurface: #000000;
|
||||
$surfaceVariant: #dddddd;
|
||||
$onSurfaceVariant: #000000;
|
||||
$outline: #525252;
|
||||
$shadow: #000000 ;
|
||||
$inverseSurface: #000000;
|
||||
$inverseOnSurface: #FFFFFF;
|
||||
$inversePrimary: #000000;
|
||||
|
|
@ -27,4 +27,3 @@ $shadow: #000000;
|
|||
$inverseSurface: #e2e2e2;
|
||||
$inverseOnSurface: #000000;
|
||||
$inversePrimary: #e2e2e2;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue