nvm clipse doesnt work
This commit is contained in:
parent
5b427b9a0f
commit
74cc22f2e6
2 changed files with 0 additions and 32 deletions
|
@ -1,31 +0,0 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.desktop.clipse;
|
||||
in {
|
||||
options.modules.desktop.clipse = {
|
||||
enable = mkEnableOption "Enable clipse, a generic clipboard manager";
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.clipse;
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
hm.wayland.windowManager.hyprland.settings = let
|
||||
class = "clipse";
|
||||
in {
|
||||
exec-once = [ "${lib.getExe cfg.package} -listen-shell" ];
|
||||
|
||||
windowrulev2 = [
|
||||
"float, class:^${class}$"
|
||||
"size 622 652, class:^${class}$"
|
||||
];
|
||||
|
||||
bind = [
|
||||
"$mod, V, exec, ${lib.getExe pkgs.wezterm} start --class ${class} -e '${lib.getExe cfg.package}'"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue