ma pkgs.awesomecfg.full: start networkmanager,blueman-applet,clipit

This commit is contained in:
makefu 2018-08-06 17:53:56 +02:00
parent b352a570c1
commit 3991beae12
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 17 additions and 2 deletions

View File

@ -2,7 +2,10 @@
, lib , lib
, alsaUtils , alsaUtils
, xbacklight , xbacklight
, modkey?"Mod4" , networkmanagerapplet
, blueman
, clipit
, modkey ? "Mod4"
, locker? "${pkgs.xlock}/bin/xlock -mode blank" , locker? "${pkgs.xlock}/bin/xlock -mode blank"
, ... }: , ... }:
@ -10,7 +13,7 @@
# replace: @alsaUtils@ @xlockmore@ @xbacklight@ @modkey@ # replace: @alsaUtils@ @xlockmore@ @xbacklight@ @modkey@
full = lib.makeOverridable pkgs.substituteAll { full = lib.makeOverridable pkgs.substituteAll {
name = "awesome_full_config"; name = "awesome_full_config";
inherit alsaUtils locker xbacklight modkey; inherit alsaUtils locker xbacklight modkey networkmanagerapplet blueman clipit;
isExecutable = false; isExecutable = false;
src = ./full.cfg; src = ./full.cfg;
}; };

View File

@ -568,6 +568,18 @@ local os = {
-- }}} -- }}}
-- {{{ autostart
do
local cmds =
{
"@networkmanagerapplet@/bin/nm-applet",
"@blueman@/bin/blueman-applet",
"@clipit@/bin/clipit"
}
for _,i in pairs(cmds) do
awful.util.spawn(i)
end
end
-- }}} -- }}}