From 72b376ca1fff3216d2ca967cb369bdef05f73e6a Mon Sep 17 00:00:00 2001 From: anemofilia Date: Mon, 14 Aug 2023 18:15:19 -0300 Subject: [PATCH] style: use more succint names where possible --- files/awesome/rc.lua | 2 +- files/fish/functions/greeting.fish | 3 ++- radio.scm | 32 +++++++++++++++--------------- 3 files changed, 19 insertions(+), 18 deletions(-) diff --git a/files/awesome/rc.lua b/files/awesome/rc.lua index b180b36..892597b 100644 --- a/files/awesome/rc.lua +++ b/files/awesome/rc.lua @@ -56,7 +56,7 @@ end) -- {{{ Variable definitions -- @DOC_LOAD_THEME@ -- Themes define colours, icons, font and wallpapers. -beautiful.init(gears.filesystem.get_dir("config").."/themes/current-theme.lua") +beautiful.init(gears.filesystem.get_dir("config").."/themes/current.lua") local theme = beautiful.get() -- @DOC_DEFAULT_APPLICATIONS@ diff --git a/files/fish/functions/greeting.fish b/files/fish/functions/greeting.fish index 8b13789..018520b 100644 --- a/files/fish/functions/greeting.fish +++ b/files/fish/functions/greeting.fish @@ -1 +1,2 @@ - +function fish_greeting +end diff --git a/radio.scm b/radio.scm index 8daec25..8ec5185 100644 --- a/radio.scm +++ b/radio.scm @@ -201,22 +201,22 @@ (simple-service 'xdg-configuration-files-service home-xdg-configuration-files-service-type - `(("awesome/rc.lua" ,file:awesome-config) - ("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) - ("fish/functions/fish_greeting.fish" ,file:fish-greeting) - ("fish/functions/fish_prompt.fish" ,file:fish-prompt) - ("git/config" ,file:git-config) - ("infokeys" ,file:info-keys) - ("kak/kakrc" ,file:kak-config) - ("kak/autoload/colorscheme.kak" ,file:kak-colorscheme) - ("lf/lfrc" ,file:lf-config) - ("mpv/mpv.conf" ,file:mpv-config) - ("mpv/input.conf" ,file:mpv-input) - ("newsraft/config" ,file:newsraft-config) - ("zathura/zathurarc" ,file:zathura-config))) + `(("awesome/rc.lua" ,file:awesome-config) + ("awesome/themes/current.lua" ,file:awesome-theme) + ("emacs/init.el" ,file:emacs-init) + ("emacs/theme.el" ,file:emacs-theme) + ("fish/fish_variables" ,file:fish-variables) + ("fish/functions/greeting.fish" ,file:fish-greeting) + ("fish/functions/prompt.fish" ,file:fish-prompt) + ("git/config" ,file:git-config) + ("infokeys" ,file:info-keys) + ("kak/kakrc" ,file:kak-config) + ("kak/autoload/colorscheme.kak" ,file:kak-colorscheme) + ("lf/lfrc" ,file:lf-config) + ("mpv/mpv.conf" ,file:mpv-config) + ("mpv/input.conf" ,file:mpv-input) + ("newsraft/config" ,file:newsraft-config) + ("zathura/zathurarc" ,file:zathura-config))) #|Shepherd service|# (service home-shepherd-service-type)