feat: switch to ghostty and helix overlay
This commit is contained in:
parent
aab27ee0d0
commit
00e0688d11
8 changed files with 286 additions and 106 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
home.sessionVariables = {
|
||||
BROWSER = "zen";
|
||||
TERMINAL = "kitty";
|
||||
TERMINAL = "ghostty";
|
||||
};
|
||||
|
||||
xdg.userDirs = {
|
||||
|
|
|
|||
|
|
@ -1,18 +1,23 @@
|
|||
{ pkgs, homeLib, hostname, ... }:
|
||||
{
|
||||
pkgs,
|
||||
homeLib,
|
||||
hostname,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
autostartEntries =
|
||||
if hostname == "framework-work" then
|
||||
[
|
||||
"${homeLib.zenStartup}/share/applications/zen-startup.desktop"
|
||||
"${homeLib.kittyZellijStartup}/share/applications/kitty-zellij-startup.desktop"
|
||||
"${homeLib.ghosttyZellijStartup}/share/applications/ghostty-zellij-startup.desktop"
|
||||
"${pkgs.slack}/share/applications/slack.desktop"
|
||||
"${homeLib.betterbirdStartup}/share/applications/betterbird-startup.desktop"
|
||||
]
|
||||
else
|
||||
[
|
||||
"${homeLib.zenStartup}/share/applications/zen-startup.desktop"
|
||||
"${homeLib.kittyZellijStartup}/share/applications/kitty-zellij-startup.desktop"
|
||||
"${homeLib.ghosttyZellijStartup}/share/applications/ghostty-zellij-startup.desktop"
|
||||
"${homeLib.signalStartup}/share/applications/signal-startup.desktop"
|
||||
"${pkgs.slack}/share/applications/slack.desktop"
|
||||
"${homeLib.betterbirdStartup}/share/applications/betterbird-startup.desktop"
|
||||
|
|
|
|||
|
|
@ -309,11 +309,11 @@ let
|
|||
terminal = false;
|
||||
categories = [ "Network" ];
|
||||
};
|
||||
kittyZellijStartup = pkgs.makeDesktopItem {
|
||||
name = "kitty-zellij-startup";
|
||||
desktopName = "Kitty Zellij Startup";
|
||||
comment = "Open Kitty and attach to the main Zellij session";
|
||||
exec = "${pkgs.kitty}/bin/kitty --start-as=fullscreen ${zellijPersistentSession}/bin/zellij-persistent-session";
|
||||
ghosttyZellijStartup = pkgs.makeDesktopItem {
|
||||
name = "ghostty-zellij-startup";
|
||||
desktopName = "Ghostty Zellij Startup";
|
||||
comment = "Open Ghostty and attach to the main Zellij session";
|
||||
exec = "${pkgs.ghostty}/bin/ghostty --fullscreen=true -e ${zellijPersistentSession}/bin/zellij-persistent-session";
|
||||
terminal = false;
|
||||
categories = [
|
||||
"TerminalEmulator"
|
||||
|
|
@ -358,8 +358,8 @@ in
|
|||
betterbirdStartup
|
||||
betterbird
|
||||
email
|
||||
ghosttyZellijStartup
|
||||
greptileSkills
|
||||
kittyZellijStartup
|
||||
name
|
||||
nasaApodWallpaper
|
||||
signalStartup
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@
|
|||
qbittorrent-enhanced
|
||||
signal-desktop
|
||||
slack
|
||||
t3code
|
||||
tor-browser
|
||||
vesktop
|
||||
vlc
|
||||
|
|
|
|||
|
|
@ -58,29 +58,29 @@
|
|||
'';
|
||||
};
|
||||
|
||||
programs.kitty = {
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
hide_window_decorations = "yes";
|
||||
draw_minimal_borders = "yes";
|
||||
font_family = "CommitMono Nerd Font";
|
||||
font_size = "12";
|
||||
confirm_os_window_close = "0";
|
||||
enable_audio_bell = "no";
|
||||
window-decoration = false;
|
||||
font-family = "CommitMono Nerd Font";
|
||||
font-size = 12;
|
||||
confirm-close-surface = false;
|
||||
bell-features = "no-audio";
|
||||
theme = "GitHub Dark High Contrast";
|
||||
fullscreen = true;
|
||||
};
|
||||
themeFile = "GitHub_Dark_High_Contrast";
|
||||
};
|
||||
|
||||
xdg.desktopEntries.kitty = {
|
||||
name = "Kitty";
|
||||
xdg.desktopEntries.ghostty = {
|
||||
name = "Ghostty";
|
||||
genericName = "Terminal Emulator";
|
||||
exec = "${pkgs.kitty}/bin/kitty --start-as=fullscreen ${homeLib.zellijPersistentSession}/bin/zellij-persistent-session";
|
||||
icon = "kitty";
|
||||
exec = "${pkgs.ghostty}/bin/ghostty --fullscreen=true -e ${homeLib.zellijPersistentSession}/bin/zellij-persistent-session";
|
||||
icon = "com.mitchellh.ghostty";
|
||||
type = "Application";
|
||||
categories = [
|
||||
"System"
|
||||
"TerminalEmulator"
|
||||
];
|
||||
comment = "Fast, featureful, GPU based terminal emulator";
|
||||
comment = "Fast, native terminal emulator";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue