From 4fc35be18fff5e6fc129a429603fed81732085b8 Mon Sep 17 00:00:00 2001 From: Lorde_soup Date: Tue, 11 Feb 2025 16:14:08 -0500 Subject: [PATCH] yep commit --- mods/keyd.nix | 16 ---------------- mods/kmonad.nix | 17 ----------------- mods/wallpaper.nix | 24 ++++++++++++++++++++++++ mods/wallpaper2.nix | 13 +++++++++++++ 4 files changed, 37 insertions(+), 33 deletions(-) delete mode 100644 mods/keyd.nix delete mode 100644 mods/kmonad.nix create mode 100644 mods/wallpaper.nix create mode 100644 mods/wallpaper2.nix diff --git a/mods/keyd.nix b/mods/keyd.nix deleted file mode 100644 index 89bbcc2..0000000 --- a/mods/keyd.nix +++ /dev/null @@ -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 - }; - }; - }; -} - diff --git a/mods/kmonad.nix b/mods/kmonad.nix deleted file mode 100644 index 1154cfb..0000000 --- a/mods/kmonad.nix +++ /dev/null @@ -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; - }; - }; -}; - - - - -} diff --git a/mods/wallpaper.nix b/mods/wallpaper.nix new file mode 100644 index 0000000..9960353 --- /dev/null +++ b/mods/wallpaper.nix @@ -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" ]; }; + }; + +} + diff --git a/mods/wallpaper2.nix b/mods/wallpaper2.nix new file mode 100644 index 0000000..2aae6bc --- /dev/null +++ b/mods/wallpaper2.nix @@ -0,0 +1,13 @@ +{ config, pkgs, ... }: + + +{ + systemd.services.wallpaper = { + serviceConfig = { + # ... + }; + script = '' + linux-wallpaperengine --screen-root DP-2 2777842128" + ''; + }; +}