Add plasma module
This commit is contained in:
parent
c1e2b34b50
commit
1e53199429
5 changed files with 82 additions and 253 deletions
47
modules/plasma.nix
Normal file
47
modules/plasma.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# Enable plasma configuration
|
||||
programs.plasma.enable = true;
|
||||
|
||||
# Configure Konsole through plasma-manager
|
||||
programs.konsole = {
|
||||
enable = true;
|
||||
defaultProfile = "Main";
|
||||
profiles.Main = {
|
||||
font = {
|
||||
name = "JetBrainsMono Nerd Font";
|
||||
size = 14;
|
||||
};
|
||||
colorScheme = "Breeze";
|
||||
extraConfig = {
|
||||
General.SilenceSeconds = 0;
|
||||
"Scrolling".ScrollBarPosition = 0;
|
||||
"Terminal Features" = {
|
||||
BlinkingTextEnabled = true;
|
||||
FlowControlEnabled = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
extraConfig = {
|
||||
MainWindow = {
|
||||
ToolBarsMovable = "Disabled";
|
||||
};
|
||||
KonsoleWindow.ShowMenuBarByDefault = false;
|
||||
MainToolBar.Visible = false;
|
||||
SessionToolBar.Visible = false;
|
||||
TabBar = {
|
||||
TabBarPosition = "Top";
|
||||
TabBarVisibility = "ShowTabBarWhenNeeded";
|
||||
ShowQuickButtons = false;
|
||||
NewTabButton = false;
|
||||
CloseTabButton = false;
|
||||
};
|
||||
General.ShowWindowTitleOnTitleBar = false;
|
||||
"Notification Messages".CloseSession = false;
|
||||
};
|
||||
};
|
||||
|
||||
# Configure KWin for borderless windows
|
||||
programs.plasma.kwin.borderlessMaximizedWindows = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue