home | sway - add logic to get diff sway config per host
This commit is contained in:
parent
a9e00558b2
commit
fe602d5809
3 changed files with 395 additions and 4 deletions
|
|
@ -1,6 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
lib.mkIf networking.hostName == "pocket2" then { source = files/sway/pocket2; }
|
||||
lib.mkIf networking.hostName != "pocket2" then { source = files/sway/default; }
|
||||
|
||||
in
|
||||
{
|
||||
xdg.configFile."sway/config".source = files/sway.config;
|
||||
xdg.configFile."sway/config".source = source;
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
@ -92,9 +97,7 @@
|
|||
#custom-mycal { background: #cccc99; color: #2a5c45; }
|
||||
#temperature { background: #f0932b; }
|
||||
#temperature.critical { background: #eb4d4b; }
|
||||
#tray { background-color: #64727D; }
|
||||
#idle_inhibitor { background-color: #2d3436; }
|
||||
#idle_inhibitor.activated { background-color: #ecf0f1; color: #2d3436; }
|
||||
#tray { background-color: #64727D; } idle_inhibitor { background-color: #2d3436; } idle_inhibitor.activated { background-color: #ecf0f1; color: #2d3436; }
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue