mirror of
https://github.com/javalsai/lidm.git
synced 2025-09-01 02:47:59 +02:00
lint: apply new style
This commit is contained in:
@@ -10,32 +10,32 @@
|
||||
// should be ansi escape codes under \x1b[...m
|
||||
// if not prepared accordingly, it might break
|
||||
struct theme_colors {
|
||||
char *bg;
|
||||
char *fg;
|
||||
char *err;
|
||||
char *s_wayland;
|
||||
char *s_xorg;
|
||||
char *s_shell;
|
||||
char *e_hostname;
|
||||
char *e_date;
|
||||
char *e_box;
|
||||
char *e_header;
|
||||
char *e_user;
|
||||
char *e_passwd;
|
||||
char *e_badpasswd;
|
||||
char *e_key;
|
||||
char* bg;
|
||||
char* fg;
|
||||
char* err;
|
||||
char* s_wayland;
|
||||
char* s_xorg;
|
||||
char* s_shell;
|
||||
char* e_hostname;
|
||||
char* e_date;
|
||||
char* e_box;
|
||||
char* e_header;
|
||||
char* e_user;
|
||||
char* e_passwd;
|
||||
char* e_badpasswd;
|
||||
char* e_key;
|
||||
};
|
||||
|
||||
// even if they're multiple bytes long
|
||||
// they should only take up 1 char size on display
|
||||
struct theme_chars {
|
||||
char *hb;
|
||||
char *vb;
|
||||
char* hb;
|
||||
char* vb;
|
||||
|
||||
char *ctl;
|
||||
char *ctr;
|
||||
char *cbl;
|
||||
char *cbr;
|
||||
char* ctl;
|
||||
char* ctr;
|
||||
char* cbl;
|
||||
char* cbr;
|
||||
};
|
||||
|
||||
struct theme {
|
||||
@@ -50,14 +50,14 @@ struct functions {
|
||||
};
|
||||
|
||||
struct strings {
|
||||
char *f_poweroff;
|
||||
char *f_reboot;
|
||||
char *f_refresh;
|
||||
char *e_user;
|
||||
char *e_passwd;
|
||||
char *s_wayland;
|
||||
char *s_xorg;
|
||||
char *s_shell;
|
||||
char* f_poweroff;
|
||||
char* f_reboot;
|
||||
char* f_refresh;
|
||||
char* e_user;
|
||||
char* e_passwd;
|
||||
char* s_wayland;
|
||||
char* s_xorg;
|
||||
char* s_shell;
|
||||
};
|
||||
|
||||
struct behavior {
|
||||
@@ -74,9 +74,10 @@ struct config {
|
||||
};
|
||||
|
||||
bool line_parser(
|
||||
FILE *fd, ssize_t *blksize,
|
||||
u_char (*cb)(char *key,
|
||||
char *value)); // might use this for parsing .desktop files too
|
||||
struct config *parse_config(char *path);
|
||||
FILE* fd,
|
||||
ssize_t* blksize,
|
||||
u_char (*cb)(char* key,
|
||||
char* value)); // might use this for parsing .desktop files too
|
||||
struct config* parse_config(char* path);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user