archy-dwm/src/config.h

67 lines
3.3 KiB
C
Raw Normal View History

2022-04-23 05:48:31 +00:00
/* See LICENSE file for copyright and license details. */
/* def */
2022-10-27 17:34:21 +00:00
#define WEBBROWSER "firefox-developer-edition"
#define TERMINAL "kitty"
2022-04-25 12:34:26 +00:00
2022-04-23 05:48:31 +00:00
/* appearance */
2022-04-23 06:07:45 +00:00
static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int gappx = 3; /* gaps size between windows */
2022-04-23 05:48:31 +00:00
static const unsigned int snap = 32; /* snap pixel */
2022-04-23 21:59:02 +00:00
static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
static const unsigned int systrayonleft = 0; /* 0: systray in the right corner, >0: systray on left of status text */
static const unsigned int systrayspacing = 2; /* systray spacing */
static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/
static const int showsystray = 1; /* 0 means no systray */
2022-04-23 05:48:31 +00:00
static const int showbar = 1; /* 0 means no bar */
2022-10-27 17:34:21 +00:00
static const int topbar = 1; /* 0 means bottom bar */
2022-08-02 09:59:09 +00:00
static const char *fonts[] = { "monospace:size=7", "Noto Color Emoji:size=8", "Nerd Font Mono:size=16:antialias=true:hinting=true" };
static const char dmenufont[] = "monospace:size=8";
2022-07-17 12:54:22 +00:00
#include "colors.h"
2022-04-25 12:34:26 +00:00
// Autostart programs
static const char *const autostart[] = {
2022-07-18 04:17:41 +00:00
// Start my build of slstatus
"slstatus", NULL,
2022-07-10 06:33:23 +00:00
// Keyboard layouts switch (requires setxkbmap)
"setxkbmap", "-model", "pc101", "-layout", "us,ar", "-variant", ",,", "-option", "grp:win_space_toggle", NULL,
2022-07-12 04:36:45 +00:00
// "xkbset", "exp", "=sticky", "-twokey", "-latchlock", NULL, // sticky keys
"/bin/stickykeys", NULL, // sticky keys script
// "picom", NULL, // Start compositor , for transparency
2022-07-10 06:33:23 +00:00
"nitrogen", "--restore", NULL, // Restores the wallpaper
"nm-applet", NULL, // Start the network manger
2022-07-12 04:36:45 +00:00
"copyq", NULL, // clipboard manger
2022-04-25 15:49:06 +00:00
NULL /* terminate */
2022-04-25 12:34:26 +00:00
};
2022-04-23 05:48:31 +00:00
/* tagging */
2022-05-27 09:49:09 +00:00
// static const char *tags[] = { "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX" };
2022-08-02 09:59:09 +00:00
// static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
static const char *tags[] = { "www", "dev", "sys", "chat", "img", "vid", "mus", "vbox", "gfx", ";" };
2022-04-23 05:48:31 +00:00
static const Rule rules[] = {
/* xprop(1):
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
2022-10-27 17:34:21 +00:00
{ "Gimp", NULL, NULL, 9, 1, -1 },
// { WEBBROWSER, NULL, NULL, 1 << 8, 0, -1 },
{ "Tor Browser", NULL, NULL, 10, 0, -1 },
{ "keepassxc", NULL, NULL, 10, 0, -1 },
{ "firefoxdeveloperedition", NULL, NULL, 1 << 6, 0, -1 },
{ "discord", NULL, NULL, 4 << 5, 0, -1 },
2022-04-23 05:48:31 +00:00
};
/* layout(s) */
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */
static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
#include "layouts/layouts.h"
#include "movestack.c"
#include "keys/keys.h"