parent
c20ec51142
commit
ab8bb48feb
137 changed files with 184 additions and 10725 deletions
nixosModules/desktop/environment
|
@ -7,7 +7,6 @@ self: {
|
|||
inherit (self.inputs) hyprgrass hyprland hyprland-plugins;
|
||||
in {
|
||||
imports = [
|
||||
(import ../../ags self)
|
||||
(import ../../ags-v2 self)
|
||||
|
||||
./modules/dconf.nix
|
||||
|
|
|
@ -46,7 +46,6 @@ in {
|
|||
hyprgrass-bind = [
|
||||
", edge:u:d, exec, ags request 'open win-applauncher'"
|
||||
", edge:d:u, exec, ags request 'osk open'"
|
||||
", swipe:3:d, exec, hyprctl dispatch hyprexpo:expo on"
|
||||
];
|
||||
hyprgrass-bindm = [", longpress:2, movewindow"];
|
||||
};
|
||||
|
|
|
@ -12,19 +12,8 @@
|
|||
hmCfg = config.home-manager.users.${cfg.user};
|
||||
hyprPkg = hmCfg.wayland.windowManager.hyprland.finalPackage;
|
||||
|
||||
lockPkg =
|
||||
if cfg.ags.enable
|
||||
then
|
||||
pkgs.writeShellApplication {
|
||||
name = "lock";
|
||||
runtimeInputs = [hmCfg.programs.ags.finalPackage];
|
||||
|
||||
text = ''
|
||||
ags -r 'Tablet.setLaptopMode()'
|
||||
ags -b lockscreen -c /home/${cfg.user}/.config/ags/lockscreen.js
|
||||
'';
|
||||
}
|
||||
else hmCfg.programs.ags-v2.lockPkg;
|
||||
# See nixosModules/ags-v2/packages.nix
|
||||
lockPkg = hmCfg.programs.ags-v2.lockPkg;
|
||||
|
||||
runInDesktop = pkgs.writeShellApplication {
|
||||
name = "runInDesktop";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue