Browse Source

increased font size for dwmblocks

master
revol-xut 11 months ago
parent
commit
15fe32af59
Signed by: revol-xut GPG Key ID: 4F56FF7759627D07
3 changed files with 21 additions and 4 deletions
  1. +1
    -0
      .gitignore
  2. +4
    -4
      config.def.h
  3. +16
    -0
      flake.nix

+ 1
- 0
.gitignore View File

@ -0,0 +1 @@
config.hh

+ 4
- 4
config.def.h View File

@ -13,7 +13,7 @@ static int swallowfloating = 0; /* 1 means swallow floating windows by
static int smartgaps = 0; /* 1 means no outer gap when there is only one window */
static int showbar = 1; /* 0 means no bar */
static int topbar = 1; /* 0 means bottom bar */
static char *fonts[] = { "monospace:size=8", "JoyPixels:pixelsize=8:antialias=true:autohint=true" };
static char *fonts[] = { "monospace:size=10", "JoyPixels:pixelsize=10:antialias=true:autohint=true" };
static char normbgcolor[] = "#222222";
static char normbordercolor[] = "#444444";
static char normfgcolor[] = "#bbbbbb";
@ -34,7 +34,7 @@ typedef struct {
const void *cmd;
} Sp;
const char *spcmd1[] = {TERMINAL, "-n", "spterm", "-g", "120x34", NULL };
const char *spcmd2[] = {TERMINAL, "-n", "spcalc", "-f", "monospace:size=8", "-g", "50x20", "-e", "bc", "-lq", NULL };
const char *spcmd2[] = {TERMINAL, "-n", "spcalc", "-f", "monospace:size=10", "-g", "50x20", "-e", "bc", "-lq", NULL };
static Sp scratchpads[] = {
/* name cmd */
{"spterm", spcmd1},
@ -240,9 +240,9 @@ static Key keys[] = {
{ MODKEY, XK_bracketright, spawn, SHCMD("mpc seek +10") },
{ MODKEY|ShiftMask, XK_bracketright, spawn, SHCMD("mpc seek +60") },
/* { MODKEY|ShiftMask, XK_s, spawn, SHCMD("") }, */
{ MODKEY, XK_d, spawn, SHCMD("dmenu_run -nb '#222222' -nf '#bbbbbb' -sb '#B69316'") },
{ MODKEY, XK_d, spawn, SHCMD("dmenu_run -nb '#222222' -nf '#bbbbbb' -sb '#993399'") },
/* { MODKEY, XK_d, spawn, SHCMD("") } }, */
{ MODKEY, XK_c, spawn, SHCMD("networkmanager_dmenu -nb '#222222' -nf '#bbbbbb' -sb '#FA58B6'") },
{ MODKEY, XK_c, spawn, SHCMD("networkmanager_dmenu -nb '#222222' -nf '#bbbbbb' -sb '#993399'") },
{ MODKEY, XK_n, spawn, SHCMD(TERMINAL " -e nvim") },
{ MODKEY|ShiftMask, XK_n, spawn, SHCMD(TERMINAL " -e newsboat; pkill -RTMIN+6 dwmblocks") },
{ MODKEY, XK_m, spawn, SHCMD(TERMINAL " -e ncmpcpp") },


+ 16
- 0
flake.nix View File

@ -0,0 +1,16 @@
{
description = "build script for the lingua-franca alarm clock";
inputs = {
utils.url = "github:numtide/flake-utils";
};
outputs = inputs@{self, utils, nixpkgs, ...}:
utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
in rec {
checks = packages;
packages.lf-alarm-clock = nixpkgs.legacyPackages.${system}.callPackage ./derivation.nix {};
}
);
}

Loading…
Cancel
Save