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

@ -62,6 +62,7 @@
(set naughty.config.defaults.position "bottom_middle")
(set naughty.config.defaults.margin 10)
(set naughty.config.spacing (dpi 10))
(set naughty.config.defaults.border_width 0)
(set naughty.config.defaults.hover_timeout 3)
(set naughty.config.defaults.max_width (dpi 700))

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

View file

@ -16,5 +16,6 @@ searcher = fennel.make_searcher({
table.insert(package.loaders or package.searchers, fennel.searcher)
debug.traceback = fennel.traceback
-- require("lib")
require("init") -- load ~/.config/awesome/init.fnl

1
awesome/rubato Submodule

@ -0,0 +1 @@
Subproject commit 51b4f760c9601254f4817ac90441ccd1ad0a0616

View file

@ -50,6 +50,24 @@
;; :size_hints_honor false
}
}
{
:rule_any {
:name [
"webcam"
]
}
:properties {
:floating true
:raise true
:height (dpi 400)
:screen (if (= (screen.count) 3)
2
(screen.count))
:sticky true
:ontop true
:placement awful.placement.centered
}
}
;; Davinci Resolve is fullscreen
{
:rule_any {
@ -236,11 +254,13 @@
"fp64"
"vlc"
"Vlc"
"OpenLP"
]
:instance [
"fp64"
"vlc"
"Vlc"
"OpenLP"
]
:name [
"Display Window"