a lot of random poop

This commit is contained in:
Chris Cochrun 2021-10-11 09:18:45 -05:00
parent e4290fb279
commit f43677bd30
14 changed files with 50 additions and 14 deletions

View file

@ -653,6 +653,7 @@
;; MPV wasn't centering right
(when (= c.class "mpv") (awful.placement.centered c))
(when (= c.class "imv") (awful.placement.centered c))
(when (= c.class "Sxiv") (awful.placement.centered c))
(awful.client.focus.byidx 1)
;; Rounded windows done right

View file

@ -152,7 +152,7 @@
;; Programs
(awful.key [ modkey ] "d" (fn [] (awful.spawn "emacsclient -c -e '(dired-jump)'"))
{:description "launch dired in new emacs frame" :group "apps" })
(awful.key [ modkey shift ] "d" (fn [] (awful.spawn "dolphin"))
(awful.key [ modkey shift ] "d" (fn [] (awful.spawn "env QT_QPA_PLATFORMTHEME='qt5ct' dolphin"))
{:description "launch dolphin file browser" :group "apps" })
(awful.key [ modkey ] "x" (fn [] (awful.spawn "emacsclient -c -e '(org-capture)'"
{:floating true :placement awful.placement.centered :class "org-agenda" :instance "org-agenda"}))

View file

@ -199,17 +199,24 @@
:rule_any {
:class [
"fp64"
"vlc"
"Vlc"
]
:instance [
"fp64"
"vlc"
"Vlc"
]
:name [
"Projection Window"
"Display Window"
"OpenLP"
]
}
:properties {
:fullscreen true
:raise true
:ontop true
:screen (screen.count)
:placement (+ awful.placement.no_offscreen awful.placement.centered)
}
}