chore: Change colorschemes
This commit is contained in:
parent
400e5dab02
commit
f8cab1db34
5 changed files with 19 additions and 58 deletions
|
|
@ -20,25 +20,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.ghostty;
|
package = pkgs.ghostty;
|
||||||
settings = {
|
settings = {
|
||||||
# font-family = "FiraCode Nerd Font";
|
|
||||||
# font-feature = [
|
|
||||||
# "calt=1"
|
|
||||||
# "clig=1"
|
|
||||||
# "liga=1"
|
|
||||||
# "cv01"
|
|
||||||
# "cv02"
|
|
||||||
# "cv06"
|
|
||||||
# "zero"
|
|
||||||
# "onum"
|
|
||||||
# "cv17"
|
|
||||||
# "ss05"
|
|
||||||
# "ss03"
|
|
||||||
# "cv16"
|
|
||||||
# "cv31"
|
|
||||||
# "cv29"
|
|
||||||
# "cv30"
|
|
||||||
# ];
|
|
||||||
|
|
||||||
# font-family = "Maple Mono NF CN";
|
# font-family = "Maple Mono NF CN";
|
||||||
font-feature = [
|
font-feature = [
|
||||||
"calt"
|
"calt"
|
||||||
|
|
@ -47,7 +28,7 @@
|
||||||
"ss08"
|
"ss08"
|
||||||
];
|
];
|
||||||
font-size = lib.mkForce 17;
|
font-size = lib.mkForce 17;
|
||||||
# theme = "ayu";
|
theme = lib.mkForce "Atom One Dark";
|
||||||
background-opacity = lib.mkForce 0.8;
|
background-opacity = lib.mkForce 0.8;
|
||||||
confirm-close-surface = "false";
|
confirm-close-surface = "false";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ in
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
stylix.targets.helix.enable = false;
|
stylix.targets.helix.enable = false;
|
||||||
programs.helix.settings = {
|
programs.helix.settings = {
|
||||||
theme = "gruvbox_dark_hard";
|
theme = "papercolor-light";
|
||||||
};
|
};
|
||||||
youthlic.programs.helix = {
|
youthlic.programs.helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ in
|
||||||
programs.zed-editor = {
|
programs.zed-editor = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extensions = [
|
extensions = [
|
||||||
|
"catppuccin"
|
||||||
"asciidoc"
|
"asciidoc"
|
||||||
"basher"
|
"basher"
|
||||||
"cargo-tom"
|
"cargo-tom"
|
||||||
|
|
@ -52,6 +53,8 @@ in
|
||||||
"ruff"
|
"ruff"
|
||||||
"just"
|
"just"
|
||||||
"just-ls"
|
"just-ls"
|
||||||
|
"jj-lsp"
|
||||||
|
"org"
|
||||||
];
|
];
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
editor-runtime
|
editor-runtime
|
||||||
|
|
@ -116,11 +119,8 @@ in
|
||||||
"ss08" = true;
|
"ss08" = true;
|
||||||
};
|
};
|
||||||
ui_font_family = "Source Han Sans";
|
ui_font_family = "Source Han Sans";
|
||||||
theme = "Gruvbox Dark Hard";
|
theme = "Catppuccin Latte";
|
||||||
vim_mode = true;
|
helix_mode = true;
|
||||||
vim = {
|
|
||||||
# default_mode = "helix_normal";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
image = rootPath + "/assets/wallpaper/01.png";
|
image = rootPath + "/assets/wallpaper/01.png";
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/everforest-dark-hard.yaml";
|
||||||
cursor = {
|
cursor = {
|
||||||
package = pkgs.rose-pine-cursor;
|
package = pkgs.rose-pine-cursor;
|
||||||
name = "BreezeX-RosePineDawn-Linux";
|
name = "BreezeX-RosePineDawn-Linux";
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
(setq doom-font (font-spec
|
(setq doom-font (font-spec
|
||||||
:family "Maple Mono NF CN"
|
:family "Maple Mono NF CN"
|
||||||
:size 20))
|
:size 20))
|
||||||
(setq doom-theme 'doom-gruvbox)
|
(setq doom-theme 'doom-one-light)
|
||||||
;;; Fix failure to locate 'Symbols Nerd Font Mono' font
|
;;; Fix failure to locate 'Symbols Nerd Font Mono' font
|
||||||
(setq nerd-icons-font-family "Maple Mono NF CN")
|
(setq nerd-icons-font-family "Maple Mono NF CN")
|
||||||
|
|
||||||
|
|
@ -42,26 +42,6 @@
|
||||||
(append exec-path
|
(append exec-path
|
||||||
my/emacs-deps-exec-path))))
|
my/emacs-deps-exec-path))))
|
||||||
|
|
||||||
(advice-add #'telega-chatbuf-attach-clipboard
|
|
||||||
:override #'(lambda (doc-p)
|
|
||||||
(interactive "P")
|
|
||||||
(let* ((selection-coding-system 'no-conversion) ;for rawdata
|
|
||||||
(temporary-file-directory telega-temp-dir)
|
|
||||||
(tmpfile (telega-temp-name "clipboard" ".png"))
|
|
||||||
(coding-system-for-write 'binary))
|
|
||||||
(if (eq system-type 'darwin)
|
|
||||||
(progn
|
|
||||||
;; NOTE: On MacOS, try extracting clipboard using pngpaste
|
|
||||||
(unless (executable-find "pngpaste")
|
|
||||||
(error "Please install pngpaste to paste images"))
|
|
||||||
(unless (= 0 (telega-screenshot-with-pngpaste tmpfile))
|
|
||||||
(error "No image in CLIPBOARD")))
|
|
||||||
(let ((image-data (or (gui-get-selection 'CLIPBOARD 'image/png)
|
|
||||||
(gui-get-selection 'CLIPBOARD 'image/jpeg)
|
|
||||||
(error "No image in CLIPBOARD"))))
|
|
||||||
(write-region image-data nil tmpfile nil 'quiet)))
|
|
||||||
(telega-chatbuf-attach-media tmpfile (when doc-p 'preview)))))
|
|
||||||
|
|
||||||
(defun +telega-save-file-to-clipboard (msg)
|
(defun +telega-save-file-to-clipboard (msg)
|
||||||
"Save file at point to clipboard.
|
"Save file at point to clipboard.
|
||||||
NOTE: wayland only."
|
NOTE: wayland only."
|
||||||
|
|
@ -70,19 +50,19 @@ NOTE: wayland only."
|
||||||
(unless file
|
(unless file
|
||||||
(user-error "No file associated with message"))
|
(user-error "No file associated with message"))
|
||||||
(telega-file--download file
|
(telega-file--download file
|
||||||
:priority 32
|
:priority 32
|
||||||
:update-callback
|
:update-callback
|
||||||
(lambda (dfile)
|
(lambda (dfile)
|
||||||
(telega-msg-redisplay msg)
|
(telega-msg-redisplay msg)
|
||||||
(message "Wait for downloading to finish…")
|
(message "Wait for downloading to finish…")
|
||||||
(when (telega-file--downloaded-p dfile)
|
(when (telega-file--downloaded-p dfile)
|
||||||
(let* ((fpath (telega--tl-get dfile :local :path)))
|
(let* ((fpath (telega--tl-get dfile :local :path)))
|
||||||
(shell-command (format "wl-copy < \"%s\"" fpath))
|
(shell-command (format "wl-copy < \"%s\"" fpath))
|
||||||
(message (format "File saved to clipboard: %s" fpath))))))))
|
(message (format "File saved to clipboard: %s" fpath))))))))
|
||||||
|
|
||||||
(map! :map global-map
|
(map! :map global-map
|
||||||
"C-c n"
|
"C-c n"
|
||||||
#'helm-nixos-options)
|
#'company-nixos-options)
|
||||||
|
|
||||||
(with-eval-after-load 'evil
|
(with-eval-after-load 'evil
|
||||||
(scroll-on-jump-advice-add evil-redo)
|
(scroll-on-jump-advice-add evil-redo)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue