diff options
author | tzlil <tzlils@protonmail.com> | 2023-05-16 22:55:43 +0300 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-05-16 22:55:43 +0300 |
commit | a01a6fbdfcf923b1c9fa55c7bec0617c230e8e67 (patch) | |
tree | bee1adc9e0673cf956584e48a7c8d690e420d6e4 /mixins | |
parent | cd103868ca4fcd6da02a29ff09f37dc5ad3ad4ae (diff) |
formatted, update flake inputs, add xdg fixes, fix foot colors, change terminal to footclient
Diffstat (limited to 'mixins')
-rw-r--r-- | mixins/cli.nix | 2 | ||||
-rw-r--r-- | mixins/sway.nix | 27 |
2 files changed, 25 insertions, 4 deletions
diff --git a/mixins/cli.nix b/mixins/cli.nix index 84a5e3d..4137377 100644 --- a/mixins/cli.nix +++ b/mixins/cli.nix @@ -13,7 +13,7 @@ ... }: { imports = [ - # inputs.viper-nix-common.homeModules.xdg + inputs.viper-nix-common.homeModules.xdg ]; home = { packages = with pkgs; [ diff --git a/mixins/sway.nix b/mixins/sway.nix index 8917ffe..8143e6b 100644 --- a/mixins/sway.nix +++ b/mixins/sway.nix @@ -17,7 +17,7 @@ app_id=menu chooser="${pkgs.fzf}/bin/fzf <$in_pipe >$out_pipe" - ${pkgs.foot}/bin/foot -W40x40 --app-id "$app_id" -- sh -c "$chooser" & + ${pkgs.foot}/bin/footclient -W40x40 --app-id "$app_id" -- sh -c "$chooser" & cat >"$in_pipe" cat <"$out_pipe" ''; @@ -75,10 +75,31 @@ in { wf-recorder font-awesome_6 waypipe - foot alsa-utils ]; + programs.foot = { + enable = true; + server.enable = true; + settings = { + # main = { + # term = "xterm-256color"; + + # font = "Fira Code:size=11"; + # dpi-aware = "yes"; + # }; + + colors = { + background = "000000"; + foreground = "ffffff"; + }; + + # mouse = { + # hide-when-typing = "yes"; + # }; + }; + }; + services.swayidle = let pgrep = "${pkgs.procps}/bin/pgrep"; dpms_check = s: @@ -246,7 +267,7 @@ in { set $down n set $up e set $right i - set $term ${pkgs.foot}/bin/foot + set $term ${pkgs.foot}/bin/footclient default_border pixel hide_edge_borders smart |