From 189dd783340ba80d800d1115d9ad5b6851a06645 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 25 Mar 2022 07:14:08 -0500 Subject: [PATCH] Making rules work a little bit better --- awesome/keybindings.fnl | 2 +- awesome/rules.fnl | 11 +++++------ mpv/mpv.conf | 4 ++-- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/awesome/keybindings.fnl b/awesome/keybindings.fnl index 5f9d170..e47c39f 100644 --- a/awesome/keybindings.fnl +++ b/awesome/keybindings.fnl @@ -172,7 +172,7 @@ {:description "select pass" :group "apps" }) (awful.key [ modkey shift ] "w" (fn [] (awful.spawn "libreoffice --writer")) {:description "Open Writer" :group "apps" }) - (awful.key [modkey] "b" (fn [] (awful.spawn "fflof")) + (awful.key [modkey] "b" (fn [] (awful.spawn "qblof")) {:description "launch browser" :group "apps"}) ;; rofi (awful.key [] "Menu" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/launcher.sh")) diff --git a/awesome/rules.fnl b/awesome/rules.fnl index 9fa6523..1eb0d22 100644 --- a/awesome/rules.fnl +++ b/awesome/rules.fnl @@ -38,7 +38,7 @@ :floating true :raise true :height (dpi 1000) - :screen 2 + :screen (screen.count) :sticky true :placement awful.placement.centered } @@ -63,11 +63,10 @@ :rule_any { :name [ "Secondary Screen" - "Church Presenter" ] } :properties { - :screen 2 + :screen (screen.count) :floating true :fullscreen true :size_hints_honor false @@ -136,7 +135,7 @@ :properties { :floating true :raise true - :screen 1 + :screen awful.screen.preferred :placement (+ awful.placement.no_offscreen awful.placement.centered) } } @@ -169,7 +168,7 @@ ] } :properties { - :screen 2 + :screen (screen.count) :focus awful.client.focus.filter :raise true } @@ -185,8 +184,8 @@ "ffplay" "Junction" "junction" - "pinentry-qt" "Church Presenter" + "pinentry-qt" ] :name [ "Event Tester" diff --git a/mpv/mpv.conf b/mpv/mpv.conf index ce9159c..442eebe 100644 --- a/mpv/mpv.conf +++ b/mpv/mpv.conf @@ -2,8 +2,8 @@ osc=no vo=gpu af=scaletempo2 -autofit=99% -geometry=99%:99% +autofit=90% +geometry=90%:90% # input-ipc-server="/tmp/mpvsocket" hwdec=auto rtsp-transport=udp