feat: manage awesome themes through guix home manager
parent
f05d44e3ea
commit
80aabd2d70
|
@ -56,20 +56,7 @@ end)
|
||||||
-- {{{ Variable definitions
|
-- {{{ Variable definitions
|
||||||
-- @DOC_LOAD_THEME@
|
-- @DOC_LOAD_THEME@
|
||||||
-- Themes define colours, icons, font and wallpapers.
|
-- Themes define colours, icons, font and wallpapers.
|
||||||
local themes = {
|
beautiful.init(gears.filesystem.get_dir("config").."/themes/current-theme.lua")
|
||||||
--[[ 1 ]] "anemofilia",
|
|
||||||
--[[ 2 ]] "default",
|
|
||||||
--[[ 3 ]] "gtk",
|
|
||||||
--[[ 4 ]] "sky",
|
|
||||||
--[[ 5 ]] "xresources",
|
|
||||||
--[[ 6 ]] "zenburn",
|
|
||||||
}
|
|
||||||
choosen_theme = themes[1]
|
|
||||||
beautiful.init(
|
|
||||||
string.format("%s/themes/%s/theme.lua",
|
|
||||||
gears.filesystem.get_dir("config"),
|
|
||||||
choosen_theme)
|
|
||||||
)
|
|
||||||
local theme = beautiful.get()
|
local theme = beautiful.get()
|
||||||
|
|
||||||
-- @DOC_DEFAULT_APPLICATIONS@
|
-- @DOC_DEFAULT_APPLICATIONS@
|
||||||
|
@ -527,7 +514,7 @@ awful.keyboard.append_global_keybindings({
|
||||||
os.execute("screenshot activewindow") end,
|
os.execute("screenshot activewindow") end,
|
||||||
{description = "print focused window", group = "launcher"}),
|
{description = "print focused window", group = "launcher"}),
|
||||||
awful.key({ }, "Print", function ()
|
awful.key({ }, "Print", function ()
|
||||||
os.execute("/home/radio/.local/bin/screenshot selectregion") end,
|
os.execute("screenshot selectregion") end,
|
||||||
{description = "print selected region", group = "launcher"}),
|
{description = "print selected region", group = "launcher"}),
|
||||||
awful.key({ }, "XF86WebCam", function ()
|
awful.key({ }, "XF86WebCam", function ()
|
||||||
os.execute("cam") end,
|
os.execute("cam") end,
|
||||||
|
|
|
@ -8,4 +8,3 @@
|
||||||
(define theme
|
(define theme
|
||||||
(local-file "../../../files/awesome/themes/anemofilia/theme.lua"))
|
(local-file "../../../files/awesome/themes/anemofilia/theme.lua"))
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -200,7 +200,7 @@
|
||||||
(simple-service 'xdg-configuration-files-service
|
(simple-service 'xdg-configuration-files-service
|
||||||
home-xdg-configuration-files-service-type
|
home-xdg-configuration-files-service-type
|
||||||
`(("awesome/rc.lua" ,file:awesome-config)
|
`(("awesome/rc.lua" ,file:awesome-config)
|
||||||
("awesome/themes/anemofilia/theme.lua" ,file:awesome-theme)
|
("awesome/themes/current-theme.lua" ,file:awesome-theme)
|
||||||
("emacs/init.el" ,file:emacs-init)
|
("emacs/init.el" ,file:emacs-init)
|
||||||
("emacs/theme.el" ,file:emacs-theme)
|
("emacs/theme.el" ,file:emacs-theme)
|
||||||
("fish/fish_variables" ,file:fish-variables)
|
("fish/fish_variables" ,file:fish-variables)
|
||||||
|
|
Loading…
Reference in New Issue