diff --git a/home/desktop/alacritty/default.nix b/home/desktop/alacritty/default.nix index 4484b513..35ecff04 100644 --- a/home/desktop/alacritty/default.nix +++ b/home/desktop/alacritty/default.nix @@ -13,15 +13,7 @@ style = "Regular"; }; }; - window = { - dynamic_title = true; - padding = { - x = 10; - y = 10; - }; - decorations = "none"; - opacity = 0.85; - }; + window.dynamic_title = true; live_config_reload = true; selection.save_to_clipboard = true; mouse.hide_when_typing = true; diff --git a/home/desktop/sway/default.nix b/home/desktop/sway/default.nix index 9945fa07..c86968a1 100644 --- a/home/desktop/sway/default.nix +++ b/home/desktop/sway/default.nix @@ -42,7 +42,17 @@ in { systemctl --user restart davmail '') ]; - programs.waybar.systemd.target = "sway-session.target"; + programs = { + waybar.systemd.target = "sway-session.target"; + alacritty.settings.window = { + padding = { + x = 10; + y = 10; + }; + decorations = "none"; + opacity = 0.85; + }; + }; services = { kanshi.systemdTarget = "sway-session.target"; gpg-agent.pinentryPackage = pkgs.pinentry-gnome3; diff --git a/home/emacs/default.nix b/home/emacs/default.nix index c8d73125..ae79ee96 100644 --- a/home/emacs/default.nix +++ b/home/emacs/default.nix @@ -27,7 +27,6 @@ fixed-font-family = "${fonts.monospace.name}"; variable-font-family = "${fonts.sansSerif.name}"; font-height = builtins.toString (builtins.floor (builtins.mul fonts.sizes.applications 10)); - alpha = "85"; custom-theme-name = "nix"; custom-theme = pkgs.writeTextFile { name = "custom-emacs-theme"; @@ -52,8 +51,6 @@ }; custom-theme-hash = builtins.hashFile "sha256" "${custom-theme}/${custom-theme-name}-theme.el"; in '' - (add-to-list 'initial-frame-alist '(alpha-background . ${alpha})) - (add-to-list 'default-frame-alist '(alpha-background . ${alpha})) (add-to-list 'custom-theme-load-path "${custom-theme}") (add-to-list 'custom-safe-themes "${custom-theme-hash}") (load-theme '${custom-theme-name}) diff --git a/system/desktop/default.nix b/system/desktop/default.nix index 9e180f8b..037570a9 100644 --- a/system/desktop/default.nix +++ b/system/desktop/default.nix @@ -13,6 +13,7 @@ QT_QPA_PLATFORM = lib.mkIf config.programs.sway.enable "wayland"; }; systemPackages = with pkgs; [ + libsecret xdg-utils hunspell hunspellDicts.en_GB-large diff --git a/system/desktop/sway.nix b/system/desktop/sway.nix index cbddd4c4..5c938ad6 100644 --- a/system/desktop/sway.nix +++ b/system/desktop/sway.nix @@ -9,7 +9,6 @@ systemPackages = with pkgs; [ wtype wl-clipboard - libsecret libnotify libcamera glib