diff --git a/files/awesome/rc.lua b/files/awesome/rc.lua index 825b5fa..119dacc 100644 --- a/files/awesome/rc.lua +++ b/files/awesome/rc.lua @@ -56,20 +56,7 @@ end) -- {{{ Variable definitions -- @DOC_LOAD_THEME@ -- Themes define colours, icons, font and wallpapers. -local themes = { ---[[ 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) -) +beautiful.init(gears.filesystem.get_dir("config").."/themes/current-theme.lua") local theme = beautiful.get() -- @DOC_DEFAULT_APPLICATIONS@ @@ -527,7 +514,7 @@ awful.keyboard.append_global_keybindings({ os.execute("screenshot activewindow") end, {description = "print focused window", group = "launcher"}), awful.key({ }, "Print", function () - os.execute("/home/radio/.local/bin/screenshot selectregion") end, + os.execute("screenshot selectregion") end, {description = "print selected region", group = "launcher"}), awful.key({ }, "XF86WebCam", function () os.execute("cam") end, diff --git a/modules/radix/files/awesome.scm b/modules/radix/files/awesome.scm index d538185..47eb69a 100644 --- a/modules/radix/files/awesome.scm +++ b/modules/radix/files/awesome.scm @@ -8,4 +8,3 @@ (define theme (local-file "../../../files/awesome/themes/anemofilia/theme.lua")) - diff --git a/radio.scm b/radio.scm index 60653f5..45d372d 100644 --- a/radio.scm +++ b/radio.scm @@ -200,7 +200,7 @@ (simple-service 'xdg-configuration-files-service home-xdg-configuration-files-service-type `(("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/theme.el" ,file:emacs-theme) ("fish/fish_variables" ,file:fish-variables)