feat(home): add power configuration to plasma
This commit is contained in:
parent
155e1512de
commit
186afc9cd0
@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
programs.firefox = {
|
||||
nativeMessagingHosts = [ pkgs.plasma-browser-integration ];
|
||||
@ -26,6 +26,16 @@
|
||||
naturalScroll = true;
|
||||
}];
|
||||
|
||||
powerdevil = let
|
||||
settings = {
|
||||
powerButtonAction = "sleep";
|
||||
};
|
||||
|
||||
modes = [ "AC" "battery" "lowBattery" ];
|
||||
in lib.mergeAttrsList (
|
||||
map (m: { "${m}" = settings; }) modes
|
||||
);
|
||||
|
||||
kwin.edgeBarrier = 0;
|
||||
workspace = {
|
||||
clickItemTo = "open";
|
||||
|
Loading…
Reference in New Issue
Block a user