yep commit

This commit is contained in:
2025-02-11 16:14:08 -05:00
parent 1916695202
commit 4fc35be18f
4 changed files with 37 additions and 33 deletions

View File

@@ -1,16 +0,0 @@
{
services.keyd = {
enable = true;
keyboards.default = {
"main" = {
rightbtn = "rightbtn"; # Keep normal RMB function
"shift+rightbtn" = "layer(rmb1, 250)"; # Start sequence only if Shift is held
};
"rmb1" = {
"shift+rightbtn" = "toggle(rightbtn)"; # Second press (Shift still held) toggles RMB
};
};
};
}

View File

@@ -1,17 +0,0 @@
{ config, lib, pkgs, ... }:
{
services.kmonad = {
enable = true;
keyboards = {
myKMonadOutput = {
device = "/dev/input/by-id/usb-SteelSeries_SteelSeries_Rival_5-if01-event-mouse";
config = builtins.readFile ../quirky/testing.kbd;
};
};
};
}

24
mods/wallpaper.nix Normal file
View File

@@ -0,0 +1,24 @@
{ config, pkgs, ... }:
{
systemd.user.services.hyprland-startup = {
Unit = {
Description = "Run startup commands after Hyprland starts";
After = [ "graphical-session.target" "hyprland.desktop.target" ];
Wants = [ "hyprland.desktop.target" ];
};
Service = {
ExecStart = [
"${pkgs.bash}/bin/bash -c ' \
linux-wallpaperengine --screen-root HDMI-A-2 2487567762; \
linux-wallpaperengine --screen-root HDMI-A-1 2870183951; \
linux-wallpaperengine --screen-root DP-2 2777842128"
];
Restart = "no";
Type = "oneshot";
};
Install = { WantedBy = [ "default.target" ]; };
};
}

13
mods/wallpaper2.nix Normal file
View File

@@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
systemd.services.wallpaper = {
serviceConfig = {
# ...
};
script = ''
linux-wallpaperengine --screen-root DP-2 2777842128"
'';
};
}