yep commit
This commit is contained in:
@@ -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
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
24
mods/wallpaper.nix
Normal 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
13
mods/wallpaper2.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
|
||||
{
|
||||
systemd.services.wallpaper = {
|
||||
serviceConfig = {
|
||||
# ...
|
||||
};
|
||||
script = ''
|
||||
linux-wallpaperengine --screen-root DP-2 2777842128"
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user