hm/gui: switch to foot
This commit is contained in:
parent
36d25d2be9
commit
98ad99a867
3 changed files with 17 additions and 6 deletions
|
@ -5,6 +5,7 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./common
|
./common
|
||||||
|
./common/gui/foot.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.nix-index-database.comma.enable = true;
|
programs.nix-index-database.comma.enable = true;
|
||||||
|
@ -58,12 +59,6 @@ in
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
|
|
||||||
custom-hm = {
|
custom-hm = {
|
||||||
alacritty = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
cosmic-term = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
direnv = {
|
direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
15
home/xin/common/gui/foot.nix
Normal file
15
home/xin/common/gui/foot.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ pkgs, lib, ... }:
|
||||||
|
{
|
||||||
|
programs.foot = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
main = {
|
||||||
|
font = "monospace:size=14";
|
||||||
|
};
|
||||||
|
desktop-notifications = {
|
||||||
|
command = "${lib.getExe pkgs.libnotify} --wait --app-name \${app-id} --icon \${app-id} --category \${category} --urgency \${urgency} --expire-time \${expire-time} --hint STRING:image-path:\${icon} --hint BOOLEAN:suppress-sound:\${muted} --hint STRING:sound-name:\${sound-name} --replace-id \${replace-id} \${action-argument} --print-id -- \${title} \${body}";
|
||||||
|
inhibit-when-focused = "yes";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -164,6 +164,7 @@ in
|
||||||
ids = [ "0b05:1866" ];
|
ids = [ "0b05:1866" ];
|
||||||
settings = {
|
settings = {
|
||||||
main = {
|
main = {
|
||||||
|
capslock = "overload(control, esc)";
|
||||||
leftcontrol = "capslock";
|
leftcontrol = "capslock";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue