💾 Archived View for gemini.rmf-dev.com › repo › Vaati › Menkar › files › d42b774bf32aa43fe353f8ae3e7… captured on 2023-05-24 at 18:30:20. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-03-20)

➡️ Next capture (2023-09-08)

-=-=-=-=-=-=-

0 #if !defined(GLOBAL_H)

1 #define GLOBAL_H

2

3 /*

4 * Copyright 2006 Johan Veenhuizen

5 *

6 * Permission is hereby granted, free of charge, to any person obtaining a

7 * copy of this software and associated documentation files (the "Software"),

8 * to deal in the Software without restriction, including without limitation

9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,

10 * and/or sell copies of the Software, and to permit persons to whom the

11 * Software is furnished to do so, subject to the following conditions:

12 *

13 * The above copyright notice and this permission notice shall be included

14 * in all copies or substantial portions of the Software.

15 *

16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR

17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL

19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER

20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER

22 * DEALINGS IN THE SOFTWARE.

23 */

24 #define XINERAMA

25 #include <X11/Xlib.h>

26 #ifdef XINERAMA

27 #include <X11/extensions/Xinerama.h>

28 #endif

29

30 #include "lib.h"

31

32 #define DEFAULT_FONT "-*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1"

33 #define PANEL "tint2"

34 #define TERM "st"

35 #define LOCK "slock"

36 #define LOCK_TIME 300

37 #define EXTERN_LOCK

38 #define SHELL "/usr/bin"

39 #define SCREENSHOT "maim -s | xclip -selection clipboard -t image/png"

40

41 extern Display *display;

42 extern int screen;

43 extern Window root;

44 extern XFontStruct *font;

45

46 extern int border_width;

47 extern int button_size;

48 extern int title_pad;

49 extern int panel_height;

50

51 extern IMAGE delete_image;

52 extern IMAGE unmap_image;

53 extern IMAGE expand_image;

54 extern IMAGE expanded_image;

55

56 extern struct window *active;

57

58 extern struct menu *winmenu;

59

60 extern struct color color_title_active_fg;

61 extern struct color color_title_active_bg;

62 extern struct color color_title_inactive_fg;

63 extern struct color color_title_inactive_bg;

64 extern struct color color_menu_fg;

65 extern struct color color_menu_bg;

66 extern struct color color_menu_selection_fg;

67 extern struct color color_menu_selection_bg;

68

69 #endif /* !defined(GLOBAL_H) */

70