archy-dwm/config.def.h

66 lines
3.3 KiB
C
Raw Normal View History

2007-05-30 10:19:28 +00:00
/* See LICENSE file for copyright and license details. */
2022-05-27 11:41:36 +00:00
/* def */
2022-07-10 15:31:06 +00:00
#define WEBBROWSER "google-chrome-stable"
#define TERMINAL "alacritty"
#define SCREENSHOT "spectacle"
#define GUI_FILEMANAGER "dolphin"
2022-05-27 11:41:36 +00:00
/* appearance */
static const unsigned int borderpx = 1; /* border pixel of windows */
2022-05-27 11:41:36 +00:00
static const unsigned int gappx = 3; /* gaps size between windows */
static const unsigned int snap = 32; /* snap pixel */
2022-04-23 21:54:50 +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-05-27 11:41:36 +00:00
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "monospace:size=11", "Noto Color Emoji:size=11", "Nerd Font Mono:weight=bold:size=15:antialias=true:hinting=true" };
static const char dmenufont[] = "monospace:size=11";
static const char col_1[] = "#282c34"; // Background color of bar
static const char col_2[] = "#282c34"; // Background color of unfocused windows border
static const char col_3[] = "#d7d7d7";
static const char col_4[] = "#018858"; // Background color of focused windows border and tags (main color acent)
static const char *colors[][3] = {
/* fg bg border */
2022-05-27 11:41:36 +00:00
[SchemeNorm] = { col_3, col_1, col_2 },
[SchemeSel] = { col_3, col_4, col_4 },
};
2022-05-27 11:41:36 +00:00
// Autostart programs
2022-04-25 12:34:26 +00:00
static const char *const autostart[] = {
2022-07-10 15:31:06 +00:00
// Start my build of slstatus
2022-05-27 11:41:36 +00:00
"slstatus", NULL,
2022-07-10 15:31:06 +00:00
// Keyboard layouts switch (requires setxkbmap)
"setxkbmap", "-model", "pc101", "-layout", "us,ar", "-variant", ",,", "-option", "grp:win_space_toggle", NULL,
"picom", NULL, // Start compositor , for transparency
"nitrogen", "--restore", NULL, // Restores the wallpaper
2022-05-27 11:41:36 +00:00
NULL /* terminate */
};
2022-04-25 12:34:26 +00:00
/* tagging */
2022-05-27 11:41:36 +00:00
// static const char *tags[] = { "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX" };
static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
static const Rule rules[] = {
2012-01-22 19:23:49 +00:00
/* xprop(1):
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
2015-11-08 21:48:43 +00:00
{ "Gimp", NULL, NULL, 0, 1, -1 },
2022-05-27 11:41:36 +00:00
{ WEBBROWSER, NULL, NULL, 1 << 8, 0, -1 },
2022-07-10 15:31:06 +00:00
{ "Plasma", NULL, "Plasma", 0, 1, -1 },
};
2007-02-19 17:19:43 +00:00
/* layout(s) */
2015-11-08 21:48:43 +00:00
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 */
2022-07-11 04:04:35 +00:00
#include "layouts/layouts.h"
2022-04-24 04:39:23 +00:00
#include "movestack.c"
2022-07-11 04:04:35 +00:00
#include "keys/keys.h"