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 = {
|
programs.firefox = {
|
||||||
nativeMessagingHosts = [ pkgs.plasma-browser-integration ];
|
nativeMessagingHosts = [ pkgs.plasma-browser-integration ];
|
||||||
@ -26,6 +26,16 @@
|
|||||||
naturalScroll = true;
|
naturalScroll = true;
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
powerdevil = let
|
||||||
|
settings = {
|
||||||
|
powerButtonAction = "sleep";
|
||||||
|
};
|
||||||
|
|
||||||
|
modes = [ "AC" "battery" "lowBattery" ];
|
||||||
|
in lib.mergeAttrsList (
|
||||||
|
map (m: { "${m}" = settings; }) modes
|
||||||
|
);
|
||||||
|
|
||||||
kwin.edgeBarrier = 0;
|
kwin.edgeBarrier = 0;
|
||||||
workspace = {
|
workspace = {
|
||||||
clickItemTo = "open";
|
clickItemTo = "open";
|
||||||
|
Loading…
Reference in New Issue
Block a user