From cb9ad9ab2df98de5348a077a25b57fbe1028bd23 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Sat, 10 Aug 2024 20:11:22 +0700 Subject: [PATCH] qtile: Add more unity window rules --- .config/emacs/init.org | 7 ++++--- .config/keyd/default.conf | 2 -- .config/qtile/config.py | 6 ++++++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.config/emacs/init.org b/.config/emacs/init.org index f8fe664..ca6b826 100644 --- a/.config/emacs/init.org +++ b/.config/emacs/init.org @@ -538,7 +538,7 @@ Ligatures... are they that useful? (setq-default line-spacing 5) (setq indent-line-function #'indent-relative) -(set-default 'truncate-lines t) +(set-default 'truncate-lines nil) ;; (add-hook 'before-save-hook 'whitespace-cleanup) #+end_src ** Text Editor @@ -2045,8 +2045,9 @@ startup. Reason we have to call this is so the vterm fucntion can call `vterm--i ;; (add-hook 'emacs-startup-hook (lambda () (require 'vterm))) #+end_src -This bit of code is to achieve a vterm scratchpad. In order to know I'm closing -the right frame, I'm going to use the frame's name to close and remove the hook +This bit of code is to achieve a vterm scratchpad for my window manager. In +order to know I'm closing the right frame, I'm going to use the frame's name to +close and remove the hook #+begin_src emacs-lisp (defun vterm--set-title (title) diff --git a/.config/keyd/default.conf b/.config/keyd/default.conf index 8a7ec80..f7a375f 100644 --- a/.config/keyd/default.conf +++ b/.config/keyd/default.conf @@ -11,8 +11,6 @@ overload_tap_timeout = 250 esc = capslock capslock = overload(control, esc) rightalt = layer(rightalt) -rightcontrol = overload(hyper, rightcontrol) -leftcontrol = overload(hyper, leftcontrol) [hyper:C-M-S-A] diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 58e2a60..ead0022 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -354,6 +354,8 @@ floating_layout = layout.Floating( Match(wm_class="makebranch"), # gitk Match(wm_class="maketag"), # gitk Match(wm_class="ssh-askpass"), # ssh-askpass + Match(title="SimpleScreenRecorder"), # ssh-askpass + # Godot Match(title="Alert!"), Match(title="Please Confirm..."), Match(title="Create New Node"), @@ -365,6 +367,10 @@ floating_layout = layout.Floating( Match(title="pinentry"), # GPG key password entry # Unity3D Match(title="UnityEditor.AddComponent.AddComponentWindow"), + Match(title="UnityEditor.IconSelector"), + Match(title="UnityEditor.PopupWindow"), + Match(title="UnityEditor.PopupWindowWithoutFocus"), + Match(wm_class="Unity", title="Select Material"), Match(wm_class="Unity", title="Color"), # Match(wm_class="Unity", title="Select Material"), ]