qtile: Add more unity window rules

This commit is contained in:
Joseph Ferano 2024-08-10 20:11:22 +07:00
parent 766790b650
commit cb9ad9ab2d
3 changed files with 10 additions and 5 deletions

View File

@ -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)

View File

@ -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]

View File

@ -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"),
]