Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 31 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@ rust-version = "1.85"

[dependencies]
alacritty_terminal = "0.25.1"
dirs = "5.0"
hex_color = { version = "3", features = ["serde"] }
indexmap = "2"
log = "0.4"
nix = { version = "0.29", features = ["signal", "process", "fs"] }
open = "5.3.2"
palette = { version = "0.7", features = ["serde"] }
paste = "1.0"
ron = "0.11"
serde = { version = "1", features = ["serde_derive"] }
shlex = "1"
tokio = { version = "1", features = ["sync"] }
tokio = { version = "1", features = ["sync", "signal"] }
# CLI arguments
clap_lex = "0.7"
# Internationalization
Expand Down
5 changes: 5 additions & 0 deletions i18n/en/cosmic_term.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ advanced = Advanced
show-headerbar = Show header
show-header-description = Reveal the header from the right-click menu.

# Drop-down
dropdown = Drop-down
dropdown-height = Drop-down height
dropdown-height-description = Height of the drop-down terminal in pixels

# Find
find-placeholder = Find...
find-previous = Find previous
Expand Down
2 changes: 2 additions & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ pub struct Config {
pub syntax_theme_light: String,
pub focus_follow_mouse: bool,
pub default_profile: Option<ProfileId>,
pub dropdown_height: u32,
}

impl Default for Config {
Expand All @@ -259,6 +260,7 @@ impl Default for Config {
syntax_theme_light: COSMIC_THEME_LIGHT.to_string(),
use_bright_bold: false,
default_profile: None,
dropdown_height: 400,
}
}
}
Expand Down
Loading