mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-10-13 09:43:05 +02:00
fix escaping binds
This commit is contained in:
1 parent
87354d627e
commit
ca8e4769cc
1 file changed
+8
-1
@@ -77,6 +77,13 @@
|
||||
};
|
||||
flake.homeModules.hyprland = {pkgs-unstable, lib, ...}: let
|
||||
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 {
|
||||
#refer to https://wiki.hypr.land/Nix/Hyprland-on-Home-Manager/
|
||||
wayland.windowManager.hyprland.enable = true;
|
||||
@@ -579,7 +586,7 @@ bind = [
|
||||
{
|
||||
_args = [
|
||||
"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\"")'')
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user