Add Backham Submodule

This commit is contained in:
Sravan Balaji 2023-03-28 07:41:00 -04:00
parent c0fc18d5f9
commit 42c59b47ff
4 changed files with 13 additions and 0 deletions

4
.gitmodules vendored
View File

@ -2,3 +2,7 @@
path = awesomewm-micky path = awesomewm-micky
url = git@github.com:balajsra/awesomewm-micky.git url = git@github.com:balajsra/awesomewm-micky.git
branch = master branch = master
[submodule "awesomewm-backham"]
path = awesomewm-backham
url = git@github.com:basaran/awesomewm-backham.git
branch = master

View File

@ -125,6 +125,12 @@ Automatically move and center mouse cursors to the focused window
require("awesomewm-micky") require("awesomewm-micky")
#+END_SRC #+END_SRC
Automatically focus back to the previous client on minimize and close
#+BEGIN_SRC lua :tangle rc.lua
require("awesomewm-backham")
#+END_SRC
* Error Handling * Error Handling
Check if awesome encountered an error during startup and fell back to another config (This code will only ever execute for the fallback config) Check if awesome encountered an error during startup and fell back to another config (This code will only ever execute for the fallback config)

1
awesomewm-backham Submodule

@ -0,0 +1 @@
Subproject commit 6093c00c56f0c83123c84137ddeac428e1f11722

2
rc.lua
View File

@ -17,6 +17,8 @@ require("awful.hotkeys_popup.keys")
require("awesomewm-micky") require("awesomewm-micky")
require("awesomewm-backham")
if awesome.startup_errors then if awesome.startup_errors then
naughty.notify({ preset = naughty.config.presets.critical, naughty.notify({ preset = naughty.config.presets.critical,
title = "Oops, there were errors during startup!", title = "Oops, there were errors during startup!",