more battery optimizations

This commit is contained in:
notgne2 2021-09-26 13:40:06 -07:00
parent 19a2e57246
commit c8b94bc9fe
No known key found for this signature in database
GPG key ID: BB661E172B42A7F8
2 changed files with 5 additions and 45 deletions

View file

@ -362,17 +362,6 @@ let
Install.WantedBy = [ "default.target" ];
};
systemd.user.services.ydotoold = {
Unit = {
Description = "Generic command-line automation tool (no X!) ";
PartOf = "graphical-session.target";
};
Service.ExecStart = "${pkgs.ydotool}/bin/ydotoold";
Install = { WantedBy = [ "graphical-session.target" ]; };
};
home.sessionVariables = { BW_SESSION = cfg.bitwardenSession; };
services.mpd = {
@ -552,40 +541,6 @@ let
);
};
xdg.configFile."gebaar/gebaard.toml".text = ''
[commands.swipe.three]
left_up = ""
right_up = ""
up = ""
left_down = ""
right_down = ""
down = "${rofiMenu}"
left = "${pkgs.ydotool}/bin/ydotool key Alt+Left"
right = "${pkgs.ydotool}/bin/ydotool key Alt+Right"
[commands.swipe.four]
left_up = ""
right_up = ""
up = ""
left_down = ""
right_down = ""
down = ""
left = ""
right = ""
'';
systemd.user.services.gebaard = {
Unit = {
Description =
" A Super Simple WM Independent Touchpad Gesture Daemon for libinput ";
PartOf = "graphical-session.target";
};
Service.ExecStart = "${pkgs.gebaar-libinput}/bin/gebaard";
Install = { WantedBy = [ "sway-session.target" ]; };
};
programs.mako.enable = true;
systemd.user.services.swayidle = mkIf cfg.screensaver.enable {