From e9d10753d5227c02babd34f928314659b8f4b120 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 29 Sep 2024 15:46:53 +0300 Subject: [PATCH] chore(tazjin/dotfiles): check in more local configuration Instead of installing and configuring fuzzel and wl-clipboard locally, put them into Nix, too. Change-Id: I4b909ac1d0577f8bd176bbaae71583c59aaf5362 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12544 Tested-by: BuildkiteCI Reviewed-by: tazjin --- users/tazjin/dotfiles/default.nix | 1 + users/tazjin/dotfiles/fuzzel.ini | 17 +++++++++++++++++ users/tazjin/home/shared.nix | 3 ++- users/tazjin/nixos/modules/desktop.nix | 1 + 4 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 users/tazjin/dotfiles/fuzzel.ini diff --git a/users/tazjin/dotfiles/default.nix b/users/tazjin/dotfiles/default.nix index 79c5c2eca..6291a1030 100644 --- a/users/tazjin/dotfiles/default.nix +++ b/users/tazjin/dotfiles/default.nix @@ -3,6 +3,7 @@ rec { dunstrc = ./dunstrc; niri = ./niri.config.kdl; + fuzzel = ./fuzzel.ini; waybar = { config = import ./waybar/config.nix args; style = pkgs.runCommandNoCC "waybar-style.css" diff --git a/users/tazjin/dotfiles/fuzzel.ini b/users/tazjin/dotfiles/fuzzel.ini new file mode 100644 index 000000000..92d46c0b6 --- /dev/null +++ b/users/tazjin/dotfiles/fuzzel.ini @@ -0,0 +1,17 @@ +[main] +font=Arial + +[colors] +background=c0c0c0ff +text=000000ff +input=000000ff +prompt=000000ff +match=808080ff +selection=000080ff +selection-match=ffffffff +selection-text=ffffffff +border=080808ff + +[border] +width=2 +radius=5 diff --git a/users/tazjin/home/shared.nix b/users/tazjin/home/shared.nix index 9e8e57d83..51ff1ac94 100644 --- a/users/tazjin/home/shared.nix +++ b/users/tazjin/home/shared.nix @@ -61,8 +61,9 @@ in }; }; - # put Niri configuration in place + # put Niri (& related tools) configuration in place xdg.configFile."niri/config.kdl".source = depot.users.tazjin.dotfiles.niri; + xdg.configFile."fuzzel/fuzzel.ini".source = depot.users.tazjin.dotfiles.fuzzel; programs.wpaperd = { enable = true; diff --git a/users/tazjin/nixos/modules/desktop.nix b/users/tazjin/nixos/modules/desktop.nix index 9511b57ad..afd41f0bd 100644 --- a/users/tazjin/nixos/modules/desktop.nix +++ b/users/tazjin/nixos/modules/desktop.nix @@ -39,6 +39,7 @@ swayidle waybar wdisplays + wl-clipboard wl-mirror xfce.xfce4-appfinder depot.users.tazjin.niri-reap