git.y1.nz

selk

Keyboard-only rectangle selector for X
download: https://git.y1.nz/archives/selk.tar.gz
README | Files | Log | Refs | LICENSE

config.default.h

      1 const char * line_color_name = "#ff44dd";
      2 
      3 const int sleep_ms = 30;
      4 
      5 const int speed_slow = 2;
      6 const int speed_normal = 12;
      7 const int speed_fast = 24;
      8 
      9 const int border_thin = 2;
     10 const int border_normal = 4;
     11 const int border_thick = 8;
     12 
     13 /* CONTROLS */
     14 #define KEY_SLOW  XK_Shift_L  /* slow */
     15 #define KEY_FAST  XK_Control_L  /* fast */
     16 
     17 /* movement */
     18 #define KEY_UP  XK_k
     19 #define KEY_DOWN  XK_j
     20 #define KEY_LEFT  XK_h
     21 #define KEY_RIGHT  XK_l
     22 
     23 #define KEY_MONITOR  XK_m
     24 #define KEY_WINDOW  XK_n
     25 
     26 #define KEY_CONFIRM  XK_space
     27 #define KEY_CANCEL  XK_Escape

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.