Commit c59e5f03 authored by Ashley Chiara's avatar Ashley Chiara 👁
Browse files

update configs norbert

parent 79164470
......@@ -36,7 +36,6 @@
initExtra = ''
set -o vi
bind -m vi-insert 'Control-l: clear-screen'
PS1="\[\033[38;5;1m\][\[$(tput sgr0)\]\[\033[38;5;13m\]\u\[$(tput sgr0)\]\[\033[38;5;5m\]@\[$(tput sgr0)\]\[\033[38;5;14m\]\h:\[$(tput sgr0)\]\[\033[38;5;12m\]\w\[$(tput sgr0)\]\[\033[38;5;1m\]]\[$(tput sgr0)\]\[\033[38;5;9m\]\\$\[$(tput sgr0)\] "
'';
};
......
......@@ -4,6 +4,6 @@
programs.git = {
enable = true;
userEmail = "PersonaVinny@protonmail.com";
userName = "Ashley Chiara";
userName = "Ashley Chiara";
};
}
diff --git a/config.def.h b/config.def.h
index 1c0b587..434cac7 100644
index 1c0b587..3cfa577 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,25 +1,26 @@
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
-
+#include <X11/XF86keysym.h>
+#define PrintScreenDWM 0x0000ff61
/* appearance */
-static const unsigned int borderpx = 1; /* border pixel of windows */
+static const unsigned int borderpx = 2; /* border pixel of windows */
static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
-static const char *fonts[] = { "monospace:size=10" };
-static const char dmenufont[] = "monospace:size=10";
-static const char col_gray1[] = "#222222";
+static const char *fonts[] = { "Terminus:size=10" };
+static const char dmenufont[] = "Terminus:size=10";
+static const char col_gray1[] = "#282828";
@@ -9,17 +10,17 @@ static const char *fonts[] = { "monospace:size=10" };
static const char dmenufont[] = "monospace:size=10";
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
-static const char col_gray3[] = "#bbbbbb";
-static const char col_gray4[] = "#eeeeee";
-static const char col_cyan[] = "#005577";
+static const char col_red[] = "#cb241d";
+static const char col_purple[] = "#903f71";
+static const char col_gray4[] = "#ebdbb2";
+static const char col_cyan[] = "#8ec07c";
+static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#005577";
static const char *colors[][3] = {
/* fg bg border */
- [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
- [SchemeSel] = { col_gray4, col_cyan, col_cyan },
+ [SchemeNorm] = { col_gray4, col_gray1, col_gray2 },
+ [SchemeSel] = { col_gray1, col_cyan, col_purple },
+ [SchemeSel] = { col_gray4, col_cyan, col_cyan },
};
/* tagging */
......@@ -55,20 +46,18 @@ index 1c0b587..434cac7 100644
};
/* key definitions */
@@ -56,13 +60,24 @@ static const Layout layouts[] = {
@@ -57,12 +61,24 @@ static const Layout layouts[] = {
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
-static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
-static const char *termcmd[] = { "st", NULL };
+static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray4, "-sb", col_red, "-sf", col_gray1, NULL };
+static const char *termcmd[] = { "st", "-e", "tmux", NULL };
+static const char *lightupd[] = { "brightnessctl", "s", "+5%", NULL };
+static const char *lightdownd[] = { "brightnessctl", "s", "5%-", NULL };
+static const char *upvol[] = { "amixer", "sset", "Master", "5%+", NULL };
+static const char *downvol[] = { "amixer", "sset", "Master", "5%-", NULL };
+static const char *mutevol[] = { "amixer", "sset", "Master", "toggle", NULL };
+
+static const char *scrn[] = { "screenshot", NULL };
static Key keys[] = {
/* modifier key function argument */
......@@ -79,10 +68,11 @@ index 1c0b587..434cac7 100644
+ { 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol} },
+ { 0, XF86XK_AudioMute, spawn, {.v = mutevol} },
+ { 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol} },
+ { 0, PrintScreenDWM, spawn, {.v = scrn } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
@@ -76,6 +91,8 @@ static Key keys[] = {
@@ -76,6 +92,8 @@ static Key keys[] = {
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
......
diff --git a/config.def.h b/config.def.h
index 6f05dce..feb4ddc 100644
index 6f05dce..68e5657 100644
--- a/config.def.h
+++ b/config.def.h
@@ -5,8 +5,8 @@
@@ -5,7 +5,7 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
-static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
-static int borderpx = 2;
+static char *font = "Terminus:pixelsize=14:antialias=true:autohint=true";
+static int borderpx = 3;
+static char *font = "monospace:pixelsize=14:antialias=true:autohint=true";
static int borderpx = 2;
/*
* What program is execed by st depends of these precedence rules:
@@ -95,41 +95,35 @@ unsigned int tabspaces = 8;
@@ -96,7 +96,7 @@ unsigned int tabspaces = 8;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
- /* 8 normal colors */
/* 8 normal colors */
- "black",
- "red3",
- "green3",
- "yellow3",
- "blue2",
- "magenta3",
- "cyan3",
- "gray90",
-
- /* 8 bright colors */
- "gray50",
- "red",
- "green",
- "yellow",
- "#5c5cff",
- "magenta",
- "cyan",
- "white",
-
- [255] = 0,
-
- /* more colors can be added after 255 to use with DefaultXX */
- "#cccccc",
- "#555555",
-};
+ "#222222",
"red3",
"green3",
"yellow3",
@@ -106,7 +106,7 @@ static const char *colorname[] = {
"gray90",
+ /* 8 normal colors */
+ [0] = "#282828", /* hard contrast: #1d2021 / soft contrast: #32302f */
+ [1] = "#cc241d", /* red */
+ [2] = "#98971a", /* green */
+ [3] = "#d79921", /* yellow */
+ [4] = "#458588", /* blue */
+ [5] = "#b16286", /* magenta */
+ [6] = "#689d6a", /* cyan */
+ [7] = "#a89984", /* white */
+
+ /* 8 bright colors */
+ [8] = "#928374", /* black */
+ [9] = "#fb4934", /* red */
+ [10] = "#b8bb26", /* green */
+ [11] = "#fabd2f", /* yellow */
+ [12] = "#83a598", /* blue */
+ [13] = "#d3869b", /* magenta */
+ [14] = "#8ec07c", /* cyan */
+ [15] = "#ebdbb2", /* white */
+};
/*
* Default colors (colorname index)
- * foreground, background, cursor, reverse cursor
+ * foreground, background, cursor
*/
-unsigned int defaultfg = 7;
+unsigned int defaultfg = 15;
unsigned int defaultbg = 0;
-static unsigned int defaultcs = 256;
+static unsigned int defaultcs = 15;
static unsigned int defaultrcs = 257;
/*
/* 8 bright colors */
- "gray50",
+ "#282828",
"red",
"green",
"yellow",
diff --git a/x.c b/x.c
index 7186040..3acc687 100644
--- a/x.c
......
......@@ -6,15 +6,16 @@
dunst st dwm
libnotify
python3
tor-browser-bundle-bin
slock xss-lock
toxic
toxic tor
dmenu sxiv
gimp tmux
imagemagick
sxiv killall
unzip brightnessctl
element-desktop
keepassxc feh
keepassxc
qbittorrent
wireguard
yafetch htop
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment