diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-28 13:53:08 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-28 13:53:08 -0700 |
commit | d530804cb725f329b1faf3ce488b430fa36039bb (patch) | |
tree | 6e64558a545e057b9e9c7cec017ea113108e095b /home/profiles/sway.nix | |
parent | home/waybar: change the style to be a bit more readable (diff) | |
download | world-d530804cb725f329b1faf3ce488b430fa36039bb.tar.gz |
font: switch to Roboto for system font and JetBrain for monospace
Diffstat (limited to '')
-rw-r--r-- | home/profiles/sway.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/home/profiles/sway.nix b/home/profiles/sway.nix index dc3999c..193ecd5 100644 --- a/home/profiles/sway.nix +++ b/home/profiles/sway.nix @@ -1,6 +1,12 @@ { config, lib, pkgs, ... }: let modifier = "Mod4"; # `Super` key + fonts = { + names = [ "Roboto" "Font Awesome 5 Free" "Font Awesome 5 Brands" "Arial" "sans-serif" ]; + style = "Bold"; + size = 10.0; + }; + in { imports = [ @@ -59,15 +65,11 @@ in # dbus-update-activation-environment systemdIntegration = true; config = { + inherit fonts modifier; # FIXME: this should be a variable terminal = "kitty"; - modifier = modifier; menu = ''${pkgs.wofi}/bin/wofi -S drun -p "app:" -L 10''; bars = [ ]; - fonts = { - names = [ "Source Code Pro" ]; - size = 10.0; - }; keybindings = lib.mkOptionDefault { # control the volume "XF86AudioRaiseVolume" = @@ -139,10 +141,11 @@ in }; xdg.configFile."swaylock/config".source = pkgs.writeText "config" '' - color=2E3440 daemonize - indicator-caps-lock hide-keyboard-layout + indicator-caps-lock + color=2E3440 + font=Roboto ''; services.swayidle = { |