Compare commits

...

5 commits

Author SHA1 Message Date
Evie Litherland-Smith f902d25011 Add power management config to plasma-manager
Remove delay on mouse hover focus
2024-08-06 16:28:33 +01:00
Evie Litherland-Smith 463ef7e1a3 Firefox: separate titlebar and tabs 2024-08-06 15:50:13 +01:00
Evie Litherland-Smith 8e9986ab12 Use plasma-manager lib for configuring touchpads
Move bluedevilglobalrc config to be machine-specific (bluetooth off at
startup on laptops, on at startup on desktops, only specified if
machine has bluetooth capability)
2024-08-06 15:00:54 +01:00
Evie Litherland-Smith 402a0cf273 Add some krohnkite settings to kwinrc 2024-08-06 14:20:55 +01:00
Evie Litherland-Smith aa20e25568 Add plasma-manager manual to bookmarks.json 2024-08-06 14:20:31 +01:00
6 changed files with 111 additions and 11 deletions

View file

@ -1,12 +1,25 @@
{ config, lib, ... }:
{ ... }:
{
imports = [
./personal.nix
./desktop/plasma/default.nix
];
programs.plasma = lib.mkIf config.programs.plasma.enable {
programs.plasma = {
input.touchpads = [
{
disableWhileTyping = true;
enable = true;
leftHanded = false;
middleMouseEmulation = true;
name = "SYNA32AA:00 06CB:CE17 Touchpad";
naturalScroll = true;
productId = "52759";
tapToClick = true;
vendorId = "1739";
}
];
configFile = {
kcminputrc."Libinput/1739/52759/SYNA32AA:00 06CB:CE17 Touchpad".NaturalScroll = true;
bluedevilglobalrc.Global.launchState.value = "disable";
};
};
}

View file

@ -1,12 +1,25 @@
{ config, lib, ... }:
{ ... }:
{
imports = [
./work.nix
./desktop/plasma/default.nix
];
programs.plasma = lib.mkIf config.programs.plasma.enable {
programs.plasma = {
input.touchpads = [
{
disableWhileTyping = true;
enable = true;
leftHanded = false;
middleMouseEmulation = true;
name = "DELL0A21:00 0488:1024 Touchpad";
naturalScroll = true;
productId = "4132";
tapToClick = true;
vendorId = "1160";
}
];
configFile = {
kcminputrc."Libinput/1160/4132/DELL0A21:00 0488:1024 Touchpad".NaturalScroll = true;
bluedevilglobalrc.Global.launchState.value = "disable";
};
};
}

View file

@ -6,6 +6,11 @@
./streaming/default.nix
./desktop/plasma/default.nix
];
programs.plasma = {
configFile = {
bluedevilglobalrc.Global.launchState.value = "enable";
};
};
xdg.configFile = {
"autostart/signal-desktop.desktop".source = "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop";
"autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source = "${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop";

View file

@ -31,13 +31,18 @@
"tags": ["Software", "Documentation", "Ni"]
},
{
"name": "NixOS and Flakes",
"url": "https://nixos-and-flakes.thiscute.world/",
"name": "Home Manager",
"url": "https://nix-community.github.io/home-manager/options.xhtml",
"tags": ["Software", "Documentation", "Nix"]
},
{
"name": "Home Manager",
"url": "https://nix-community.github.io/home-manager/options.xhtml",
"name": "Plasma Manager",
"url": "https://nix-community.github.io/plasma-manager/",
"tags": ["Software", "Documentation", "Nix", "KDE", "Plasma"]
},
{
"name": "NixOS and Flakes",
"url": "https://nixos-and-flakes.thiscute.world/",
"tags": ["Software", "Documentation", "Nix"]
},
{

View file

@ -99,6 +99,7 @@
bookmarks = builtins.fromJSON (builtins.readFile ./bookmarks.json);
settings = {
"app.shield.optoutstudies.enabled" = false;
"browser.tabs.inTitlebar" = 0;
"browser.bookmarks.addedImportButton" = false;
"browser.bookmarks.showMobileBookmarks" = false;
"browser.toolbars.bookmarks.visibility" = "never";

View file

@ -201,9 +201,63 @@
};
};
powerdevil =
let
powerButtonAction = "showLogoutScreen";
autoSuspend.action = "sleep";
whenSleepingEnter = "standby";
whenLaptopLidClosed = "turnOffScreen";
in
{
AC = {
inherit powerButtonAction whenSleepingEnter whenLaptopLidClosed;
autoSuspend = {
inherit (autoSuspend) action;
idleTimeout = 7200;
};
dimDisplay = {
enable = true;
idleTimeOut = 300;
};
turnOffDisplay = {
idleTimeout = 1800;
idleTimeoutWhenLocked = 120;
};
};
battery = {
inherit powerButtonAction whenSleepingEnter whenLaptopLidClosed;
autoSuspend = {
inherit (autoSuspend) action;
idleTimeout = 1800;
};
dimDisplay = {
enable = true;
idleTimeOut = 120;
};
turnOffDisplay = {
idleTimeout = 900;
idleTimeoutWhenLocked = 60;
};
};
lowBattery = {
inherit powerButtonAction whenSleepingEnter whenLaptopLidClosed;
autoSuspend = {
inherit (autoSuspend) action;
idleTimeout = 900;
};
dimDisplay = {
enable = true;
idleTimeOut = 60;
};
turnOffDisplay = {
idleTimeout = 300;
idleTimeoutWhenLocked = "immediately";
};
};
};
configFile = {
baloofilerc."Basic Settings"."Indexing-Enabled" = false;
bluedevilglobalrc.Global.launchState.value = "enable";
kcminputrc.Keyboard.NumLock = 1;
plasmanotifyrc = {
Notifications = {
@ -286,6 +340,7 @@
};
Windows = {
FocusPolicy = "FocusFollowsMouse";
DelayFocusInterval = 0;
RollOverDesktops = true;
};
NightColor = {
@ -307,6 +362,14 @@
BorderSize = "None";
BorderSizeAuto = "false";
};
"Script-krohnkite" = {
limitTileWidth = true;
screenGapBottom = 5;
screenGapLeft = 5;
screenGapRight = 5;
screenGapTop = 5;
tileLayoutGap = 5;
};
};
};
};