mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
feat: improve ags
This commit is contained in:
@@ -16,6 +16,7 @@ export function init() {
|
||||
warnOnLowBattery();
|
||||
globals();
|
||||
tmux();
|
||||
kitty();
|
||||
gsettigsColorScheme();
|
||||
gtkFontSettings();
|
||||
dependandOptions();
|
||||
@@ -35,6 +36,18 @@ function dependandOptions() {
|
||||
});
|
||||
}
|
||||
|
||||
function kitty() {
|
||||
if (!Utils.exec("which kitty")) return;
|
||||
console.log("kitty");
|
||||
options.theme.scheme.connect("changed", ({ value }) =>
|
||||
Utils.execAsync(
|
||||
`kitty +kitten themes --reload-in=all --config-file-name /home/theaninova/.config/kitty/current-colors.conf Catppuccin-${
|
||||
value === "light" ? "Latte" : "Frappe"
|
||||
}`,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
function tmux() {
|
||||
if (!Utils.exec("which tmux")) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user