bim: bump to 2.5.0
This commit is contained in:
parent
b2f4900472
commit
1c96d1dfae
1480
apps/bim.c
1480
apps/bim.c
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,7 @@
|
||||
# Last theme config is the preferred theme
|
||||
# Load theme files
|
||||
rundir /usr/share/bim/themes
|
||||
|
||||
# Fallback order - last successful theme "sticks"
|
||||
colorscheme ansi
|
||||
colorscheme sunsmoke256
|
||||
colorscheme sunsmoke
|
||||
|
2
base/home/root/.bimrc
Normal file
2
base/home/root/.bimrc
Normal file
@ -0,0 +1,2 @@
|
||||
rundir /usr/share/bim/themes
|
||||
colorscheme ansi
|
51
base/usr/share/bim/themes/ansi.bimscript
Normal file
51
base/usr/share/bim/themes/ansi.bimscript
Normal file
@ -0,0 +1,51 @@
|
||||
function theme:ansi
|
||||
# First set regular colors
|
||||
setcolor text-fg @7
|
||||
setcolor text-bg @0
|
||||
setcolor alternate-fg @5
|
||||
setcolor alternate-bg @9
|
||||
setcolor number-fg @3
|
||||
setcolor number-bg @9
|
||||
setcolor status-fg @7
|
||||
setcolor status-bg @4
|
||||
setcolor status-alt @4
|
||||
setcolor tabbar-bg @4
|
||||
setcolor tab-bg @4
|
||||
setcolor keyword @4
|
||||
setcolor string @2
|
||||
setcolor comment @5
|
||||
setcolor type @3
|
||||
setcolor pragma @1
|
||||
setcolor numeral @1
|
||||
setcolor error-fg @7
|
||||
setcolor error-bg @1
|
||||
setcolor search-fg @0
|
||||
setcolor search-bg @3
|
||||
setcolor select-bg @7
|
||||
setcolor select-fg @0
|
||||
setcolor red @1
|
||||
setcolor green @2
|
||||
setcolor bold @7
|
||||
setcolor link @4
|
||||
setcolor escape @2
|
||||
|
||||
trycall _ansi_brights
|
||||
|
||||
action redraw_all
|
||||
end
|
||||
|
||||
function _ansi_brights
|
||||
checkprop can_bright
|
||||
setcolor text-fg @17
|
||||
setcolor text-bg @9
|
||||
setcolor alternate-fg @10
|
||||
setcolor status-fg @17
|
||||
setcolor status-alt @14
|
||||
setcolor keyword @14
|
||||
setcolor comment @10
|
||||
setcolor error-fg @17
|
||||
setcolor search-bg @13
|
||||
setcolor select-bg @17
|
||||
setcolor link @14
|
||||
setcolor escape @12
|
||||
end
|
32
base/usr/share/bim/themes/citylights.bimscript
Normal file
32
base/usr/share/bim/themes/citylights.bimscript
Normal file
@ -0,0 +1,32 @@
|
||||
function theme:citylights
|
||||
checkprop can_24bit
|
||||
setcolor text-fg 2;151;178;198
|
||||
setcolor text-bg 2;29;37;44
|
||||
setcolor alternate-fg 2;45;55;65
|
||||
setcolor alternate-bg 2;33;42;50
|
||||
setcolor number-fg 2;71;89;103
|
||||
setcolor number-bg 2;37;47;56
|
||||
setcolor status-fg 2;151;178;198
|
||||
setcolor status-bg 2;53;67;78
|
||||
setcolor status-alt 2;116;144;166
|
||||
setcolor tabbar-bg 2;37;47;56
|
||||
setcolor tab-bg 2;29;37;44
|
||||
setcolor keyword 2;94;196;255
|
||||
setcolor string 2;83;154;252
|
||||
setcolor comment 2;107;133;153;3
|
||||
setcolor type 2;139;212;156
|
||||
setcolor pragma 2;0;139;148
|
||||
setcolor numeral 2;207;118;132
|
||||
setcolor error-fg 5;15
|
||||
setcolor error-bg 5;196
|
||||
setcolor search-fg 5;234
|
||||
setcolor search-bg 5;226
|
||||
setcolor select-fg 2;29;37;44
|
||||
setcolor select-bg 2;151;178;198
|
||||
setcolor red 2;222;53;53
|
||||
setcolor green 2;55;167;0
|
||||
setcolor bold 2;151;178;198;1
|
||||
setcolor link 2;94;196;255;4
|
||||
setcolor escape 2;133;182;249
|
||||
action redraw_all
|
||||
end
|
34
base/usr/share/bim/themes/light.bimscript
Normal file
34
base/usr/share/bim/themes/light.bimscript
Normal file
@ -0,0 +1,34 @@
|
||||
# A light color scheme
|
||||
# Based on selenized by Jan Warchoł
|
||||
function theme:light
|
||||
checkprop can_24bit
|
||||
|
||||
setcolor text-fg 2;57;76;82
|
||||
setcolor text-bg 2;250;242;218
|
||||
setcolor alternate-fg 2;144;153;149
|
||||
setcolor alternate-bg 2;236;227;204
|
||||
setcolor number-fg 2;57;76;82
|
||||
setcolor number-bg 2;212;204;181
|
||||
setcolor status-fg 2;82;102;109
|
||||
setcolor status-bg 2;212;204;181
|
||||
setcolor status-alt 2;129;61;19
|
||||
setcolor tab-bg 2;212;204;181
|
||||
setcolor tabbar-bg 2;236;227;204
|
||||
setcolor error-fg 5;15
|
||||
setcolor error-bg 5;196
|
||||
setcolor search-fg 5;234
|
||||
setcolor search-bg 5;226
|
||||
setcolor keyword 2;0;114;212;1
|
||||
setcolor string 2;72;145;0
|
||||
setcolor comment 2;144;153;149;3
|
||||
setcolor type 2;193;92;29
|
||||
setcolor pragma 2;210;33;45;1
|
||||
setcolor numeral 2;202;72;152;1
|
||||
setcolor select-fg 2;213;205;182
|
||||
setcolor select-bg 2;144;153;149
|
||||
setcolor red 2;222;53;53
|
||||
setcolor green 2;55;167;0
|
||||
setcolor bold 2;57;76;82;1
|
||||
setcolor link 2;0;114;212;4
|
||||
setcolor escape 2;0;156;143
|
||||
end
|
32
base/usr/share/bim/themes/solarized.bimscript
Normal file
32
base/usr/share/bim/themes/solarized.bimscript
Normal file
@ -0,0 +1,32 @@
|
||||
function theme:solarized_dark
|
||||
checkprop can_24bit
|
||||
setcolor text-fg 2;147;161;161
|
||||
setcolor text-bg 2;0;43;54
|
||||
setcolor alternate-fg 2;147;161;161
|
||||
setcolor alternate-bg 2;7;54;66
|
||||
setcolor number-fg 2;131;148;149
|
||||
setcolor number-bg 2;7;54;66
|
||||
setcolor status-fg 2;131;148;150
|
||||
setcolor status-bg 2;7;54;66
|
||||
setcolor status-alt 2;133;153;0
|
||||
setcolor tabbar-bg 2;7;54;66
|
||||
setcolor tab-bg 2;131;148;150
|
||||
setcolor keyword 2;133;153;0
|
||||
setcolor string 2;42;161;152
|
||||
setcolor comment 2;101;123;131
|
||||
setcolor type 2;181;137;0
|
||||
setcolor pragma 2;203;75;22
|
||||
setcolor numeral 2;220;50;47
|
||||
setcolor error-fg 5;15
|
||||
setcolor error-bg 5;196
|
||||
setcolor search-fg 5;234
|
||||
setcolor search-bg 5;226
|
||||
setcolor select-fg 2;0;43;54
|
||||
setcolor select-bg 2;147;161;161
|
||||
setcolor red 2;222;53;53
|
||||
setcolor green 2;55;167;0
|
||||
setcolor bold 2;147;161;161;1
|
||||
setcolor link 2;42;161;152;4
|
||||
setcolor escape 2;133;153;0
|
||||
action redraw_all
|
||||
end
|
68
base/usr/share/bim/themes/sunsmoke.bimscript
Normal file
68
base/usr/share/bim/themes/sunsmoke.bimscript
Normal file
@ -0,0 +1,68 @@
|
||||
# Sunsmoke Color Scheme
|
||||
function theme:sunsmoke
|
||||
checkprop can_24bit
|
||||
|
||||
setcolor text-fg 2;230;230;230
|
||||
setcolor text-bg 2;31;31;31
|
||||
setcolor alternate-fg 2;122;122;122
|
||||
setcolor alternate-bg 2;46;43;46
|
||||
setcolor number-fg 2;150;139;57
|
||||
setcolor number-bg 2;0;0;0
|
||||
setcolor status-fg 2;230;230;230
|
||||
setcolor status-bg 2;71;64;58
|
||||
setcolor status-alt 2;122;122;122
|
||||
setcolor tabbar-bg 2;71;64;58
|
||||
setcolor tab-bg 2;71;64;58
|
||||
setcolor keyword 2;51;162;230
|
||||
setcolor string 2;72;176;72
|
||||
setcolor comment 2;158;153;129;3
|
||||
setcolor type 2;230;206;110
|
||||
setcolor pragma 2;194;70;54
|
||||
setcolor numeral 2;230;43;127
|
||||
setcolor error-fg 5;15
|
||||
setcolor error-bg 5;196
|
||||
setcolor search-fg 5;234
|
||||
setcolor search-bg 5;226
|
||||
setcolor select-fg 2;0;43;54
|
||||
setcolor select-bg 2;147;161;161
|
||||
setcolor red 2;222;53;53
|
||||
setcolor green 2;55;167;0
|
||||
setcolor bold 2;230;230;230;1
|
||||
setcolor link 2;51;162;230;4
|
||||
setcolor escape 2;113;203;173
|
||||
end
|
||||
|
||||
function theme:sunsmoke256
|
||||
checkprop can_256color
|
||||
setcolor text-fg 5;188
|
||||
setcolor text-bg 5;234
|
||||
setcolor alternate-fg 5;244
|
||||
setcolor alternate-bg 5;236
|
||||
setcolor number-fg 5;101
|
||||
setcolor number-bg 5;232
|
||||
setcolor status-fg 5;188
|
||||
setcolor status-bg 5;59
|
||||
setcolor status-alt 5;244
|
||||
setcolor tabbar-bg 5;59
|
||||
setcolor tab-bg 5;59
|
||||
setcolor keyword 5;74
|
||||
setcolor string 5;71
|
||||
setcolor comment 5;102
|
||||
setcolor type 5;221
|
||||
setcolor pragma 5;160
|
||||
setcolor numeral 5;161
|
||||
setcolor error-fg 5;15
|
||||
setcolor error-bg 5;196
|
||||
setcolor search-fg 5;234
|
||||
setcolor search-bg 5;226
|
||||
setcolor select-fg 5;17
|
||||
setcolor select-bg 5;109
|
||||
setcolor red @1
|
||||
setcolor green @2
|
||||
setcolor bold 5;188;1
|
||||
setcolor link 5;74;4
|
||||
setcolor escape 5;79
|
||||
|
||||
checkprop can_italic
|
||||
setcolor comment 5;102;3
|
||||
end
|
39
base/usr/share/bim/themes/wombat.bimscript
Normal file
39
base/usr/share/bim/themes/wombat.bimscript
Normal file
@ -0,0 +1,39 @@
|
||||
# Wombat 256-color theme
|
||||
function theme:wombat
|
||||
checkprop can_256color
|
||||
setcolor text-fg 5;230
|
||||
setcolor text-bg 5;235
|
||||
setcolor alternate-fg 5;244
|
||||
setcolor alternate-bg 5;236
|
||||
setcolor number-bg 5;232
|
||||
setcolor number-fg 5;101
|
||||
setcolor status-fg 5;230
|
||||
setcolor status-bg 5;238
|
||||
setcolor status-alt 5;186
|
||||
setcolor tabbar-bg 5;230
|
||||
setcolor tab-bg 5;248
|
||||
setcolor keyword 5;117
|
||||
setcolor string 5;113
|
||||
setcolor comment 5;102
|
||||
setcolor type 5;186
|
||||
setcolor pragma 5;173
|
||||
setcolor numeral 5;173
|
||||
setcolor error-fg 5;15
|
||||
setcolor error-bg 5;196
|
||||
setcolor search-fg 5;234
|
||||
setcolor search-bg 5;226
|
||||
setcolor select-fg 5;235
|
||||
setcolor select-bg 5;230
|
||||
setcolor red @1
|
||||
setcolor green @2
|
||||
setcolor bold 5;230;1
|
||||
setcolor link 5;117;4
|
||||
setcolor escape 5;194
|
||||
trycall _sunsmoke_italics
|
||||
action redraw_all
|
||||
end
|
||||
|
||||
function _sunsmoke_italics
|
||||
checkprop can_italic
|
||||
setcolor comment 5;102;3
|
||||
end
|
Loading…
Reference in New Issue
Block a user