sway: configure emoji fonts
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
# system is e.g. x86_64-linux
|
# system is e.g. x86_64-linux
|
||||||
# gui is "gnome", or null
|
# gui is "gnome", or null
|
||||||
{ lib, pkgs, system, gui, extraPackages ? [] }: {
|
{ lib, config, pkgs, system, gui, extraPackages ? [] }: {
|
||||||
home.stateVersion = "21.11";
|
home.stateVersion = "21.11";
|
||||||
home.username = "colin";
|
home.username = "colin";
|
||||||
home.homeDirectory = "/home/colin";
|
home.homeDirectory = "/home/colin";
|
||||||
@@ -289,6 +289,7 @@
|
|||||||
XF86AudioLowerVolume = "exec '${pkgs.pulsemixer}/bin/pulsemixer --change-volume -5'";
|
XF86AudioLowerVolume = "exec '${pkgs.pulsemixer}/bin/pulsemixer --change-volume -5'";
|
||||||
XF86AudioMute = "exec '${pkgs.pulsemixer}/bin/pulsemixer --toggle-mute'";
|
XF86AudioMute = "exec '${pkgs.pulsemixer}/bin/pulsemixer --toggle-mute'";
|
||||||
|
|
||||||
|
"${modifier}+Print" = "exec '${pkgs.sway-contrib.grimshot}/bin/grimshot copy area'";
|
||||||
};
|
};
|
||||||
|
|
||||||
# mostly defaults:
|
# mostly defaults:
|
||||||
@@ -301,8 +302,11 @@
|
|||||||
workspaceNumbers = true;
|
workspaceNumbers = true;
|
||||||
statusCommand = "${pkgs.i3status}/bin/i3status";
|
statusCommand = "${pkgs.i3status}/bin/i3status";
|
||||||
fonts = {
|
fonts = {
|
||||||
names = [ "monospace" ];
|
# names = [ "monospace" "Noto Color Emoji" ];
|
||||||
size = 8.0;
|
# size = 8.0;
|
||||||
|
# names = [ "Font Awesome 6 Free" "DejaVu Sans" "Hack" ];
|
||||||
|
names = with config.fonts.fontconfig.defaultFonts; (emoji ++ monospace ++ serif ++ sansSerif);
|
||||||
|
size = 24.0;
|
||||||
};
|
};
|
||||||
trayOutput = "primary";
|
trayOutput = "primary";
|
||||||
colors = {
|
colors = {
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@@ -11,6 +11,18 @@
|
|||||||
|
|
||||||
time.timeZone = "America/Los_Angeles";
|
time.timeZone = "America/Los_Angeles";
|
||||||
|
|
||||||
|
fonts = {
|
||||||
|
enableDefaultFonts = true;
|
||||||
|
fonts = with pkgs; [ font-awesome twitter-color-emoji hack-font ];
|
||||||
|
fontconfig.enable = true;
|
||||||
|
fontconfig.defaultFonts = {
|
||||||
|
emoji = [ "Font Awesome 6 Free" "Twitter Color Emoji" ];
|
||||||
|
monospace = [ "Hack" ];
|
||||||
|
serif = [ "DejaVu Serif" ];
|
||||||
|
sansSerif = [ "DejaVu Sans" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# programs.vim.defaultEditor = true;
|
# programs.vim.defaultEditor = true;
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
EDITOR = "vim";
|
EDITOR = "vim";
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, lib, ... }:
|
{ pkgs, config, lib, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./../../helpers/universal
|
./../../helpers/universal
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.colin = import ./../../helpers/home-manager-gen-colin.nix {
|
home-manager.users.colin = import ./../../helpers/home-manager-gen-colin.nix {
|
||||||
inherit pkgs lib;
|
inherit pkgs config lib;
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
# gui = "gnome";
|
# gui = "gnome";
|
||||||
# gui = "i3";
|
# gui = "i3";
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, lib, ... }:
|
{ pkgs, config, lib, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./../../helpers/universal
|
./../../helpers/universal
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.colin = import ./../../helpers/home-manager-gen-colin.nix {
|
home-manager.users.colin = import ./../../helpers/home-manager-gen-colin.nix {
|
||||||
inherit pkgs lib;
|
inherit pkgs config lib;
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
# gui = "gnome";
|
# gui = "gnome";
|
||||||
gui = "sway";
|
gui = "sway";
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, lib, ... }:
|
{ pkgs, config, lib, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./../../helpers/universal
|
./../../helpers/universal
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
users.users.colin.initialPassword = "147147";
|
users.users.colin.initialPassword = "147147";
|
||||||
|
|
||||||
home-manager.users.colin = import ./../../helpers/home-manager-gen-colin.nix {
|
home-manager.users.colin = import ./../../helpers/home-manager-gen-colin.nix {
|
||||||
inherit pkgs lib;
|
inherit pkgs config lib;
|
||||||
system = "aarch64-linux";
|
system = "aarch64-linux";
|
||||||
gui = "phosh";
|
gui = "phosh";
|
||||||
extraPackages = [
|
extraPackages = [
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, lib, ... }:
|
{ pkgs, config, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.colin = import ../../helpers/home-manager-gen-colin.nix {
|
home-manager.users.colin = import ../../helpers/home-manager-gen-colin.nix {
|
||||||
inherit pkgs lib;
|
inherit pkgs config lib;
|
||||||
system = "aarch64-linux";
|
system = "aarch64-linux";
|
||||||
gui = null;
|
gui = null;
|
||||||
extraPackages = [ pkgs.matrix-synapse ];
|
extraPackages = [ pkgs.matrix-synapse ];
|
||||||
|
Reference in New Issue
Block a user