style(fmt)

This commit is contained in:
Oliver Davies 2023-06-13 19:51:56 +01:00
parent e2a8f86899
commit 94b045c01f
2 changed files with 16 additions and 13 deletions

View file

@ -90,7 +90,7 @@
"${modifier}+Escape" = "exec swaylock --daemonize";
"${modifier}+Shift+b" = "exec firefox";
"${modifier}+tab" = "workspace back_and_forth";
};
};
menu = "wofi --show run";
modifier = "Mod4";

View file

@ -8,19 +8,22 @@ let
nixpkgs = import ../../shared/nixpkgs.nix { };
configure-gtk = pkgs.writeTextFile {
name = "configure-gtk";
destination = "/bin/configure-gtk";
executable = true;
text = let
name = "configure-gtk";
destination = "/bin/configure-gtk";
executable = true;
text =
let
schema = pkgs.gsettings-desktop-schemas;
datadir = "${schema}/share/gsettings-schemas/${schema.name}";
in ''
in
''
export XDG_DATA_DIRS=${datadir}:$XDG_DATA_DIRS
gnome_schema=org.gnome.desktop.interface
gsettings set $gnome_schema gtk-theme 'Breeze Dark'
'';
'';
};
in {
in
{
nixpkgs = nixpkgs;
imports = [
@ -227,10 +230,10 @@ in {
'';
};
system.autoUpgrade = {
allowReboot = true;
enable = true;
flake = "nixedo";
};
system.autoUpgrade = {
allowReboot = true;
enable = true;
flake = "nixedo";
};
}