diff options
author | aszlig <aszlig@redmoonstudios.org> | 2014-12-31 11:59:54 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2014-12-31 11:59:54 +0100 |
commit | 0df9641b6f051543829397a1f717d6507d04b0fc (patch) | |
tree | 8b2c35ed3f8a1178eeb0e8836a882f5d3fad0ae1 /cfgfiles/gajim.nix | |
parent | b869a195f03a86948a6dd7521cfc67418c459991 (diff) |
cfgfiles/gajim: Properly define status messages.
So far, I've kept the default ones and dragged custom ones to various machines manually. Now, this defines a few custom status messages I frequently use. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'cfgfiles/gajim.nix')
-rw-r--r-- | cfgfiles/gajim.nix | 147 |
1 files changed, 28 insertions, 119 deletions
diff --git a/cfgfiles/gajim.nix b/cfgfiles/gajim.nix index b86f7899..e9ed1100 100644 --- a/cfgfiles/gajim.nix +++ b/cfgfiles/gajim.nix @@ -477,125 +477,8 @@ in mkConfig { }; }; - statusmsg = { - "Back soon" = { - activity = ""; - activity_text = ""; - message = "Back in some minutes."; - mood = ""; - mood_text = ""; - subactivity = ""; - }; - - Eating = { - activity = "eating"; - activity_text = ""; - message = "I'm eating, so leave me a message."; - mood = ""; - mood_text = ""; - subactivity = "other"; - }; - - Movie = { - activity = "relaxing"; - activity_text = ""; - message = "I'm watching a movie."; - mood = ""; - mood_text = ""; - subactivity = "watching_a_movie"; - }; - - Out = { - activity = "relaxing"; - activity_text = ""; - message = "I'm out enjoying life."; - mood = ""; - mood_text = ""; - subactivity = "going_out"; - }; - - Phone = { - activity = "talking"; - activity_text = ""; - message = "I'm on the phone."; - mood = ""; - mood_text = ""; - subactivity = "on_the_phone"; - }; - - Sleeping = { - activity = "inactive"; - activity_text = ""; - message = "ZZZZzzzzzZZZZZ"; - mood = "sleepy"; - mood_text = ""; - subactivity = "sleeping"; - }; - - Working = { - activity = "working"; - activity_text = ""; - message = "I'm working."; - mood = ""; - mood_text = ""; - subactivity = "other"; - }; - - _last_away = { - activity = ""; - activity_text = ""; - message = ""; - mood = ""; - mood_text = ""; - subactivity = ""; - }; - - _last_chat = { - activity = ""; - activity_text = ""; - message = ""; - mood = ""; - mood_text = ""; - subactivity = ""; - }; - - _last_dnd = { - activity = ""; - activity_text = ""; - message = ""; - mood = ""; - mood_text = ""; - subactivity = ""; - }; - - _last_invisible = { - activity = ""; - activity_text = ""; - message = ""; - mood = ""; - mood_text = ""; - subactivity = ""; - }; - - _last_offline = { - activity = ""; - activity_text = ""; - message = ""; - mood = ""; - mood_text = ""; - subactivity = ""; - }; - - _last_online = { - activity = ""; - activity_text = ""; - message = ""; - mood = ""; - mood_text = ""; - subactivity = ""; - }; - - _last_xa = { + statusmsg = let + defaults = { activity = ""; activity_text = ""; message = ""; @@ -603,6 +486,32 @@ in mkConfig { mood_text = ""; subactivity = ""; }; + applyDefaults = const (attrs: defaults // attrs); + in mapAttrs applyDefaults { + zone.activity = "working"; + zone.subactivity = "coding"; + zone.message = "In The Zone[TM]"; + + rofa.activity = "working"; + rofa.activity_text = "Blinded by the lights..."; + rofa.subactivity = "other"; + rofa.message = "RoFa"; + + kernel.mood = "happy"; + kernel.message = "Kerneling down for reboot NOW."; + + sleep.activity = "inactive"; + sleep.subactivity = "sleeping"; + sleep.mood = "sleepy"; + sleep.message = "Sleeping the hell out of here..."; + + _last_away = {}; + _last_chat = {}; + _last_dnd = {}; + _last_invisible = {}; + _last_offline = {}; + _last_online = {}; + _last_xa = {}; }; soundevents = { |