Add Konsole customisations
This commit is contained in:
parent
790c0e38f5
commit
b1d6e5d5a6
|
@ -3,6 +3,7 @@
|
||||||
fonts,
|
fonts,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
imports = [./konsole.nix];
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
volantes-cursors
|
volantes-cursors
|
||||||
|
@ -47,9 +48,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
hotkeys.commands = {
|
hotkeys.commands = {
|
||||||
"launch-terminal" = {
|
"launch-konsole" = {
|
||||||
name = "Launch Konsole Terminal Emulator";
|
name = "Launch Konsole";
|
||||||
key = "Meta+Alt+T";
|
key = "Meta+Alt+K";
|
||||||
command = "konsole";
|
command = "konsole";
|
||||||
};
|
};
|
||||||
"launch-emacs" = {
|
"launch-emacs" = {
|
||||||
|
@ -121,8 +122,8 @@
|
||||||
baloofilerc = {"Basic Settings"."Indexing-Enabled" = false;};
|
baloofilerc = {"Basic Settings"."Indexing-Enabled" = false;};
|
||||||
kdeglobals = {
|
kdeglobals = {
|
||||||
General = {
|
General = {
|
||||||
TerminalApplication = "alacritty";
|
TerminalApplication = "konsole";
|
||||||
TerminalService = "Alacritty.desktop";
|
TerminalService = "org.kde.konsole.desktop";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
kscreenlockerrc = {
|
kscreenlockerrc = {
|
||||||
|
|
24
programs/desktop/plasma6/konsole.nix
Normal file
24
programs/desktop/plasma6/konsole.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{fonts, ...}: {
|
||||||
|
programs.konsole = {
|
||||||
|
enable = true;
|
||||||
|
defaultProfile = "One-Light";
|
||||||
|
customColorSchemes.onelight = ./onelight.colorscheme;
|
||||||
|
profiles.onelight = {
|
||||||
|
name = "One-Light";
|
||||||
|
colorScheme = "onelight";
|
||||||
|
font.name = fonts.monospace.name;
|
||||||
|
extraConfig = {
|
||||||
|
"Interaction Options" = {
|
||||||
|
"TextEditorCmd" = 6;
|
||||||
|
"TextEditorCmdCustom" = "emacsclient -c +LINE:COLUMN PATH";
|
||||||
|
"UnderlineFilesEnabled" = "true";
|
||||||
|
"OpenLinksByDirectClickEnabled" = "true";
|
||||||
|
};
|
||||||
|
"Terminal Features" = {
|
||||||
|
"BlinkingCursorEnabled" = "true";
|
||||||
|
"VerticalLine" = "false";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,45 +0,0 @@
|
||||||
keyboard "Linux console"
|
|
||||||
key F2 : "\E[[B"
|
|
||||||
key Enter-NewLine : "\r"
|
|
||||||
key Enter+NewLine : "\r\n"
|
|
||||||
key F8 : "\E[19~"
|
|
||||||
key Home : "\E[1~"
|
|
||||||
key Tab : "\t"
|
|
||||||
key PgDown+Shift+Ctrl : ScrollPromptDown
|
|
||||||
key PgDown+Shift-Ctrl : ScrollPageDown
|
|
||||||
key PgDown-Shift : "\E[6~"
|
|
||||||
key PgUp+Shift+Ctrl : ScrollPromptUp
|
|
||||||
key PgUp+Shift-Ctrl : ScrollPageUp
|
|
||||||
key PgUp-Shift : "\E[5~"
|
|
||||||
key Ins-Shift : "\E[2~"
|
|
||||||
key F3 : "\E[[C"
|
|
||||||
key F6 : "\E[17~"
|
|
||||||
key F9 : "\E[20~"
|
|
||||||
key F5 : "\E[[E"
|
|
||||||
key End : "\E[4~"
|
|
||||||
key Right-Shift+Ansi-AppCursorKeys : "\E[C"
|
|
||||||
key Right-Shift+Ansi+AppCursorKeys : "\EOC"
|
|
||||||
key Right-Shift-Ansi : "\EC"
|
|
||||||
key F1 : "\E[[A"
|
|
||||||
key Up+Shift : ScrollLineUp
|
|
||||||
key Up-Shift+Ansi-AppCursorKeys : "\E[A"
|
|
||||||
key Up-Shift+Ansi+AppCursorKeys : "\EOA"
|
|
||||||
key Up-Shift-Ansi : "\EA"
|
|
||||||
key F10 : "\E[21~"
|
|
||||||
key Down+Shift : ScrollLineDown
|
|
||||||
key Down-Shift+Ansi-AppCursorKeys : "\E[B"
|
|
||||||
key Down-Shift+Ansi+AppCursorKeys : "\EOB"
|
|
||||||
key Down-Shift-Ansi : "\EB"
|
|
||||||
key Left-Shift+Ansi-AppCursorKeys : "\E[D"
|
|
||||||
key Left-Shift+Ansi+AppCursorKeys : "\EOD"
|
|
||||||
key Left-Shift-Ansi : "\ED"
|
|
||||||
key Backspace : "\x7f"
|
|
||||||
key F4 : "\E[[D"
|
|
||||||
key F12 : "\E[24~"
|
|
||||||
key F11 : "\E[23~"
|
|
||||||
key Return+NewLine : "\r\n"
|
|
||||||
key Return-NewLine : "\r"
|
|
||||||
key Esc : "\E"
|
|
||||||
key Del : "\E[3~"
|
|
||||||
key Space+Ctrl : "\x00"
|
|
||||||
key F7 : "\E[18~"
|
|
|
@ -1,25 +0,0 @@
|
||||||
[Appearance]
|
|
||||||
ColorScheme=One Light
|
|
||||||
LineSpacing=0
|
|
||||||
|
|
||||||
[Cursor Options]
|
|
||||||
CursorShape=0
|
|
||||||
|
|
||||||
[General]
|
|
||||||
Name=One Light
|
|
||||||
Parent=FALLBACK/
|
|
||||||
TerminalCenter=false
|
|
||||||
TerminalMargin=2
|
|
||||||
|
|
||||||
[Interaction Options]
|
|
||||||
OpenLinksByDirectClickEnabled=true
|
|
||||||
TextEditorCmd=6
|
|
||||||
TextEditorCmdCustom=emacsclient -c +LINE:COLUMN PATH
|
|
||||||
UnderlineFilesEnabled=true
|
|
||||||
|
|
||||||
[Keyboard]
|
|
||||||
KeyBindings=linux
|
|
||||||
|
|
||||||
[Terminal Features]
|
|
||||||
BlinkingCursorEnabled=true
|
|
||||||
VerticalLine=false
|
|
Reference in a new issue