Compare commits

..

No commits in common. "466d4ec77dc37a60282ee4d6b9339216dcf1a472" and "6b003c87a260f6415788fc2a6f3904e8a5100c3b" have entirely different histories.

21 changed files with 92 additions and 198 deletions

View File

@ -30,7 +30,7 @@ XRANDR_SET() {
local COMPOSITING=enable local COMPOSITING=enable
local SCREEN_BLANK=enable local SCREEN_BLANK=enable
local BACKGROUND=$(scwrypts -n get theme).jpg local BACKGROUND=purple.jpg
local SOUND_EFFECT=login local SOUND_EFFECT=login
local XRANDR_ARGS=() local XRANDR_ARGS=()
@ -71,7 +71,7 @@ XRANDR_SET() {
sleep 1 sleep 1
scwrypts desktop screen blank -- $SCREEN_BLANK scwrypts desktop screen blank -- $SCREEN_BLANK
scwrypts desktop i3 set background -- $BACKGROUND || scwrypts desktop i3 set background -- purple.jpg scwrypts desktop i3 set background -- $BACKGROUND
$DOTWRYN/bin/polybar $DOTWRYN/bin/polybar
scwrypts desktop play sound -- $SOUND_EFFECT scwrypts desktop play sound -- $SOUND_EFFECT
} }

View File

@ -1,30 +1,28 @@
# do not edit; generated by scwrypts # do not edit; generated by scwrypts
# theme : spring-sunset # theme : main
[colors.cursor] [colors.cursor]
cursor = '0xfdfbe7' cursor = '0xeeddff'
[colors.primary] [colors.primary]
background = '0x0b1e32' background = '0x000505'
foreground = '0xe8eaf7' foreground = '0xd0f0f0'
[colors.normal] [colors.normal]
black = '0x000505' black = '0x000505'
red = '0xf12875' red = '0xc80064'
green = '0x5c68c4' green = '0x11bb98'
yellow = '0xf2e044' yellow = '0x6911aa'
blue = '0x5ab5e0' blue = '0x2262bb'
magenta = '0xf5e878' magenta = '0x9922dd'
cyan = '0x7983ce' cyan = '0x22ccba'
white = '0xd0f0f0' white = '0xd0f0f0'
[colors.bright] [colors.bright]
black = '0x424253' black = '0x424253'
red = '0xf694bc' red = '0xff44ff'
green = '0x9fa6dc' green = '0x44dddd'
yellow = '0xf8ef9e' yellow = '0xaa44ff'
blue = '0xb9e5f4' blue = '0x229df6'
magenta = '0xfbf5c4' magenta = '0xdd88ff'
cyan = '0xc5c9ea' cyan = '0x88ffff'
white = '0x7e707e' white = '0x7e707e'
[window]
opacity = 0.85

View File

@ -1,29 +1,27 @@
--- # yamllint disable rule:colons --- # yamllint disable rule:colons
# do not edit; generated by scwrypts # do not edit; generated by scwrypts
# theme : spring-sunset # theme : main
colors: colors:
primary: primary:
background: '0x0b1e32' background: '0x000505'
foreground: '0xe8eaf7' foreground: '0xd0f0f0'
cursor: cursor:
cursor: '0xfdfbe7' cursor: '0xeeddff'
normal: normal:
black: '0x000505' black: '0x000505'
red: '0xf12875' red: '0xc80064'
green: '0x5c68c4' green: '0x11bb98'
yellow: '0xf2e044' yellow: '0x6911aa'
blue: '0x5ab5e0' blue: '0x2262bb'
magenta: '0xf5e878' magenta: '0x9922dd'
cyan: '0x7983ce' cyan: '0x22ccba'
white: '0xd0f0f0' white: '0xd0f0f0'
bright: bright:
black: '0x424253' black: '0x424253'
red: '0xf694bc' red: '0xff44ff'
green: '0x9fa6dc' green: '0x44dddd'
yellow: '0xf8ef9e' yellow: '0xaa44ff'
blue: '0xb9e5f4' blue: '0x229df6'
magenta: '0xfbf5c4' magenta: '0xdd88ff'
cyan: '0xc5c9ea' cyan: '0x88ffff'
white: '0x7e707e' white: '0x7e707e'
window:
opacity: 0.8

View File

@ -38,7 +38,7 @@ material:
secondary: .material.foreground.secondary.500 secondary: .material.foreground.secondary.500
error: .material.foreground.error.500 error: .material.foreground.error.500
foreground: # default (50-400 = black) (500-900 = white) foreground:
primary: primary:
50: .ansi.gray.black 50: .ansi.gray.black
100: .ansi.gray.black 100: .ansi.gray.black

View File

@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
# do not edit; generated by scwrypts # do not edit; generated by scwrypts
# theme : spring-sunset # theme : main
# #
# source this file to apply colorscheme to linux getty # source this file to apply colorscheme to linux getty
# #
[[ "$TERM" =~ ^linux$ ]] || return 0 [[ "$TERM" =~ ^linux$ ]] || return 0
/bin/echo -e " ]P00b1e32 ]P1f12875 ]P25c68c4 ]P3f2e044 ]P45ab5e0 ]P5f5e878 ]P67983ce ]P7e8eaf7 ]P8f694bc ]P99fa6dc ]PAf8ef9e ]PBb9e5f4 ]PCfbf5c4 ]PDc5c9ea ]PEd0f0f0 ]PF7e707e " /bin/echo -e " ]P0000505 ]P1c80064 ]P211bb98 ]P36911aa ]P42262bb ]P59922dd ]P622ccba ]P7d0f0f0 ]P8ff44ff ]P944dddd ]PAaa44ff ]PB229df6 ]PCdd88ff ]PD88ffff ]PEd0f0f0 ]PF7e707e "
[ ! $NO_CLEAR ] && clear [ ! $NO_CLEAR ] && clear
return 0 return 0
sed $d sed $d

View File

@ -1,23 +1,23 @@
# do not edit; generated by scwrypts # do not edit; generated by scwrypts
# theme : spring-sunset # theme : main
color0 #000505 color0 #000505
color1 #f12875 color1 #c80064
color2 #5c68c4 color2 #11bb98
color3 #f2e044 color3 #6911aa
color4 #5ab5e0 color4 #2262bb
color5 #f5e878 color5 #9922dd
color6 #7983ce color6 #22ccba
color7 #d0f0f0 color7 #d0f0f0
color8 #424253 color8 #424253
color9 #f694bc color9 #ff44ff
color10 #9fa6dc color10 #44dddd
color11 #f8ef9e color11 #aa44ff
color12 #b9e5f4 color12 #229df6
color13 #fbf5c4 color13 #dd88ff
color14 #c5c9ea color14 #88ffff
color15 #7e707e color15 #7e707e
cursor #fdfbe7 cursor #eeddff
background #0b1e32 background #000505
foreground #e8eaf7 foreground #d0f0f0
selection_background # selection_background #
selection_foreground # selection_foreground #

View File

@ -1 +0,0 @@
spring-sunset

View File

@ -1,11 +1,10 @@
# do not edit; generated by scwrypts # do not edit; generated by scwrypts
# theme : spring-sunset # theme : main
[colors] [colors]
background = #0b1e32 background = #000505
foreground = #e8eaf7 background-alt = #6911aa
background-alt = #f2e044 foreground = #d0f0f0
foreground-alt = #000505 primary = #6911aa
primary = #f2e044 secondary = #11bb98
secondary = #5c68c4 alert = #c80064
alert = #f12875
disabled = #424253 disabled = #424253

View File

@ -1,14 +1,13 @@
/** /**
* do not edit; generated by scwrypts * do not edit; generated by scwrypts
* theme : spring-sunset * theme : main
**/ **/
*{ *{
background: #0b1e32; background: #000505;
foreground: #d0f0f0; foreground: #d0f0f0;
background-alt: #f5e878; background-alt: #9922dd;
foreground-alt: #000505;
selected: #000505; selected: #000505;
active: #f2e044; active: #6911aa;
urgent: #f12875; urgent: #c80064;
} }

View File

@ -1 +1 @@
/home/w0ryn/.wryn/colorschemes/spring-sunset.yaml /home/w0ryn/.wryn/colorschemes/main.yaml

View File

@ -1,71 +0,0 @@
--- # yamllint disable rule:colons
background: .material.secondary.900
foreground: .material.secondary.50
alacritty:
transparency: 0.85
ansi:
blue:
regular: '#5ab5e0'
bright: '#b9e5f4'
magenta:
regular: .material.primary.300
bright: .material.primary.100
cyan:
regular: .material.secondary.300
bright: .material.secondary.100
material:
base:
secondary: .material.secondary.400
foreground:
secondary: .material.foreground.secondary.400
primary: # replaces ANSI yellow
50: '#fdfbe7'
100: '#fbf5c4'
200: '#f8ef9e'
300: '#f5e878'
400: '#f3e35d'
500: '#f2e044'
600: '#f0ce3f'
700: '#ecb737'
800: '#e9a02f'
900: '#e27a22'
secondary: # replaces ANSI green
50: '#e8eaf7'
100: '#c5c9ea'
200: '#9fa6dc'
300: '#7983ce'
400: '#5c68c4'
500: '#404db9'
600: '#3a45af'
700: '#313ba3'
800: '#293097'
900: '#0b1e32'
error: # replaces ANSI red
50: '#fce5ef'
100: '#f9bed7'
200: '#f694bc'
300: '#f468a1'
400: '#f2488b'
500: '#f12875'
600: '#e02671'
700: '#c9236b'
800: '#b32066'
900: '#8d1b5c'
foreground:
primary:
500: .ansi.gray.black
600: .ansi.gray.black
700: .ansi.gray.black
800: .ansi.gray.black
900: .ansi.gray.black
secondary:
400: .ansi.gray.white

View File

@ -1,15 +0,0 @@
[font.bold]
family = "Monaspace Argon"
[font.glyph_offset]
x = 0
y = 1
[font.italic]
family = "Monaspace Radon"
[font.normal]
family = "Monaspace Neon"
[window]
opacity = 0.8

View File

@ -1,5 +1,20 @@
import = [ import = [
"/home/w0ryn/.config/alacritty/default.toml",
"/home/w0ryn/.config/alacritty/theme.toml", "/home/w0ryn/.config/alacritty/theme.toml",
"/home/w0ryn/.config/alacritty/local.toml", "/home/w0ryn/.config/alacritty/local.toml",
] ]
[font.bold]
family = "Monaspace Argon"
[font.glyph_offset]
x = 0
y = 1
[font.italic]
family = "Monaspace Radon"
[font.normal]
family = "Monaspace Neon"
[window]
opacity = 0.8

View File

@ -49,7 +49,6 @@ type = internal/xworkspaces
label-active = %name% label-active = %name%
label-active-background = ${colors.background-alt} label-active-background = ${colors.background-alt}
label-active-foreground = ${colors.foreground-alt}
label-active-padding = 1 label-active-padding = 1
label-occupied = %name% label-occupied = %name%

View File

@ -29,19 +29,18 @@ configuration {
background-colour: var(background); background-colour: var(background);
foreground-colour: var(foreground); foreground-colour: var(foreground);
alternate-background: var(background-alt); alternate-background: var(background-alt);
alternate-foreground: var(selected);
normal-background: var(background); normal-background: var(background);
normal-foreground: var(foreground); normal-foreground: var(foreground);
urgent-background: var(urgent); urgent-background: var(urgent);
urgent-foreground: var(background); urgent-foreground: var(background);
active-background: var(active); active-background: var(active);
active-foreground: var(background); active-foreground: var(background);
selected-normal-background: var(background-alt); selected-normal-background: var(selected);
selected-normal-foreground: var(selected); selected-normal-foreground: var(background);
selected-urgent-background: var(background-alt); selected-urgent-background: var(active);
selected-urgent-foreground: var(selected); selected-urgent-foreground: var(background);
selected-active-background: var(urgent); selected-active-background: var(urgent);
selected-active-foreground: var(selected); selected-active-foreground: var(background);
alternate-normal-background: var(background); alternate-normal-background: var(background);
alternate-normal-foreground: var(foreground); alternate-normal-foreground: var(foreground);
alternate-urgent-background: var(urgent); alternate-urgent-background: var(urgent);
@ -177,7 +176,7 @@ element normal.active {
} }
element selected.normal { element selected.normal {
background-color: var(alternate-background); background-color: var(alternate-background);
text-color: var(alternate-foreground); text-color: var(foreground-colour);
} }
element selected.urgent { element selected.urgent {
background-color: var(selected-urgent-background); background-color: var(selected-urgent-background);

View File

@ -16,7 +16,6 @@ $DOTWRYN/colorschemes/active/alacritty.toml alacritty/theme.toml
$DOTWRYN/colorschemes/active/alacritty.yaml alacritty/theme.yml $DOTWRYN/colorschemes/active/alacritty.yaml alacritty/theme.yml
$DOTWRYN/colorschemes/active/getty.sh wryn/tty-colorscheme $DOTWRYN/colorschemes/active/getty.sh wryn/tty-colorscheme
$DOTWRYN/config/alacritty.toml alacritty/alacritty.toml $DOTWRYN/config/alacritty.toml alacritty/alacritty.toml
$DOTWRYN/config/alacritty.default.toml alacritty/default.toml
$DOTWRYN/config/alacritty.yaml alacritty/alacritty.yml $DOTWRYN/config/alacritty.yaml alacritty/alacritty.yml
$DOTWRYN/config/bat.conf bat/config $DOTWRYN/config/bat.conf bat/config
$DOTWRYN/config/code-activator.conf code-activator-zsh/settings.zsh $DOTWRYN/config/code-activator.conf code-activator-zsh/settings.zsh

View File

@ -1,14 +0,0 @@
#!/bin/zsh
use desktop/colorscheme --group dotwryn
#####################################################################
USAGE__description+='
output the name of the current system theme
'
#####################################################################
MAIN() {
cat "$ACTIVE_THEME_PATH/name.txt" 2>/dev/null \
|| ERROR 'theme name not available'
}

View File

@ -61,14 +61,6 @@ colors:
cyan: '0x$BRIGHT_CYAN' cyan: '0x$BRIGHT_CYAN'
white: '0x$BRIGHT_WHITE' white: '0x$BRIGHT_WHITE'
" | sed '$d' > "$_COLORSCHEME_FILE__alacritty_yaml" " | sed '$d' > "$_COLORSCHEME_FILE__alacritty_yaml"
local TRANSPARENCY_OVERRIDE=$(cat "$SOURCE_THEME" | YQ -r '.alacritty.transparency' | grep -v '^null$')
[ $TRANSPARENCY_OVERRIDE ] && {
printf "[window]\nopacity = $TRANSPARENCY_OVERRIDE\n" >> "$_COLORSCHEME_FILE__alacritty_toml"
printf "window:\n opacity: 0.8" >> "$_COLORSCHEME_FILE__alacritty_yaml"
}
return 0
} }
_SET_THEME__alacritty() { _SET_THEME__alacritty() {

View File

@ -226,8 +226,7 @@ SET_THEME() {
} }
done done
CHECK_ERRORS --no-usage \ CHECK_ERRORS --no-usage
&& echo "$THEME_NAME" > "$ACTIVE_THEME_PATH/name.txt"
} }
##################################################################### #####################################################################

View File

@ -5,9 +5,8 @@ _GENERATE_THEME__polybar() {
# theme : $THEME_NAME # theme : $THEME_NAME
[colors] [colors]
background = #$(_GET_HEX .polybar.background .background) background = #$(_GET_HEX .polybar.background .background)
foreground = #$(_GET_HEX .polybar.foreground .foreground)
background-alt = #$(_GET_HEX .polybar.background-alt .selection.background) background-alt = #$(_GET_HEX .polybar.background-alt .selection.background)
foreground-alt = #$(_GET_HEX .polybar.foreground-alt .selection.foreground) foreground = #$(_GET_HEX .polybar.foreground .foreground)
primary = #$(_GET_HEX .polybar.primary .material.base.primary .ansi.green.regular) primary = #$(_GET_HEX .polybar.primary .material.base.primary .ansi.green.regular)
secondary = #$(_GET_HEX .polybar.secondary .material.base.secondary .ansi.blue.regular) secondary = #$(_GET_HEX .polybar.secondary .material.base.secondary .ansi.blue.regular)
alert = #$(_GET_HEX .polybar.alert .material.base.error .ansi.red.regular) alert = #$(_GET_HEX .polybar.alert .material.base.error .ansi.red.regular)

View File

@ -7,10 +7,9 @@ _GENERATE_THEME__rofi() {
**/ **/
*{ *{
background: #$(_GET_HEX .rofi.background .material.secondary.900 .background); background: #$(_GET_HEX .rofi.background .background);
foreground: #$(_GET_HEX .rofi.foreground .material.foreground.secondary.900 .foreground); foreground: #$(_GET_HEX .rofi.foreground .foreground);
background-alt: #$(_GET_HEX .rofi.background-alt .material.primary.300 .selection.background); background-alt: #$(_GET_HEX .rofi.background-alt .material.primary.300 .selection.background);
foreground-alt: #$(_GET_HEX .rofi.foreground-alt .material.foreground.primary.300 .selection.foreground);
selected: #$(_GET_HEX .rofi.selected .material.foreground.primary.300 .selection.foreground); selected: #$(_GET_HEX .rofi.selected .material.foreground.primary.300 .selection.foreground);
active: #$(_GET_HEX .rofi.active .material.base.primary .ansi.green.regular); active: #$(_GET_HEX .rofi.active .material.base.primary .ansi.green.regular);
urgent: #$(_GET_HEX .rofi.urgent .material.base.error .ansi.red.regular ); urgent: #$(_GET_HEX .rofi.urgent .material.base.error .ansi.red.regular );