Compare commits

...

3 Commits

Author SHA1 Message Date
bfcc3d0495 fix install bug 2024-08-10 08:47:01 -06:00
8fb43d9754 replace primary screenshot tool with flameshot 2024-08-10 08:46:22 -06:00
f67e0266b5 update colorscheme; flameshot initisl config 2024-08-10 08:45:48 -06:00
14 changed files with 127 additions and 79 deletions

View File

@ -47,15 +47,7 @@ case $1 in
;;
( screenshot )
command -v deepin-screen-recorder || notify-send "I3 UTILS" "no screenshot application available"
deepin-screen-recorder
DEEPIN_CONFIG="$HOME/.config/deepin/deepin-screen-recorder/deepin-screen-recorder.conf"
: \
&& echo "fixing stupid settings" \
&& mv $DEEPIN_CONFIG $DEEPIN_CONFIG.bak \
&& sed '/specifiedSavepath=.*home.*Pictures/d' $DEEPIN_CONFIG.bak > $DEEPIN_CONFIG \
|| mv $DEEPIN_CONFIG.bak $DEEPIN_CONFIG.conf \
;
command -v flameshot || notify-send "I3 UTILS" "screenshot application 'flameshot' not available"
flameshot gui
;;
esac

View File

@ -1,30 +1,28 @@
# do not edit; generated by scwrypts
# theme : burning-death
# theme : main
[colors.cursor]
cursor = '0x8eadf8'
cursor = '0xeeddff'
[colors.primary]
background = '0x300000'
foreground = '0xffeaec'
background = '0x000505'
foreground = '0xd0f0f0'
[colors.normal]
black = '0x000505'
red = '0xdc1a4e'
green = '0x3296eb'
yellow = '0xc24022'
blue = '0x5ab5e0'
magenta = '0xdf5041'
cyan = '0x34549b'
red = '0xc80064'
green = '0x11bb98'
yellow = '0x6911aa'
blue = '0x2262bb'
magenta = '0x9922dd'
cyan = '0x22ccba'
white = '0xd0f0f0'
[colors.bright]
black = '0x424253'
red = '0xf08ba4'
green = '0x8eadf8'
yellow = '0xf19892'
blue = '0xb9e5f4'
magenta = '0xf19892'
cyan = '0x99bafb'
red = '0xff44ff'
green = '0x44dddd'
yellow = '0xaa44ff'
blue = '0x229df6'
magenta = '0xdd88ff'
cyan = '0x88ffff'
white = '0x7e707e'
[window]
opacity = 0.75

View File

@ -1,29 +1,27 @@
--- # yamllint disable rule:colons
# do not edit; generated by scwrypts
# theme : burning-death
# theme : main
colors:
primary:
background: '0x570406'
foreground: '0xffeaec'
background: '0x000505'
foreground: '0xd0f0f0'
cursor:
cursor: '0x8eadf8'
cursor: '0xeeddff'
normal:
black: '0x000505'
red: '0xdc1a4e'
green: '0x3296eb'
yellow: '0xc24022'
blue: '0x5ab5e0'
magenta: '0xdf5041'
cyan: '0x34549b'
red: '0xc80064'
green: '0x11bb98'
yellow: '0x6911aa'
blue: '0x2262bb'
magenta: '0x9922dd'
cyan: '0x22ccba'
white: '0xd0f0f0'
bright:
black: '0x424253'
red: '0xf08ba4'
green: '0x8eadf8'
yellow: '0xf19892'
blue: '0xb9e5f4'
magenta: '0xf19892'
cyan: '0x99bafb'
red: '0xff44ff'
green: '0x44dddd'
yellow: '0xaa44ff'
blue: '0x229df6'
magenta: '0xdd88ff'
cyan: '0x88ffff'
white: '0x7e707e'
window:
opacity: 0.8

View File

@ -1,11 +1,11 @@
#!/bin/sh
# do not edit; generated by scwrypts
# theme : burning-death
# theme : main
#
# source this file to apply colorscheme to linux getty
#
[[ "$TERM" =~ ^linux$ ]] || return 0
/bin/echo -e " ]P0570406 ]P1dc1a4e ]P23296eb ]P3c24022 ]P45ab5e0 ]P5df5041 ]P634549b ]P7ffeaec ]P8f08ba4 ]P98eadf8 ]PAf19892 ]PBb9e5f4 ]PCf19892 ]PD99bafb ]PEd0f0f0 ]PF7e707e "
/bin/echo -e " ]P0000505 ]P1c80064 ]P211bb98 ]P36911aa ]P42262bb ]P59922dd ]P622ccba ]P7d0f0f0 ]P8ff44ff ]P944dddd ]PAaa44ff ]PB229df6 ]PCdd88ff ]PD88ffff ]PEd0f0f0 ]PF7e707e "
[ ! $NO_CLEAR ] && clear
return 0
sed $d

View File

@ -1,23 +1,23 @@
# do not edit; generated by scwrypts
# theme : burning-death
# theme : main
color0 #000505
color1 #dc1a4e
color2 #3296eb
color3 #c24022
color4 #5ab5e0
color5 #df5041
color6 #34549b
color1 #c80064
color2 #11bb98
color3 #6911aa
color4 #2262bb
color5 #9922dd
color6 #22ccba
color7 #d0f0f0
color8 #424253
color9 #f08ba4
color10 #8eadf8
color11 #f19892
color12 #b9e5f4
color13 #f19892
color14 #99bafb
color9 #ff44ff
color10 #44dddd
color11 #aa44ff
color12 #229df6
color13 #dd88ff
color14 #88ffff
color15 #7e707e
cursor #8eadf8
background #570406
foreground #ffeaec
cursor #eeddff
background #000505
foreground #d0f0f0
selection_background #
selection_foreground #

View File

@ -1 +1 @@
burning-death
main

View File

@ -1,11 +1,11 @@
# do not edit; generated by scwrypts
# theme : burning-death
# theme : main
[colors]
background = #570406
foreground = #ffeaec
background-alt = #c24022
foreground-alt = #000505
primary = #c24022
secondary = #3296eb
alert = #dc1a4e
background = #000505
foreground = #d0f0f0
background-alt = #6911aa
foreground-alt = #d0f0f0
primary = #6911aa
secondary = #11bb98
alert = #c80064
disabled = #424253

View File

@ -1,14 +1,14 @@
/**
* do not edit; generated by scwrypts
* theme : burning-death
* theme : main
**/
*{
background: #26416e;
background: #001129;
foreground: #d0f0f0;
background-alt: #e77068;
background-alt: #9922dd;
foreground-alt: #000505;
selected: #000505;
active: #c24022;
urgent: #dc1a4e;
active: #6911aa;
urgent: #c80064;
}

View File

@ -1 +1 @@
/home/w0ryn/.wryn/colorschemes/burning-death.yaml
/home/w0ryn/.wryn/colorschemes/main.yaml

27
config/flameshot.ini Normal file
View File

@ -0,0 +1,27 @@
[General]
contrastOpacity=188
contrastUiColor=#11bb98
disabledTrayIcon=false
drawColor=#e9a02f
drawThickness=15
filenamePattern=%Y-%m-%d_%I%H.SCREENSHOT
saveAsFileExtension=png
savePath=/home/w0ryn/Pictures/screenshot
showSidePanelButton=false
showStartupLaunchMessage=false
uiColor=#490099
undoLimit=100
uploadClientSecret=
userColors=picker, #aa44ff, #6911aa, #220069, #44dddd, #00aa79, #006922, #c80064, #ff44ff, #d0f0f0
[Shortcuts]
TYPE_ARROW=E
TYPE_CIRCLE=S
TYPE_DRAWER=W
TYPE_INVERT=X
TYPE_MARKER=D
TYPE_PENCIL=Q
TYPE_PIXELATE=Z
TYPE_RECTANGLE=A
TYPE_SELECTION=R
TYPE_TEXT=F

View File

@ -20,6 +20,7 @@ $DOTWRYN/config/alacritty.yaml alacritty/alacritty.yml
$DOTWRYN/config/bat.conf bat/config
$DOTWRYN/config/code-activator.conf code-activator-zsh/settings.zsh
$DOTWRYN/config/compton.conf compton/compton.conf
$DOTWRYN/config/flameshot.ini flameshot/flameshot.ini
$DOTWRYN/config/git.conf git/config
$DOTWRYN/config/htop.conf htop/htoprc
$DOTWRYN/config/i3status.conf i3status/config
@ -55,3 +56,5 @@ $( () {
;
} )
"
true

View File

@ -6,6 +6,7 @@ ACTIVE_THEME_PATH="$_COLORSCHEME_DIR/active"
ACTIVE_THEME_SOURCE="$ACTIVE_THEME_PATH/source.yaml"
use desktop/colorscheme/alacritty --group dotwryn
use desktop/colorscheme/flameshot --group dotwryn
use desktop/colorscheme/getty --group dotwryn
use desktop/colorscheme/kitty --group dotwryn
use desktop/colorscheme/polybar --group dotwryn

View File

@ -0,0 +1,28 @@
_COLORSCHEME_FILE__flameshot="$DOTWRYN/config/flameshot.ini"
_GENERATE_THEME__flameshot() {
local C1="#$(_GET_HEX .flameshot.color1 .material.primary.200 .ansi.reg.bright )"
local C2="#$(_GET_HEX .flameshot.color2 .material.primary.500 .ansi.red.regular)"
local C3="#$(_GET_HEX .flameshot.color3 .material.primary.800 .ansi.green.bright )"
local C4="#$(_GET_HEX .flameshot.color4 .material.secondary.200 .ansi.green.regular)"
local C5="#$(_GET_HEX .flameshot.color5 .material.secondary.500 .ansi.blue.bright )"
local C6="#$(_GET_HEX .flameshot.color6 .material.secondary.800 .ansi.yellow.bright)"
local C7="#$(_GET_HEX .flameshot.color7 .material.error.500 .ansi.cyan.bright )"
local C8="#$(_GET_HEX .flameshot.color8 .material.error.200 .ansi.magenta.bright)"
local C9="#$(_GET_HEX .flameshot.color9 .material.foreground.primary.500 .ansi.gray.bright)"
local UI_PRIMARY="#$(_GET_HEX .flameshot.primary .material.primary.600 .ansi.magenta.bright)"
local UI_SECONDARY="#$(_GET_HEX .flameshot.secondary .material.secondary.400 .ansi.green.bright)"
local PICKER="picker, $C1, $C2, $C3, $C4, $C5, $C6, $C7, $C8, $C9"
sed -i "
s/^userColors=.*$/userColors=${PICKER}/
s/^uiColor=.*/uiColor=${UI_PRIMARY}/
s/^contrastUiColor=.*/contrastUiColor=${UI_SECONDARY}/
" "$_COLORSCHEME_FILE__flameshot"
}
_SET_THEME__flameshot() {
return 0 # theme modifies the config file directly
}

View File

@ -9,6 +9,7 @@ cmake
cowsay
feh
figlet
flameshot
fprintd
fzf
go