addded kitty and fixed dwm

This commit is contained in:
Charlie Root 2024-04-20 22:59:53 +02:00
commit 35b69479d2
11 changed files with 87 additions and 14 deletions

View file

@ -58,7 +58,7 @@ 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 *termcmd[] = { "st", NULL };
static const char *termcmd[] = { "kitty", NULL };
static const Key keys[] = {
/* modifier key function argument */

Binary file not shown.

Binary file not shown.

View file

@ -12,22 +12,17 @@ in {
windowManager.dwm = {
enable = true;
};
displayManager.sddm = {
enable = true;
setupScript = "xrandr --output HDMI-1 --rotate normal --output DP-2 --rotate normal --left-of HDMI-1 --output HDMI-0 --right-of HDMI-1";
# defaultSession = "dwm";
displayManager = {
sddm.enable = true;
setupCommands = "${pkgs.xorg.xrandr}/bin/xrandr --output HDMI-1 --rotate normal --output DP-2 --rotate normal --left-of HDMI-1 --output HDMI-0 --right-of HDMI-1";
};
};
nixpkgs.overlays = [
(final: prev: {
dwm = prev.dwm.overrideAttrs (old: {src = ./dwm-6.5;});
st = prev.st.overrideAttrs (old: {src = ./st-0.9.2;});
dmenu = prev.dmenu.overrideAttrs (old: {src = ./dmenu-5.3;});
# st = prev.st.overrideAttrs (old: {src = ./st-0.9.2;});
})
];
environment.systemPackages = with pkgs; [
# (st.overrideAttrs (oldAttrs: rec { src = ./st-0.9.2; }))
(dmenu.overrideAttrs (oldAttrs: rec { src = ./dmenu-5.3; }))
];
};
}

View file

@ -5,7 +5,7 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
static char *font = "Liberation Mono:pixelsize=16:antialias=true:autohint=true";
static char *font = "JetBrains Mono Nerd Font:pixelsize=16:antialias=true:autohint=true";
static int borderpx = 2;
/*
@ -94,6 +94,7 @@ char *termname = "st-256color";
unsigned int tabspaces = 8;
float alpha = 0.8;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
/* 8 normal colors */

Binary file not shown.

Binary file not shown.

View file

@ -11,6 +11,7 @@ in {
bibata-cursors
blanket
dig
dmenu
easyeffects
element-desktop
eza
@ -35,6 +36,7 @@ in {
httpie
imagemagick
keepassxc
kitty
krita
lazygit
libreoffice-fresh