Skip to content

Commit

Permalink
picom: rounded corners
Browse files Browse the repository at this point in the history
Use yshui/picom#361 until
yshui/picom#480 is merged

kitty: use spacecamp-kitty theme
xmonad: enable gaps
  • Loading branch information
evanjs committed Oct 14, 2020
1 parent 55974db commit 4a2b53f
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 4 deletions.
1 change: 0 additions & 1 deletion config/new-modules/vim/vim-hm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ in
au VimEnter * exec 'AirlineTheme wombat'
" TODO: How can this be abstracted/configured from expressions that import this?
colorscheme ${config.mine.vim.colorscheme or "spacecamp"}
" colorscheme "spacecamp"
"}}}
"" Syntastic settings {{{
Expand Down
21 changes: 20 additions & 1 deletion config/new-modules/x/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,18 @@ with lib;
blurExclude = [
"class_g = 'slop'"
];
extraOptions = ''
corner-radius = 10;
blur-method = "dual_kawase";
blur-strength = "10";
xinerama-shadow-crop = true;
'';
experimentalBackends = true;

shadowExclude = [
"bounding_shaped && !rounded_corners"
];

fade = true;
fadeDelta = 5;
vSync = true;
Expand All @@ -129,6 +141,14 @@ with lib;
"100:class_g ~= 'jetbrains'"
"100:class_g *?= 'slack'"
];
package = pkgs.picom.overrideAttrs(o: {
src = pkgs.fetchFromGitHub {
repo = "picom";
owner = "ibhagwan";
rev = "44b4970f70d6b23759a61a2b94d9bfb4351b41b1";
sha256 = "0iff4bwpc00xbjad0m000midslgx12aihs33mdvfckr75r114ylh";
};
});
};

services.unclutter = {
Expand Down Expand Up @@ -181,5 +201,4 @@ with lib;

};
};

}
13 changes: 12 additions & 1 deletion config/new-modules/x/terminal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ with lib;
let

cfg = config.mine.terminal;

spacecamp-kitty = pkgs.fetchFromGitHub {
owner = "sebastianks";
repo = "spacecamp-kitty";
rev = "c06cc6f56076fb04aee04bc466c7733e6234b652";
sha256 = "0zwvjanph8bkw2pjbicsk3cifn2gmm6c9l4x6dgr4iaf8yf8ks1b";
};
in
{

Expand Down Expand Up @@ -34,6 +39,12 @@ in
enable = true;
font.name = "${config.mine.font.name}";
font.package = config.mine.font.package;
settings = {
window_padding_width = "4 8";
};
extraConfig = ''
include ${spacecamp-kitty}/spacecamp.conf
'';
};

home.file.".tmux.conf".text = ''
Expand Down
3 changes: 2 additions & 1 deletion config/new-modules/x/wm/xmonad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ tabbedConf = def
}

genericLayouts =
avoidStruts $ smartBorders $
avoidStruts $ noBorders $
spacingRaw True (Border 0 10 10 10) True (Border 10 10 10 10) True $
tall
||| Mirror tall
||| tabbedLayout
Expand Down

0 comments on commit 4a2b53f

Please sign in to comment.