add grommit

This commit is contained in:
TheWanderingCrow 2025-07-16 17:40:20 -04:00
parent 66445d93d9
commit 874bb76d76
3 changed files with 22 additions and 0 deletions

View file

@ -6,6 +6,7 @@
common/optional/comms
common/optional/media
common/optional/gaming
common/optional/misc/gromit-mpx.nix
];
monitors = [

View file

@ -7,6 +7,10 @@ workspace 5 output DP-1 # Mudlet
# Assign wacom tablet to primary monitor
input type:tablet_tool map_to_output DP-1
# FIXME: This is scary and bad and awful and horrible plz fix
exec sudo -E makima
exec gromit-mpx
set $mod Mod4
###########################
### Systemd Integration ###

View file

@ -0,0 +1,17 @@
# Allows drawing over the screen overlay with our fancy wacom tablet
{pkgs, ...}: let
makimaConfig = ''
[commands]
BTN_STYLUS = ["gromit-mpx -t"]
[settings]
GRAB_DEVICE = "false"
'';
in {
home.file.".config/makima/Wacom One by Wacom S Pen.toml".text = makimaConfig;
home.packages = with pkgs; [
makima
gromit-mpx
];
}