fix escaping binds

This commit is contained in:
tomasr committed 2026-08-13 16:14:47 +02:00
1 parent 87354d627e
commit ca8e4769cc
1 file changed
+8 -1
+8 -1
View File
@@ -77,6 +77,13 @@
}; };
flake.homeModules.hyprland = {pkgs-unstable, lib, ...}: let flake.homeModules.hyprland = {pkgs-unstable, lib, ...}: let
wallpaper = ../../assets/wallpaper1.jpg; wallpaper = ../../assets/wallpaper1.jpg;
mod = "SUPER";
term = "kitty";
editor = "nvim";
notes = "kitty --class \\\"custom-obsidianvaults\\\" --name \\\"Select Obsidian vault\\\" --hold custom-obsidianvaults";
file = "dolphin";
browser = "kitty --class \\\"custom-browserprofiles\\\" --name \\\"Select browser profile\\\" --hold custom-browserprofiles";
in { in {
#refer to https://wiki.hypr.land/Nix/Hyprland-on-Home-Manager/ #refer to https://wiki.hypr.land/Nix/Hyprland-on-Home-Manager/
wayland.windowManager.hyprland.enable = true; wayland.windowManager.hyprland.enable = true;
@@ -579,7 +586,7 @@ bind = [
{ {
_args = [ _args = [
"CTRL + SHIFT + ALT + 0" "CTRL + SHIFT + ALT + 0"
(lib.generators.mkLuaInline ''hl.dsp.exec_cmd("kitty --hold --class \\"custom-changeAudioOutput\\" --name \\"Select audio output\\" zsh -c \\"custom-changeAudioOutput\\"")'') (lib.generators.mkLuaInline ''hl.dsp.exec_cmd("kitty --hold --class \"custom-changeAudioOutput\" --name \"Select audio output\" zsh -c \"custom-changeAudioOutput\"")'')
]; ];
} }