adding a bunch of changes for awesomewm
This commit is contained in:
parent
f764e5d4f8
commit
3724fd7564
7 changed files with 81 additions and 17 deletions
|
@ -707,6 +707,7 @@
|
|||
(when (= c.class "mpv") (awful.placement.centered c))
|
||||
(when (= c.class "imv") (awful.placement.centered c))
|
||||
(when (= c.class "Sxiv") (awful.placement.centered c))
|
||||
(when (= c.class "btop") (awful.placement.centered c))
|
||||
(when (= c.class "Libre Presenter") (awful.placement.centered c))
|
||||
(when (= c.name "Display Window") (set c.fullscreen true))
|
||||
(when (= c.name "presentation-window") (set c.fullscreen true))
|
||||
|
@ -761,7 +762,7 @@
|
|||
(awful.spawn.once "picom --experimental-backend")
|
||||
(awful.spawn.once "/usr/lib/polkit-kde-authentication-agent-1")
|
||||
(awful.spawn.once "kwalletd5")
|
||||
(awful.spawn.once "feh --bg-fill /home/chris/Pictures/wallpapers/tech.jpg")
|
||||
(awful.spawn.once "feh --bg-fill /home/chris/Pictures/wallpapers/nixorange.webp")
|
||||
(awful.spawn.once "bluetoothctl power on")
|
||||
(awful.spawn.once "nextcloud --background")
|
||||
(awful.spawn.once "rbw-agent")
|
||||
|
|
|
@ -156,6 +156,8 @@
|
|||
(awful.key [] "XF86MonBrightnessDown" (fn [] (awful.spawn.with_shell
|
||||
"brightnessctl s 5%- && lightget"))
|
||||
{:description "Decrease monitor brightness by 5%" :group "utilities"})
|
||||
(awful.key [modkey ctrl] "i" (fn [] (awful.spawn "alacritty --class btop -e btop"))
|
||||
{:description "launch btop" :group "utilities"})
|
||||
;; Menubar
|
||||
;; (awful.key [ modkey ] "p" (fn [] (menubar.show))
|
||||
;; {:description "show the menubar" :group "launcher"})
|
||||
|
@ -416,7 +418,7 @@
|
|||
{:description "toggle floating" :group "client"})
|
||||
(awful.key [ modkey ctrl ] "Return" (fn [c] (: c :swap (awful.client.getmaster)))
|
||||
{:description "move to master" :group "client"})
|
||||
(awful.key [ modkey ctrl ] "c" awful.placement.centered
|
||||
(awful.key [ modkey ctrl ] "c" (fn [c] (set c.placement awful.placement.centered))
|
||||
{:description "move the floating window to the center of the screen" :group "layout"})
|
||||
(awful.key [ modkey ] "o" (fn [c] (: c :move_to_screen))
|
||||
{:description "move to screen" :group "client"})
|
||||
|
|
|
@ -168,6 +168,8 @@
|
|||
:instance [
|
||||
"pulsemixer"
|
||||
]
|
||||
:class [
|
||||
]
|
||||
}
|
||||
:properties {
|
||||
:floating true
|
||||
|
@ -179,6 +181,44 @@
|
|||
:placement awful.placement.centered
|
||||
}
|
||||
}
|
||||
{
|
||||
:rule_any {
|
||||
:instance [
|
||||
"btop"
|
||||
]
|
||||
:class [
|
||||
"btop"
|
||||
]
|
||||
}
|
||||
:properties {
|
||||
:floating true
|
||||
:raise true
|
||||
:ontop true
|
||||
:screen awful.screen.preferred
|
||||
:width (dpi 1000)
|
||||
:height (dpi 700)
|
||||
:placement awful.placement.centered
|
||||
}
|
||||
}
|
||||
{
|
||||
:rule_any {
|
||||
:instance [
|
||||
"eww"
|
||||
]
|
||||
:class [
|
||||
"eww"
|
||||
]
|
||||
}
|
||||
:properties {
|
||||
:floating true
|
||||
:raise true
|
||||
:ontop true
|
||||
:screen awful.screen.preferred
|
||||
;; :width (dpi 600)
|
||||
;; :height (dpi 200)
|
||||
:placement (+ awful.placement.centered awful.placement.no_offscreen awful.placement.top)
|
||||
}
|
||||
}
|
||||
;; Tell qb to open primarily on the secondary monitor
|
||||
{
|
||||
:rule_any {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue