Now use tcc by default
This commit is contained in:
parent
c60ca0e1d3
commit
d79c85fbfb
1
TODO
1
TODO
|
@ -1,5 +1,4 @@
|
|||
speedwm 0.6 to-do list
|
||||
- Fix full screen when using rounded corners (Temporary solution: Disable roundedcorners in speedwmrc)
|
||||
- Escape special characters in status bar (such as &)
|
||||
- Add compatibility with the tcc compiler (Main issue is the transparency)
|
||||
- Add awesomebar (show all windows in taskbar) toggle (int hideothertitle?) Check musl, NixOS and BSD support
|
||||
|
|
4
colors.h
4
colors.h
|
@ -41,9 +41,9 @@ static char *colstatus[] = {
|
|||
col_status15,
|
||||
};
|
||||
|
||||
/* Colors to use for opacity
|
||||
/* Alpha to use for opacity
|
||||
*/
|
||||
static const unsigned int alphas[][3] = {
|
||||
static unsigned int alphas[][3] = {
|
||||
/* fg bg border/unused */
|
||||
[SchemeBar] = { OPAQUE, baropacity, baropacity },
|
||||
[SchemeNormTitle] = { OPAQUE, normtitleopacity, normtitleopacity },
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
-- Dependencies --
|
||||
These are absolutely necessary, speedwm will NOT compile without them
|
||||
- libxft-bgra (Can be installed through 'make <distro>-libxftfix')
|
||||
- NOTE: libXft will do but will cause speedwm and as such all your applications to crash if a colored emoji is displayed in the status bar. This includes the Emoji picker.
|
||||
- libxft
|
||||
- libXinerama
|
||||
- Can be disabled through editing toggle.mk if you're not interested in multiple monitors.
|
||||
- imlib2
|
||||
- Tag previews, Window icons. Can be disabled through editing toggle.mk and toggle.h if you don't want these features.
|
||||
- yajl
|
||||
- Required for the IPC patch. If the IPC patch is disabled, you do not need this.
|
||||
- tcc
|
||||
- Very minimal C compiler that speedwm uses to speed up compile times. If you don't want this dependency, edit host.mk and set CC to 'cc' (or what you prefer).
|
||||
|
||||
-- Features --
|
||||
These are necessary for certain features. By default speedwm will prevent an installation without them but you can bypass these if you want.
|
||||
|
|
2
host.mk
2
host.mk
|
@ -2,7 +2,7 @@
|
|||
# See README.md for more options.
|
||||
|
||||
# Compiler
|
||||
CC = cc
|
||||
CC = tcc
|
||||
|
||||
# Paths
|
||||
# These should be fine for most users but if you use a distribution of GNU/Linux like NixOS or GNU Guix, consider changing this to fit your use case.
|
||||
|
|
22
options.h
22
options.h
|
@ -303,17 +303,17 @@ static char col_status15[] = "#ffffff";
|
|||
* You can also set OPAQUE and TRANSPARENT which are the same as 0 and 255 respectively.
|
||||
* To completely disable alpha, disable it in toggle.h.
|
||||
*/
|
||||
static const unsigned int baropacity = 160; /* Opacity for the overall bar */
|
||||
static const unsigned int layoutopacity = 160; /* Opacity for the layout indicator */
|
||||
static const unsigned int tagnormopacity = OPAQUE; /* Opacity for other tags */
|
||||
static const unsigned int tagselopacity = 160; /* Opacity for the selected tag */
|
||||
static const unsigned int normtitleopacity = 160; /* Opacity for all other windows in the speedwm bar */
|
||||
static const unsigned int seltitleopacity = 160; /* Opacity for the focused window in the speedwm bar */
|
||||
static const unsigned int normborderopacity = OPAQUE; /* Opacity for the all window borders except selected */
|
||||
static const unsigned int selborderopacity = OPAQUE; /* Opacity for the selected window border */
|
||||
static const unsigned int hiddenopacity = 0; /* Opacity for hidden/minimized windows */
|
||||
static const unsigned int statusopacity = 160; /* Opacity for speedwm status bar */
|
||||
static const unsigned int systrayopacity = 160; /* Opacity for the speedwm built in systray */
|
||||
#define baropacity 160 /* Opacity for the overall bar */
|
||||
#define layoutopacity 160 /* Opacity for the layout indicator */
|
||||
#define tagnormopacity OPAQUE /* Opacity for other tags */
|
||||
#define tagselopacity 160 /* Opacity for the selected tag */
|
||||
#define normtitleopacity 160 /* Opacity for all other windows in the speedwm bar */
|
||||
#define seltitleopacity 160 /* Opacity for the focused window in the speedwm bar */
|
||||
#define normborderopacity OPAQUE /* Opacity for the all window borders except selected */
|
||||
#define selborderopacity OPAQUE /* Opacity for the selected window border */
|
||||
#define hiddenopacity 0 /* Opacity for hidden/minimized windows */
|
||||
#define statusopacity 160 /* Opacity for speedwm status bar */
|
||||
#define systrayopacity 160 /* Opacity for the speedwm built in systray */
|
||||
|
||||
/* Tag text options
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue