diff options
| author | BossCode45 <human.cyborg42@gmail.com> | 2022-12-14 17:46:48 +1300 |
|---|---|---|
| committer | BossCode45 <human.cyborg42@gmail.com> | 2022-12-14 17:46:48 +1300 |
| commit | 6ea2604001ccfa597ae729681f37b3d7bbef3a1a (patch) | |
| tree | b02c36af0bee4e84d4bd8b76c5b80c7f0734385d /config.h | |
| parent | 599664b8c9d7754d5a073fe2e4e129535f5fbd73 (diff) | |
| download | YATwm-6ea2604001ccfa597ae729681f37b3d7bbef3a1a.tar.gz YATwm-6ea2604001ccfa597ae729681f37b3d7bbef3a1a.zip | |
Multiple monitors kinda working
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -5,7 +5,12 @@ #include <string> //Startup -const std::string startup[] = {"picom -fD 3", "feh --bg-scale /usr/share/backgrounds/vapor_trails_blue.png", "~/.config/polybar/launch.sh", "emacs --daemon"}; +const std::string startup[] = { + //"picom -fD 3", + "feh --bg-scale /usr/share/backgrounds/vapor_trails_blue.png", + //"~/.config/polybar/launch.sh", + //"emacs --daemon" +}; //Main config // Sensible gaps @@ -64,11 +69,14 @@ KEYCOM(focChange); KEYCOM(wMove); KEYCOM(bashSpawn); KEYCOM(reload); +KEYCOM(wsDump); +KEYCOM(nextMonitor); // Super key mod #define MOD Mod4Mask +#define ALT Mod1Mask // Alt key mod -//#define MOD Mod1Mask +// #define MOD Mod1Mask #define SHIFT ShiftMask // Programs to run for keybinds @@ -78,7 +86,7 @@ const char* qutebrowser[] = {"qutebrowser", NULL}; const char* i3lock[] = {"i3lock", "-eti", "/usr/share/backgrounds/lockscreen.png", NULL}; const char* suspend[] = {"systemctl", "suspend", NULL}; -// Script to run for keybinds +// Scripts to run for keybinds // Script I made to run an xrandr command const char* monConfig[] = {"~/.yat_commands/monitor-config.sh"}; @@ -101,11 +109,14 @@ const Key keyBinds[] = { {MOD|SHIFT, XK_x, spawn, {.str = suspend}}, {MOD, XK_m, bashSpawn, {.str = monConfig}}, {MOD|SHIFT, XK_r, reload, {NULL}}, + // Testing + {MOD, XK_p, wsDump, {NULL}}, // Focus {MOD, XK_h, focChange, {.dir = Left}}, {MOD, XK_j, focChange, {.dir = Down}}, {MOD, XK_k, focChange, {.dir = Up}}, {MOD, XK_l, focChange, {.dir = Right}}, + {ALT, XK_Tab, nextMonitor, {NULL}}, // Window moving {MOD|SHIFT, XK_h, wMove, {.dir = Left}}, {MOD|SHIFT, XK_j, wMove, {.dir = Down}}, |
