code-style: shuffle global variables - sfeed_curses - sfeed curses UI (now part of sfeed, development is in sfeed)
(HTM) git clone git://git.codemadness.org/sfeed_curses
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit d4b43904cf55ed616524e241ae5e4b191e1e22d5
(DIR) parent d05e1dd6754f12dfe86e43545d26c7cdaccff3c9
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 10 Mar 2021 17:15:45 +0100
code-style: shuffle global variables
Diffstat:
M sfeed_curses.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
---
(DIR) diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -39,17 +39,6 @@
#endif
#include SFEED_THEME
-static char *plumbercmd = "xdg-open"; /* env variable: $SFEED_PLUMBER */
-static char *pipercmd = "sfeed_content"; /* env variable: $SFEED_PIPER */
-static char *yankercmd = "xclip -r"; /* env variable: $SFEED_YANKER */
-static char *markreadcmd = "sfeed_markread read"; /* env variable: $SFEED_MARK_READ */
-static char *markunreadcmd = "sfeed_markread unread"; /* env variable: $SFEED_MARK_UNREAD */
-static char *cmdenv; /* env variable: $SFEED_AUTOCMD */
-static int plumberia = 0; /* env variable: $SFEED_PLUMBER_INTERACTIVE */
-static int piperia = 1; /* env variable: $SFEED_PIPER_INTERACTIVE */
-static int yankeria = 0; /* env variable: $SFEED_YANKER_INTERACTIVE */
-static int lazyload = 0; /* env variable: $SFEED_LAZYLOAD */
-
enum {
ATTR_RESET = 0, ATTR_BOLD_ON = 1, ATTR_FAINT_ON = 2, ATTR_REVERSE_ON = 7
};
@@ -174,6 +163,17 @@ static size_t nurls;
volatile sig_atomic_t sigstate = 0;
+static char *plumbercmd = "xdg-open"; /* env variable: $SFEED_PLUMBER */
+static char *pipercmd = "sfeed_content"; /* env variable: $SFEED_PIPER */
+static char *yankercmd = "xclip -r"; /* env variable: $SFEED_YANKER */
+static char *markreadcmd = "sfeed_markread read"; /* env variable: $SFEED_MARK_READ */
+static char *markunreadcmd = "sfeed_markread unread"; /* env variable: $SFEED_MARK_UNREAD */
+static char *cmdenv; /* env variable: $SFEED_AUTOCMD */
+static int plumberia = 0; /* env variable: $SFEED_PLUMBER_INTERACTIVE */
+static int piperia = 1; /* env variable: $SFEED_PIPER_INTERACTIVE */
+static int yankeria = 0; /* env variable: $SFEED_YANKER_INTERACTIVE */
+static int lazyload = 0; /* env variable: $SFEED_LAZYLOAD */
+
int
ttywritef(const char *fmt, ...)
{