Scripts for using this st version with i3
This commit is contained in:
parent
1d33540ae9
commit
88a7bfa1cd
31 changed files with 139 additions and 0 deletions
71
st-scripts/foot-to-st.py
Normal file
71
st-scripts/foot-to-st.py
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
#!/usr/bin/env python3
|
||||
#coding:utf-8
|
||||
"""
|
||||
Purpose: foot conf to st-color-at-start
|
||||
Created: 04.01.2021
|
||||
"""
|
||||
|
||||
import argparse
|
||||
|
||||
def main(args):
|
||||
"""open foot file, parse, and dump st script"""
|
||||
with open(args.filename) as fh:
|
||||
lines = fh.readlines()
|
||||
mode = None
|
||||
colors = list(range(0, 16))
|
||||
for ii in lines:
|
||||
i = ii.rstrip()
|
||||
if i[0:4] == '[cur':
|
||||
mode = 'cursor'
|
||||
elif i[0:4] == '[col':
|
||||
mode = 'colors'
|
||||
else:
|
||||
if mode == 'cursor' and i[0:5] == 'color' :
|
||||
x = i.split('=')
|
||||
color256, color257 = x[1].split(' ')
|
||||
elif mode == 'colors':
|
||||
if i[0:4] == 'fore':
|
||||
color258 = i.split('=')[1]
|
||||
elif i[0:4] == 'back':
|
||||
color259 = i.split('=')[1]
|
||||
elif i[0:4] == 'regu':
|
||||
index = int(i[7])
|
||||
col = i.split('=')[1]
|
||||
colors[index] = f'{col}'
|
||||
elif i[0:4] == 'brig':
|
||||
index = int(i[6]) + 8
|
||||
col = i.split('=')[1]
|
||||
colors[index] = f'{col}'
|
||||
|
||||
print(f"""-C #{colors[0]}@0 \
|
||||
-C #{colors[1]}@1 \
|
||||
-C #{colors[2]}@2 \
|
||||
-C #{colors[3]}@3 \
|
||||
-C #{colors[4]}@4 \
|
||||
-C #{colors[5]}@5 \
|
||||
-C #{colors[6]}@6 \
|
||||
-C #{colors[7]}@7 \
|
||||
-C #{colors[8]}@8 \
|
||||
-C #{colors[9]}@9 \
|
||||
-C #{colors[10]}@10 \
|
||||
-C #{colors[11]}@11 \
|
||||
-C #{colors[12]}@12 \
|
||||
-C #{colors[13]}@13 \
|
||||
-C #{colors[14]}@14 \
|
||||
-C #{colors[15]}@15 \
|
||||
-C #{color256}@256 \
|
||||
-C #{color257}@257 \
|
||||
-C #{color258}@258 \
|
||||
-C #{color259}@259
|
||||
""")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
ap = argparse.ArgumentParser()
|
||||
ap.add_argument('-f','--filename',type=str,required=True)
|
||||
main(ap.parse_args())
|
||||
10
st-scripts/menu-st-footcolorpic.sh
Executable file
10
st-scripts/menu-st-footcolorpic.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
F=$(fc-list :mono: : family | sort -R | \
|
||||
rofi -no-disable-history -dmenu -i )
|
||||
C=$(ls ~/.config/stcolors/ | sort -R |rofi -dmenu )
|
||||
S=$(seq 26 -2 10 | sed s/26/18/ | rofi -dmenu )
|
||||
COLS=$(cat ~/.config/stcolors/${C})
|
||||
echo ${COLS}
|
||||
set -x
|
||||
st-colordefaults ${COLS} -f "${F}-${S}"
|
||||
|
||||
2
st-scripts/stcolors/autumn
Normal file
2
st-scripts/stcolors/autumn
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #272727@0 -C #2FCC93@1 -C #3EA24F@2 -C #7BBA4D@3 -C #92893D@4 -C #A65841@5 -C #B1B360@6 -C #B3B3B3@7 -C #333333@8 -C #7EEEC6@9 -C #8AF69C@10 -C #A8F470@11 -C #EAD41F@12 -C #842E15@13 -C #4D4E21@14 -C #D2D2D2@15 -C #5B5B5B@256 -C #242424@257 -C #5B5B5B@258 -C #1B1B1B@259
|
||||
|
||||
2
st-scripts/stcolors/blizzard-orb
Normal file
2
st-scripts/stcolors/blizzard-orb
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #000000@0 -C #6688AA@1 -C #94B6CC@2 -C #4C6E84@3 -C #6688AA@4 -C #94B6CC@5 -C #4C6E84@6 -C #87875F@7 -C #000000@8 -C #6688AA@9 -C #94B6CC@10 -C #4C6E84@11 -C #6688AA@12 -C #94B6CC@13 -C #4C6E84@14 -C #87875F@15 -C #94B6CC@256 -C #15374d@257 -C #111111@258 -C #FCFCFC@259
|
||||
|
||||
2
st-scripts/stcolors/bloodmoon
Normal file
2
st-scripts/stcolors/bloodmoon
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #202020@0 -C #b91e2e@1 -C #81957c@2 -C #f9bb80@3 -C #356579@4 -C #2d2031@5 -C #0b3452@6 -C #909090@7 -C #606060@8 -C #d14548@9 -C #a7b79a@10 -C #fae3a0@11 -C #7491a1@12 -C #87314e@13 -C #0f829d@14 -C #fff0f0@15 -C #d2c5bc@256 -C #53463d@257 -C #d2c5bc@258 -C #2a0d0d@259
|
||||
|
||||
2
st-scripts/stcolors/bluepanels
Normal file
2
st-scripts/stcolors/bluepanels
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #191927@0 -C #282f5e@1 -C #2b4593@2 -C #344276@3 -C #4e3a4f@4 -C #61372f@5 -C #6b484c@6 -C #744537@7 -C #905749@8 -C #94431c@9 -C #9f582a@10 -C #a38687@11 -C #e1750f@12 -C #eaaf25@13 -C #fa8e08@14 -C #fca806@15 -C #d3d3d3@256 -C #545454@257 -C #d3d3d3@258 -C #02022d@259
|
||||
|
||||
2
st-scripts/stcolors/brightly
Normal file
2
st-scripts/stcolors/brightly
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #3E3E3E@0 -C #966575@1 -C #659675@2 -C #968665@3 -C #657596@4 -C #756596@5 -C #658E96@6 -C #D0D0D0@7 -C #5D5D5D@8 -C #6E4A56@9 -C #486B53@10 -C #89754E@11 -C #5F7AB1@12 -C #807793@13 -C #126A7B@14 -C #F6F6F6@15 -C #3E3E3E@256 -C #414141@257 -C #3E3E3E@258 -C #F0E9DC@259
|
||||
|
||||
2
st-scripts/stcolors/cheezecake
Normal file
2
st-scripts/stcolors/cheezecake
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #404040@0 -C #B9454B@1 -C #BD8D46@2 -C #F6E497@3 -C #F595A7@4 -C #D28E2A@5 -C #EBCD4F@6 -C #FCFAE1@7 -C #262626@8 -C #E75252@9 -C #DEA552@10 -C #D1C180@11 -C #D1A5AD@12 -C #B47A24@13 -C #B9A659@14 -C #F3F2E7@15 -C #F595A7@256 -C #761628@257 -C #FCFAE1@258 -C #404040@259
|
||||
|
||||
2
st-scripts/stcolors/cinderdontneedcontrast
Normal file
2
st-scripts/stcolors/cinderdontneedcontrast
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #110E0B@0 -C #BE5224@1 -C #8D3D1B@2 -C #754029@3 -C #84533E@4 -C #A67864@5 -C #C6AFA3@6 -C #E8E1DE@7 -C #1B1714@8 -C #A3461F@9 -C #5F2912@10 -C #4C2A1B@11 -C #643F2F@12 -C #835F4F@13 -C #9F8C83@14 -C #D7C9C3@15 -C #D7C9C3@256 -C #584a44@257 -C #D7C9C3@258 -C #110E0B@259
|
||||
|
||||
2
st-scripts/stcolors/coolbeans
Normal file
2
st-scripts/stcolors/coolbeans
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #24262B@0 -C #843C56@1 -C #83A86F@2 -C #A87458@3 -C #4A6AA3@4 -C #66518A@5 -C #4AA36A@6 -C #BCCAE2@7 -C #4A6D55@8 -C #AB4E70@9 -C #A3D18A@10 -C #D3926F@11 -C #6B8BC3@12 -C #9375C7@13 -C #5DCC85@14 -C #DCE9FF@15 -C #BCCAE2@256 -C #3d4b63@257 -C #BCCAE2@258 -C #24262B@259
|
||||
|
||||
2
st-scripts/stcolors/derp
Normal file
2
st-scripts/stcolors/derp
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #111111@0 -C #d36265@1 -C #aece91@2 -C #e7e18c@3 -C #5297cf@4 -C #963c59@5 -C #5e7175@6 -C #bebebe@7 -C #666666@8 -C #ef8171@9 -C #cfefb3@10 -C #fff796@11 -C #74b8ef@12 -C #b85e7b@13 -C #a3babf@14 -C #ffffff@15 -C #AA8800@256 -C #ffffff@257 -C #ffffff@258 -C #003030@259
|
||||
|
||||
2
st-scripts/stcolors/doomidarkocean2
Normal file
2
st-scripts/stcolors/doomidarkocean2
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #000000@0 -C #571dc2@1 -C #14db49@2 -C #403d70@3 -C #385a70@4 -C #384894@5 -C #4f3a5e@6 -C #999999@7 -C #38372c@8 -C #7c54b0@9 -C #a2e655@10 -C #9c6f59@11 -C #323f5c@12 -C #5e6c99@13 -C #667d77@14 -C #ffffff@15 -C #ffffff@256 -C #808080@257 -C #ffffff@258 -C #081f1f@259
|
||||
|
||||
2
st-scripts/stcolors/flowerz
Normal file
2
st-scripts/stcolors/flowerz
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #170E21@0 -C #9C5C5A@1 -C #95AB56@2 -C #C1D155@3 -C #483F5C@4 -C #924E65@5 -C #AEAAA9@6 -C #E0EDE6@7 -C #242120@8 -C #CEAEAD@9 -C #B2BAAA@10 -C #C1D155@11 -C #9D92AA@12 -C #C9A7B2@13 -C #C7CDC1@14 -C #E6F2E6@15 -C #E0EDE6@256 -C #616e67@257 -C #E0EDE6@258 -C #170E21@259
|
||||
|
||||
2
st-scripts/stcolors/jeenz
Normal file
2
st-scripts/stcolors/jeenz
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #081A1A@0 -C #905050@1 -C #507050@2 -C #A08050@3 -C #506070@4 -C #605070@5 -C #706050@6 -C #D0DADA@7 -C #182A2A@8 -C #C26D6D@9 -C #74A374@10 -C #D4A96A@11 -C #748CA3@12 -C #A286BD@13 -C #A38C74@14 -C #DAE0E0@15 -C #D0DADA@256 -C #515b5b@257 -C #D0DADA@258 -C #0A0D0D@259
|
||||
|
||||
2
st-scripts/stcolors/jmbi-greenbg
Normal file
2
st-scripts/stcolors/jmbi-greenbg
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #5a7260@0 -C #8f423c@1 -C #bbbb88@2 -C #f9d25b@3 -C #e0ba69@4 -C #709289@5 -C #d13516@6 -C #efe2e0@7 -C #8da691@8 -C #eeaa88@9 -C #ccc68d@10 -C #eedd99@11 -C #c9b957@12 -C #ffcbab@13 -C #c25431@14 -C #f9f1ed@15 -C #ffffff@256 -C #808080@257 -C #ffffff@258 -C #061f03@259
|
||||
|
||||
2
st-scripts/stcolors/leatherface
Normal file
2
st-scripts/stcolors/leatherface
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #222222@0 -C #997373@1 -C #999973@2 -C #997E63@3 -C #738099@4 -C #857399@5 -C #7A9998@6 -C #B3B3B3@7 -C #331C1C@8 -C #995454@9 -C #999954@10 -C #CC9E70@11 -C #7090CC@12 -C #A685CC@13 -C #8FCCCA@14 -C #CCCCCC@15 -C #E6D4C3@256 -C #675544@257 -C #E6D4C3@258 -C #282222@259
|
||||
|
||||
2
st-scripts/stcolors/lightsnapple
Normal file
2
st-scripts/stcolors/lightsnapple
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #1B0B10@0 -C #82354F@1 -C #803466@2 -C #4F3480@3 -C #346580@4 -C #348068@5 -C #6E804D@6 -C #B3A49A@7 -C #241016@8 -C #B33E65@9 -C #B33E8C@10 -C #673EB3@11 -C #3E8AB3@12 -C #3EB38C@13 -C #9AB36B@14 -C #CCBBB0@15 -C #1B0B10@256 -C #64746f@257 -C #1B0B10@258 -C #CCBBB0@259
|
||||
|
||||
2
st-scripts/stcolors/mostly-awful
Normal file
2
st-scripts/stcolors/mostly-awful
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #151413@0 -C #A3847A@1 -C #A2A37A@2 -C #A3947A@3 -C #7988A2@4 -C #A37A91@5 -C #7AA39D@6 -C #E0DBD3@7 -C #2F2D2B@8 -C #BF451E@9 -C #DFE340@10 -C #F9B43C@11 -C #3572DE@12 -C #B52074@13 -C #41F8DD@14 -C #EFEAE1@15 -C #E0DBD3@256 -C #615c54@257 -C #E0DBD3@258 -C #191817@259
|
||||
|
||||
2
st-scripts/stcolors/n-vert
Normal file
2
st-scripts/stcolors/n-vert
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #101215@0 -C #EE3366@1 -C #AAEE66@2 -C #DDEE77@3 -C #4477EE@4 -C #6655EE@5 -C #44DDEE@6 -C #FEEEEE@7 -C #101215@8 -C #EE3366@9 -C #AAEE66@10 -C #DDEE77@11 -C #4477EE@12 -C #6655EE@13 -C #44DDEE@14 -C #FFFFFF@15 -C #AAEE66@256 -C #2b6f19@257 -C #AAEE66@258 -C #101215@259
|
||||
|
||||
2
st-scripts/stcolors/navy-and-ivory
Normal file
2
st-scripts/stcolors/navy-and-ivory
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #032c36@0 -C #c2454e@1 -C #7cbf9e@2 -C #8a7a63@3 -C #2e3340@4 -C #ff5879@5 -C #44b5b1@6 -C #f2f1b9@7 -C #065f73@8 -C #ef5847@9 -C #a2d9b1@10 -C #beb090@11 -C #61778d@12 -C #ff99a1@13 -C #9ed9d8@14 -C #f6f6c9@15 -C #e8dfd6@256 -C #696057@257 -C #e8dfd6@258 -C #021b21@259
|
||||
|
||||
2
st-scripts/stcolors/omgbeckylookatthatbruiseitissobright
Normal file
2
st-scripts/stcolors/omgbeckylookatthatbruiseitissobright
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #3C3E3C@0 -C #AC4C64@1 -C #5ACC77@2 -C #AC8B4C@3 -C #5A77CC@4 -C #A14CAC@5 -C #5AB3CC@6 -C #EFF3F0@7 -C #545855@8 -C #AC4C64@9 -C #4CAC64@10 -C #AB894B@11 -C #4C64AC@12 -C #A04BAB@13 -C #4B96AB@14 -C #F2F6F3@15 -C #545855@256 -C #2b272a@257 -C #545855@258 -C #F0F4F5@259
|
||||
|
||||
2
st-scripts/stcolors/petals-dark-as-fuck
Normal file
2
st-scripts/stcolors/petals-dark-as-fuck
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #020002@0 -C #B52F6A@1 -C #6C60AA@2 -C #A68189@3 -C #AC428A@4 -C #610064@5 -C #252B4F@6 -C #FEEECA@7 -C #220211@8 -C #FF7C87@9 -C #AA96DD@10 -C #FF9D80@11 -C #A94F8F@12 -C #B080B2@13 -C #9295A7@14 -C #FFFCE9@15 -C #FFFCE9@256 -C #807d6a@257 -C #FFFCE9@258 -C #020002@259
|
||||
|
||||
2
st-scripts/stcolors/plastic-toys
Normal file
2
st-scripts/stcolors/plastic-toys
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #222222@0 -C #EB0000@1 -C #AAEB00@2 -C #EEBB00@3 -C #00AAEB@4 -C #EBAAEB@5 -C #00EBEB@6 -C #EBEBEB@7 -C #111111@8 -C #AB0000@9 -C #66AA00@10 -C #AA7700@11 -C #0066AA@12 -C #AA66AA@13 -C #00AAAA@14 -C #FAFAFA@15 -C #EBEBEB@256 -C #6c6c6c@257 -C #EBEBEB@258 -C #222222@259
|
||||
|
||||
2
st-scripts/stcolors/purpariso
Normal file
2
st-scripts/stcolors/purpariso
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #2f1e2e@0 -C #a63d34@1 -C #33825f@2 -C #ba8f12@3 -C #0486b0@4 -C #5c4175@5 -C #3f8885@6 -C #6d6a68@7 -C #7b5376@8 -C #ef6155@9 -C #48b685@10 -C #fec418@11 -C #06b6ef@12 -C #815ba4@13 -C #5bc4bf@14 -C #e7e9db@15 -C #421f1c@256 -C #3a9e9b@257 -C #a39e9b@258 -C #2f1e2e@259
|
||||
|
||||
2
st-scripts/stcolors/rosewould
Normal file
2
st-scripts/stcolors/rosewould
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #27231F@0 -C #C8BBA0@1 -C #DBCBAF@2 -C #BBA883@3 -C #B08D94@4 -C #8A6E74@5 -C #855D65@6 -C #FAE3BB@7 -C #201E19@8 -C #B0935A@9 -C #8A6A31@10 -C #856324@11 -C #B05264@12 -C #8A3243@13 -C #852437@14 -C #FABCC8@15 -C #FAE3BB@256 -C #7b643c@257 -C #FAE3BB@258 -C #27231F@259
|
||||
|
||||
2
st-scripts/stcolors/sea-fox
Normal file
2
st-scripts/stcolors/sea-fox
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #212121@0 -C #B54C4C@1 -C #B5884C@2 -C #B5B54C@3 -C #B54C77@4 -C #4CB597@5 -C #4CA7B5@6 -C #A7B3B5@7 -C #3E3E3E@8 -C #D73333@9 -C #EDA039@10 -C #ECEC3A@11 -C #E03178@12 -C #21D9A4@13 -C #36CFE7@14 -C #E8F9FC@15 -C #B6B64C@256 -C #373733@257 -C #B6B64C@258 -C #212121@259
|
||||
|
||||
2
st-scripts/stcolors/sour-candy
Normal file
2
st-scripts/stcolors/sour-candy
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #231D20@0 -C #C81C61@1 -C #1CA6C8@2 -C #1CC872@3 -C #C8681C@4 -C #C81CA3@5 -C #B1C81C@6 -C #C7C8BE@7 -C #1D171A@8 -C #DB0057@9 -C #22C8F1@10 -C #21E884@11 -C #E57720@12 -C #DF1FB5@13 -C #D0EB21@14 -C #ECEDE1@15 -C #47C8BE@256 -C #c8493f@257 -C #C7C8BE@258 -C #231D20@259
|
||||
|
||||
2
st-scripts/stcolors/sourceror
Normal file
2
st-scripts/stcolors/sourceror
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #111111@0 -C #AA4450@1 -C #719611@2 -C #CC8800@3 -C #6688AA@4 -C #8F6F8F@5 -C #528B8B@6 -C #D3D3D3@7 -C #181818@8 -C #FF6A6A@9 -C #B1D631@10 -C #FF9800@11 -C #90B0D1@12 -C #8181A6@13 -C #87CEEB@14 -C #C1CDC1@15 -C #C2C2B0@256 -C #434331@257 -C #C2C2B0@258 -C #222222@259
|
||||
|
||||
2
st-scripts/stcolors/tango
Normal file
2
st-scripts/stcolors/tango
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #2e3436@0 -C #cc0000@1 -C #4e9a06@2 -C #c4a000@3 -C #3465a4@4 -C #75507b@5 -C #06989a@6 -C #d3d7cf@7 -C #555753@8 -C #ef2929@9 -C #8ae234@10 -C #fce94f@11 -C #729fcf@12 -C #ad7fa8@13 -C #34e2e2@14 -C #eeeeec@15 -C #00D030@256 -C #babdb6@257 -C #babdb6@258 -C #000010@259
|
||||
|
||||
2
st-scripts/stcolors/visibone
Normal file
2
st-scripts/stcolors/visibone
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #666666@0 -C #cc6666@1 -C #66cc99@2 -C #cc9966@3 -C #6699cc@4 -C #cc6699@5 -C #66cccc@6 -C #cccccc@7 -C #999999@8 -C #ff9999@9 -C #99ffcc@10 -C #ffcc99@11 -C #99ccff@12 -C #ff99cc@13 -C #99ffff@14 -C #ffffff@15 -C #ee88bb@256 -C #4477aa@257 -C #ffffff@258 -C #010101@259
|
||||
|
||||
2
st-scripts/stcolors/woodlands
Normal file
2
st-scripts/stcolors/woodlands
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-C #2B1D1D@0 -C #45352E@1 -C #5E513F@2 -C #787250@3 -C #8B9161@4 -C #93AB72@5 -C #97C484@6 -C #96DE95@7 -C #5E4949@8 -C #78685D@9 -C #918370@10 -C #ABA584@11 -C #BFC497@12 -C #C9DEAB@13 -C #A5C497@14 -C #ACDEAB@15 -C #3C3C3C@256 -C #434343@257 -C #ACACAC@258 -C #121212@259
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue