dpi changes and other misc

This commit is contained in:
Chris Cochrun 2020-10-14 06:51:25 -05:00
parent 0c80a9f91f
commit 9285b6ca5d
5 changed files with 20 additions and 58 deletions

View file

@ -2,46 +2,6 @@
(local beautiful (require "beautiful"))
(local keybindings (require "keybindings"))
;; (local modkey "Mod4")
;; (local keys (gears.table.join
;; ;; (awful.key [ modkey ] "f" (fn [c] (set c.fullscreen (not c.fullscreen)) (: c :raise))
;; ;; {:description "toggle fullscreen" :group "client"})
;; (awful.key [ modkey "Shift" ] "c" (fn [c] (: c :kill))
;; {:description "close" :group "client"})
;; ;; (awful.key [ modkey "Control" ] "space" awful.client.floating.toggle
;; ;; {:description "toggle floating" :group "client"})
;; ;; (awful.key [ modkey "Control" ] "Return" (fn [c] (: c :swap (awful.client.getmaster)))
;; ;; {:description "move to master" :group "client"})
;; ;; (awful.key [ modkey ] "o" (fn [c] (: c :move_to_screen))
;; ;; {:description "move to screen" :group "client"})
;; ;; (awful.key [ modkey ] "t"(fn [c] (set c.ontop (not c.ontop)))
;; ;; {:description "toggle keep on top" :group "client"})
;; ;; (awful.key [ modkey ] "n" (fn [c]
;; ;; ;; The client currently has the input focus, so it cannot be
;; ;; ;; minimized, since minimized clients can't have the focus.
;; ;; (set c.minimized true))
;; ;; {:description "minimize" :group "client"}),
;; ;; (awful.key [ modkey ] "m" (fn [c] (set c.maximized (not c.maximized)) (: c :raise))
;; ;; {:description "(un)maximize" :group "client"}),
;; ;; (awful.key [ modkey "Control" ] "m" (fn [c] (set c.maximized_vertical (not c.maximized_vertical)) (: c :raise))
;; ;; {:description "(un)maximize vertically" :group "client"}),
;; ;; (awful.key [modkey "Shift" ] "m" (fn [c] (set c.maximized_horizontal (not c.maximized_horizontal)) (: c :raise))
;; ;; {:description "(un)maximize horizontally" :group "client"})
;; )
;; )
;; (global clientbuttons
;; (gears.table.join
;; (awful.button [] 1 (fn [c] (: c :emit_signal "request::activate" "mouse_click" {:raise true})))
;; (awful.button [ modkey ] 1 (fn [c]
;; (: c :emit_signal "request::activate" "mouse_click" {:raise true})
;; (awful.mouse.client.move c)))
;; (awful.button [ modkey ] 3 (fn [c]
;; (: c :emit_signal "request::activate" "mouse_click" {:raise true})
;; (awful.mouse.client.resize c)))))
(local rules [
;; All clients match this rule
{