From e5ae013348a5d5e758d916f541850e0a37739ecc Mon Sep 17 00:00:00 2001 From: Emmet Date: Sun, 8 Sep 2024 11:26:26 -0500 Subject: [PATCH 1/4] Extra qb passthrough binds --- user/app/browser/qutebrowser.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/user/app/browser/qutebrowser.nix b/user/app/browser/qutebrowser.nix index 79662af..5b57c3b 100644 --- a/user/app/browser/qutebrowser.nix +++ b/user/app/browser/qutebrowser.nix @@ -225,6 +225,13 @@ config.bind('', 'tab-close', mode='passthrough') config.bind('', 'tab-next', mode='passthrough') config.bind('', 'tab-prev', mode='passthrough') config.bind('', 'cmd-set-text -s :quickmark-load -t', mode='passthrough') +config.bind('', 'cmd-set-text -s :open -t', mode='passthrough') +config.bind('', 'cmd-set-text /', mode='passthrough') +config.bind('', 'reload', mode='passthrough') +config.unbind('') +config.unbind('') +config.unbind('') +config.unbind('') # spawn external programs config.bind(',m', 'hint links spawn mpv {hint-url}') From 93e822ff05b6a63bd37babab81269d0263e53793 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sun, 8 Sep 2024 11:26:45 -0500 Subject: [PATCH 2/4] Fix blender render floating --- user/wm/hyprland/hyprland.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index a128f65..30b9db4 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -315,7 +315,9 @@ in windowrulev2 = float,class:^(pokefinder)$ windowrulev2 = float,class:^(Waydroid)$ - windowrulev2 = float,class:^(blender)$ + windowrulev2 = float,title:^(Blender Render)$ + windowrulev2 = size 86% 85%,title:^(Blender Render)$ + windowrulev2 = center,title:^(Blender Render)$ windowrulev2 = float,class:^(org.inkscape.Inkscape)$ windowrulev2 = float,class:^(pinta)$ windowrulev2 = float,class:^(krita)$ From fc418c891ee5254d9bbfa971849337f908d16a4c Mon Sep 17 00:00:00 2001 From: Emmet Date: Sun, 8 Sep 2024 11:26:52 -0500 Subject: [PATCH 3/4] Add floating term bind --- user/wm/hyprland/hyprland.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 30b9db4..078820e 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -165,6 +165,8 @@ in bind=SUPER,RETURN,exec,'' + userSettings.term + '' + bind=SUPERSHIFT,RETURN,exec,'' + userSettings.term + " " + '' --class float_term + bind=SUPER,A,exec,'' + userSettings.spawnEditor + '' bind=SUPER,S,exec,'' + userSettings.spawnBrowser + '' @@ -266,6 +268,10 @@ in windowrulev2 = workspace special:scratch_term ,$scratch_term windowrulev2 = center,$scratch_term + $float_term = class:^(float_term)$ + windowrulev2 = float,$float_term + windowrulev2 = center,$float_term + $scratch_ranger = class:^(scratch_ranger)$ windowrulev2 = float,$scratch_ranger windowrulev2 = $scratchpadsize,$scratch_ranger From 4338c3a9b998cb49493338c1a55c94ac9cc3804b Mon Sep 17 00:00:00 2001 From: Emmet Date: Sun, 8 Sep 2024 11:29:28 -0500 Subject: [PATCH 4/4] Fix unbind in normal mode error --- user/app/browser/qutebrowser.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/user/app/browser/qutebrowser.nix b/user/app/browser/qutebrowser.nix index 5b57c3b..2eb099c 100644 --- a/user/app/browser/qutebrowser.nix +++ b/user/app/browser/qutebrowser.nix @@ -230,8 +230,6 @@ config.bind('', 'cmd-set-text /', mode='passthrough') config.bind('', 'reload', mode='passthrough') config.unbind('') config.unbind('') -config.unbind('') -config.unbind('') # spawn external programs config.bind(',m', 'hint links spawn mpv {hint-url}')