forked from Shinonome/dots-hyprland
use vibrant material scheme by default
This commit is contained in:
@@ -65,9 +65,9 @@ const ColorSchemeSettingsRevealer = () => {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function calculateSchemeInitIndex(optionsArr, searchValue = 'tonalspot') {
|
function calculateSchemeInitIndex(optionsArr, searchValue = 'vibrant') {
|
||||||
if (searchValue == '')
|
if (searchValue == '')
|
||||||
searchValue = 'tonalspot';
|
searchValue = 'vibrant';
|
||||||
const flatArray = optionsArr.flatMap(subArray => subArray);
|
const flatArray = optionsArr.flatMap(subArray => subArray);
|
||||||
const result = flatArray.findIndex(element => element.value === searchValue);
|
const result = flatArray.findIndex(element => element.value === searchValue);
|
||||||
const rowIndex = Math.floor(result / optionsArr[0].length);
|
const rowIndex = Math.floor(result / optionsArr[0].length);
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ fi
|
|||||||
colormodefile="$HOME/.cache/ags/user/colormode.txt"
|
colormodefile="$HOME/.cache/ags/user/colormode.txt"
|
||||||
lightdark="dark"
|
lightdark="dark"
|
||||||
transparency="opaque"
|
transparency="opaque"
|
||||||
materialscheme="tonalspot"
|
materialscheme="vibrant"
|
||||||
if [ ! -f $colormodefile ]; then
|
if [ ! -f $colormodefile ]; then
|
||||||
echo "dark" > $colormodefile
|
echo "dark" > $colormodefile
|
||||||
echo "opaque" >> $colormodefile
|
echo "opaque" >> $colormodefile
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ args = parser.parse_args()
|
|||||||
export_color_file=os.environ['HOME']+"/.cache/ags/user/color.txt"
|
export_color_file=os.environ['HOME']+"/.cache/ags/user/color.txt"
|
||||||
|
|
||||||
# Default scheme -> Tonal Spot (Android Default)
|
# Default scheme -> Tonal Spot (Android Default)
|
||||||
from materialyoucolor.scheme.scheme_tonal_spot import SchemeTonalSpot as Scheme
|
from materialyoucolor.scheme.scheme_vibrant import SchemeVibrant as Scheme
|
||||||
if args.scheme is not None:
|
if args.scheme is not None:
|
||||||
if args.scheme == 'fruitsalad':
|
if args.scheme == 'fruitsalad':
|
||||||
from materialyoucolor.scheme.scheme_fruit_salad import SchemeFruitSalad as Scheme
|
from materialyoucolor.scheme.scheme_fruit_salad import SchemeFruitSalad as Scheme
|
||||||
@@ -31,8 +31,8 @@ if args.scheme is not None:
|
|||||||
from materialyoucolor.scheme.scheme_monochrome import SchemeMonochrome as Scheme
|
from materialyoucolor.scheme.scheme_monochrome import SchemeMonochrome as Scheme
|
||||||
elif args.scheme == 'rainbow':
|
elif args.scheme == 'rainbow':
|
||||||
from materialyoucolor.scheme.scheme_rainbow import SchemeRainbow as Scheme
|
from materialyoucolor.scheme.scheme_rainbow import SchemeRainbow as Scheme
|
||||||
elif args.scheme == 'vibrant':
|
elif args.scheme == 'tonalspot':
|
||||||
from materialyoucolor.scheme.scheme_vibrant import SchemeVibrant as Scheme
|
from materialyoucolor.scheme.scheme_tonal_spot import SchemeTonalSpot as Scheme
|
||||||
elif args.scheme == 'neutral':
|
elif args.scheme == 'neutral':
|
||||||
from materialyoucolor.scheme.scheme_neutral import SchemeNeutral as Scheme
|
from materialyoucolor.scheme.scheme_neutral import SchemeNeutral as Scheme
|
||||||
elif args.scheme == 'fidelity':
|
elif args.scheme == 'fidelity':
|
||||||
|
|||||||
Reference in New Issue
Block a user