updating a good number of little things

This commit is contained in:
Chris Cochrun 2022-04-14 10:04:55 -05:00
parent f4d4db3ba6
commit a189f2bf8e
13 changed files with 61 additions and 16 deletions

View file

@ -6,7 +6,7 @@
(local dpi xresources.apply_dpi)
(local bling (require "bling"))
;; (local awestore (require "awestore"))
(local rubato (require "rubato"))
(local terminal "alacritty")
(local modkey "Mod4")
@ -20,15 +20,25 @@
;; (local xcenter (screen.primary.width))
(local anim-x (rubato.timed {
:pos 1930
:rate 90
:easing rubato.quadratic
:intro 0.1
:duration 0.2
:awestore_compat true
}))
(local agenda-scratch (bling.module.scratchpad {
:command "emacsclient -e '(chris/org-agenda)'"
:rule {:name "org-agenda"}
:sticky true
:autoclose true
:floating true
:geometry {:height (dpi 950) :width (dpi 900) :x (dpi 560) :y (dpi 73)}
:geometry {:height (dpi 850) :width (dpi 700) :x (dpi 800) :y (dpi 53)}
:reapply true
:dont_focus_before_close true
:rubato {:x anim-x}
;; :awestore {:x anim-x :y anim-y}
}))
(fn get-volume [?callback]
@ -172,7 +182,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"))