mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
add grommit
This commit is contained in:
parent
66445d93d9
commit
874bb76d76
3 changed files with 22 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
common/optional/comms
|
||||
common/optional/media
|
||||
common/optional/gaming
|
||||
common/optional/misc/gromit-mpx.nix
|
||||
];
|
||||
|
||||
monitors = [
|
||||
|
|
|
|||
|
|
@ -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 ###
|
||||
|
|
|
|||
17
home/crow/common/optional/misc/gromit-mpx.nix
Normal file
17
home/crow/common/optional/misc/gromit-mpx.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue