chore: Improve formatting

Also simplifies the piccom call in .xinitrc.
This commit is contained in:
Donovan Glover 2024-08-22 16:44:11 -04:00
parent 5efc4364bb
commit 9e76605a80
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 36 additions and 34 deletions

View File

@ -418,7 +418,7 @@
type = "lua";
config = # lua
''
require'nvim-treesitter.configs'.setup {
require('nvim-treesitter.configs').setup {
highlight = {
enable = true,
disable = function(lang)

View File

@ -7,12 +7,13 @@ let
in
{
home-manager.sharedModules = singleton {
home.packages = with pkgs; [
home = {
packages = with pkgs; [
feh
xclip
];
home.file.".xinitrc" = {
file.".xinitrc" = {
executable = true;
text = # bash
''
@ -36,7 +37,7 @@ in
sleep 1m
done &
picom --backend glx --vsync --shadow --fading --blur-background --blur-method dual_kawase --blur-size 10 --daemon
picom --daemon
fcitx5 &
@ -45,6 +46,7 @@ in
done
'';
};
};
services = {
picom = rec {
@ -111,8 +113,8 @@ in
windowManager.dwm = {
enable = true;
package = pkgs.dwm.overrideAttrs (oldAttrs: {
patches = oldAttrs.patches ++ [
package = pkgs.dwm.override {
patches = [
../assets/dwm-actualfullscreen.patch
(pkgs.fetchpatch {
@ -120,7 +122,7 @@ in
hash = "sha256-GIbRW0Inwbp99rsKLfIDGvPwZ3pqihROMBp5vFlHx5Q=";
})
];
});
};
};
};