Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f01252f04 | ||
|
|
b3448a728f | ||
|
|
a85ac09348 | ||
|
|
c70a2212d7 | ||
|
|
4a84ee5711 |
No files matched your search
+12
-6
@@ -78,6 +78,8 @@
|
||||
programs.joplin-desktop.enable = true;
|
||||
|
||||
# --- xdg ---
|
||||
xdg.configFile."mimeapps.list".force = true;
|
||||
|
||||
xdg.desktopEntries.yazi-wezterm =
|
||||
let
|
||||
yaziOpenFolder = pkgs.writeShellScript "yaziOpenFolder" ''
|
||||
@@ -103,14 +105,15 @@
|
||||
defaultApplications = {
|
||||
# Use "nemo.desktop" for GUI, or "yazi-wezterm.desktop" for terminal
|
||||
"inode/directory" = [ "yazi-wezterm.desktop" ];
|
||||
"x-scheme-handler/file" = [ "yazi-wezterm.desktop" ];
|
||||
|
||||
# Images: gThumb
|
||||
"image/jpeg" = [ "gthumb.desktop" ];
|
||||
"image/png" = [ "gthumb.desktop" ];
|
||||
"image/gif" = [ "gthumb.desktop" ];
|
||||
"image/webp" = [ "gthumb.desktop" ];
|
||||
"image/tiff" = [ "gthumb.desktop" ];
|
||||
"image/bmp" = [ "gthumb.desktop" ];
|
||||
"image/jpeg" = [ "org.gnome.gthumb.desktop" ];
|
||||
"image/png" = [ "org.gnome.gthumb.desktop" ];
|
||||
"image/gif" = [ "org.gnome.gthumb.desktop" ];
|
||||
"image/webp" = [ "org.gnome.gthumb.desktop" ];
|
||||
"image/tiff" = [ "org.gnome.gthumb.desktop" ];
|
||||
"image/bmp" = [ "org.gnome.gthumb.desktop" ];
|
||||
|
||||
# Documents: Okular
|
||||
"application/pdf" = [ "org.kde.okular.desktop" ];
|
||||
@@ -123,6 +126,9 @@
|
||||
"video/quicktime" = [ "io.github.diegopvlk.Cine.desktop" ];
|
||||
"video/x-msvideo" = [ "io.github.diegopvlk.Cine.desktop" ];
|
||||
};
|
||||
associations.added = {
|
||||
"inode/directory" = [ "yazi-wezterm.desktop" ];
|
||||
};
|
||||
};
|
||||
|
||||
dconf.settings = {
|
||||
|
||||
@@ -55,6 +55,7 @@ in
|
||||
jdk21
|
||||
])
|
||||
++ (with pkgs.unstablePkgs; [
|
||||
prismlauncher
|
||||
])
|
||||
);
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
imports = [
|
||||
inputs.nixvim.homeModules.nixvim
|
||||
];
|
||||
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
@@ -23,6 +24,34 @@
|
||||
};
|
||||
};
|
||||
|
||||
highlightOverride = {
|
||||
# Core & empty space below buffers/trees
|
||||
Normal = { bg = "none"; };
|
||||
NormalNC = { bg = "none"; };
|
||||
EndOfBuffer = { bg = "none"; };
|
||||
SignColumn = { bg = "none"; };
|
||||
WinSeparator = { bg = "none"; fg = "#75715e"; };
|
||||
|
||||
# Floating windows
|
||||
NormalFloat = { bg = "none"; };
|
||||
FloatBorder = { bg = "none"; fg = "#75715e"; };
|
||||
|
||||
# Neo-tree (including empty area below files)
|
||||
NeoTreeNormal = { bg = "none"; };
|
||||
NeoTreeNormalNC = { bg = "none"; };
|
||||
NeoTreeEndOfBuffer = { bg = "none"; };
|
||||
NeoTreeWinSeparator = { bg = "none"; fg = "#75715e"; };
|
||||
|
||||
# Which-key (v3 uses WhichKeyNormal)
|
||||
WhichKeyNormal = { bg = "none"; };
|
||||
WhichKeyFloat = { bg = "none"; };
|
||||
WhichKeyBorder = { bg = "none"; fg = "#75715e"; };
|
||||
|
||||
# Telescope
|
||||
TelescopeNormal = { bg = "none"; };
|
||||
TelescopeBorder = { bg = "none"; fg = "#75715e"; };
|
||||
};
|
||||
|
||||
plugins = {
|
||||
# --- navigation ---
|
||||
telescope = {
|
||||
@@ -127,9 +156,9 @@
|
||||
|
||||
};
|
||||
|
||||
# Define the global helper function so you can run :lua setWezTheme('solid') anytime
|
||||
# Define the global helper function so you can run :lua swtt('solid') anytime
|
||||
extraConfigLua = ''
|
||||
_G.setWezTheme = function(theme)
|
||||
_G.swtt = function(theme)
|
||||
local val = theme or ""
|
||||
local b64 = vim.base64.encode(val)
|
||||
local seq = string.format('\x1b]1337;SetUserVar=%s=%s\x07', 'WEZTERM_THEME', b64)
|
||||
@@ -171,7 +200,7 @@
|
||||
callback = {
|
||||
__raw = ''
|
||||
function()
|
||||
setWezTheme('nvim')
|
||||
swtt('nvim')
|
||||
end
|
||||
'';
|
||||
};
|
||||
@@ -184,7 +213,7 @@
|
||||
callback = {
|
||||
__raw = ''
|
||||
function()
|
||||
setWezTheme("")
|
||||
swtt("")
|
||||
end
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -12,15 +12,14 @@
|
||||
];
|
||||
home.packages = (
|
||||
(with pkgs; [
|
||||
# --- Core Wayland plumbing (Stable 26.05) ---
|
||||
wl-clipboard
|
||||
(pkgs.writeShellScriptBin "lg" ''exec ${pkgs.lazygit}/bin/lazygit "$@"'')
|
||||
])
|
||||
++ (with pkgs.unstablePkgs; [
|
||||
# --- Fast-moving CLI utils (Unstable) ---
|
||||
clipse
|
||||
timg
|
||||
])
|
||||
);
|
||||
|
||||
# --- Shell environment ---
|
||||
programs.direnv.enable = true;
|
||||
home.shellAliases = {
|
||||
@@ -28,6 +27,7 @@
|
||||
la = "ls -a";
|
||||
lal = "ls -al";
|
||||
};
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
@@ -40,6 +40,7 @@
|
||||
please = "sudo";
|
||||
};
|
||||
};
|
||||
|
||||
home.shell.enableFishIntegration = true;
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
@@ -65,6 +66,7 @@
|
||||
user.email = "149337190+WinterEkisha@users.noreply.github.com";
|
||||
};
|
||||
};
|
||||
|
||||
programs.eza.enable = true;
|
||||
programs.bat.enable = true;
|
||||
programs.btop.enable = true;
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
local wezterm = require 'wezterm'
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
-- Launch fish directly instead of your system login shell
|
||||
-- sets fish as defualt shell
|
||||
config.default_prog = { 'fish', '-l' }
|
||||
|
||||
-- Base Appearance & Tab Bar (Default / Fallback state)
|
||||
config.window_background_opacity = 0.60
|
||||
config.wayland_window_background_blur = true
|
||||
config.hide_tab_bar_if_only_one_tab = true
|
||||
@@ -19,6 +18,7 @@ config.window_padding = {
|
||||
config.font_size = 14.0
|
||||
config.colors = {
|
||||
foreground = '#dddddd',
|
||||
background = '#000000'
|
||||
}
|
||||
|
||||
-- Helper to safely check if a file exists before applying it
|
||||
@@ -38,18 +38,14 @@ end
|
||||
-- Keys correspond to the value of the WEZTERM_THEME user variable.
|
||||
local profiles = {
|
||||
nvim = {
|
||||
colors = { foreground = '#ffffff' },
|
||||
colors = { foreground = '#e0e0e0' },
|
||||
window_background_image = wezterm.config_dir .. '/texture.png',
|
||||
window_background_opacity = 1.0,
|
||||
},
|
||||
solid = {
|
||||
colors = { foreground = '#eeeeee', background = '#1e1e2e' },
|
||||
colors = { foreground = '#dddddd', background = '#000000' },
|
||||
window_background_opacity = 1.0,
|
||||
},
|
||||
light = {
|
||||
colors = { foreground = '#111111', background = '#f5f5f5' },
|
||||
window_background_opacity = 0.95,
|
||||
},
|
||||
}
|
||||
|
||||
-- Track the active profile per window so we don't trigger redundant reloads
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
<div align="center">
|
||||
<img src="https://github.com/sxyazi/yazi/blob/main/assets/logo.png?raw=true" alt="Yazi logo" width="20%">
|
||||
</div>
|
||||
|
||||
<h3 align="center">
|
||||
Catppuccin Frappe Flavor for <a href="https://github.com/sxyazi/yazi">Yazi</a>
|
||||
</h3>
|
||||
|
||||
## 👀 Preview
|
||||
|
||||
<img src="preview.png" width="600" />
|
||||
|
||||
## 🎨 Installation
|
||||
|
||||
```sh
|
||||
ya pkg add yazi-rs/flavors:catppuccin-frappe
|
||||
```
|
||||
|
||||
## ⚙️ Usage
|
||||
|
||||
Set the content of your `theme.toml` to enable it as your _dark_ flavor:
|
||||
|
||||
```toml
|
||||
[flavor]
|
||||
dark = "catppuccin-frappe"
|
||||
```
|
||||
|
||||
Make sure your `theme.toml` doesn't contain anything other than `[flavor]`, unless you want to override certain styles of this flavor.
|
||||
|
||||
See the [Yazi flavor documentation](https://yazi-rs.github.io/docs/flavors/overview) for more details.
|
||||
|
||||
## 📜 License
|
||||
|
||||
The flavor is MIT-licensed, and the included tmTheme is also MIT-licensed.
|
||||
|
||||
Check the [LICENSE](LICENSE) and [LICENSE-tmtheme](LICENSE-tmtheme) file for more details.
|
||||
@@ -1,215 +0,0 @@
|
||||
# vim:fileencoding=utf-8:foldmethod=marker
|
||||
|
||||
# : Manager {{{
|
||||
|
||||
[mgr]
|
||||
cwd = { fg = "#81c8be" }
|
||||
|
||||
# Find
|
||||
find_keyword = { fg = "#e5c890", bold = true, italic = true, underline = true }
|
||||
find_position = { fg = "#f4b8e4", bg = "reset", bold = true, italic = true }
|
||||
|
||||
# Marker
|
||||
marker_copied = { fg = "#a6d189", bg = "#a6d189" }
|
||||
marker_cut = { fg = "#e78284", bg = "#e78284" }
|
||||
marker_marked = { fg = "#81c8be", bg = "#81c8be" }
|
||||
marker_selected = { fg = "#e5c890", bg = "#e5c890" }
|
||||
|
||||
# Count
|
||||
count_copied = { fg = "#303446", bg = "#a6d189" }
|
||||
count_cut = { fg = "#303446", bg = "#e78284" }
|
||||
count_selected = { fg = "#303446", bg = "#e5c890" }
|
||||
|
||||
# Border
|
||||
border_symbol = "│"
|
||||
border_style = { fg = "#838ba7" }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Tabs {{{
|
||||
|
||||
[tabs]
|
||||
active = { fg = "#303446", bg = "#8caaee", bold = true }
|
||||
inactive = { fg = "#8caaee", bg = "#414559" }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Mode {{{
|
||||
|
||||
[mode]
|
||||
|
||||
normal_main = { fg = "#303446", bg = "#8caaee", bold = true }
|
||||
normal_alt = { fg = "#8caaee", bg = "#414559" }
|
||||
|
||||
# Select mode
|
||||
select_main = { fg = "#303446", bg = "#81c8be", bold = true }
|
||||
select_alt = { fg = "#81c8be", bg = "#414559" }
|
||||
|
||||
# Unset mode
|
||||
unset_main = { fg = "#303446", bg = "#eebebe", bold = true }
|
||||
unset_alt = { fg = "#eebebe", bg = "#414559" }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Status bar {{{
|
||||
|
||||
[status]
|
||||
# Permissions
|
||||
perm_sep = { fg = "#838ba7" }
|
||||
perm_type = { fg = "#8caaee" }
|
||||
perm_read = { fg = "#e5c890" }
|
||||
perm_write = { fg = "#e78284" }
|
||||
perm_exec = { fg = "#a6d189" }
|
||||
|
||||
# Progress
|
||||
progress_label = { fg = "#ffffff", bold = true }
|
||||
progress_normal = { fg = "#a6d189", bg = "#51576d" }
|
||||
progress_error = { fg = "#e5c890", bg = "#e78284" }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Pick {{{
|
||||
|
||||
[pick]
|
||||
border = { fg = "#8caaee" }
|
||||
active = { fg = "#f4b8e4", bold = true }
|
||||
inactive = {}
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Input {{{
|
||||
|
||||
[input]
|
||||
border = { fg = "#8caaee" }
|
||||
title = {}
|
||||
value = {}
|
||||
selected = { reversed = true }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Completion {{{
|
||||
|
||||
[cmp]
|
||||
border = { fg = "#8caaee" }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Tasks {{{
|
||||
|
||||
[tasks]
|
||||
border = { fg = "#8caaee" }
|
||||
title = {}
|
||||
hovered = { fg = "#f4b8e4", bold = true }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Which {{{
|
||||
|
||||
[which]
|
||||
mask = { bg = "#414559" }
|
||||
cand = { fg = "#81c8be" }
|
||||
rest = { fg = "#949cbb" }
|
||||
desc = { fg = "#f4b8e4" }
|
||||
separator = " "
|
||||
separator_style = { fg = "#626880" }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Help {{{
|
||||
|
||||
[help]
|
||||
on = { fg = "#81c8be" }
|
||||
run = { fg = "#f4b8e4" }
|
||||
hovered = { reversed = true, bold = true }
|
||||
footer = { fg = "#414559", bg = "#c6d0f5" }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Spotter {{{
|
||||
|
||||
[spot]
|
||||
border = { fg = "#8caaee" }
|
||||
title = { fg = "#8caaee" }
|
||||
tbl_col = { fg = "#81c8be" }
|
||||
tbl_cell = { fg = "#f4b8e4", bg = "#51576d" }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Notification {{{
|
||||
|
||||
[notify]
|
||||
title_info = { fg = "#a6d189" }
|
||||
title_warn = { fg = "#e5c890" }
|
||||
title_error = { fg = "#e78284" }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : File-specific styles {{{
|
||||
|
||||
[filetype]
|
||||
|
||||
rules = [
|
||||
# Image
|
||||
{ mime = "image/*", fg = "#81c8be" },
|
||||
# Media
|
||||
{ mime = "{audio,video}/*", fg = "#e5c890" },
|
||||
# Archive
|
||||
{ mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", fg = "#f4b8e4" },
|
||||
# Document
|
||||
{ mime = "application/{pdf,doc,rtf}", fg = "#a6d189" },
|
||||
# Virtual file system
|
||||
{ mime = "vfs/{absent,stale}", fg = "#949cbb" },
|
||||
# Fallback
|
||||
{ url = "*", fg = "#c6d0f5" },
|
||||
{ url = "*/", fg = "#8caaee" },
|
||||
]
|
||||
|
||||
# : }}}
|
||||
|
||||
[icon]
|
||||
|
||||
dirs = [
|
||||
{ name = ".config", text = "", fg = "#f4b8e4" },
|
||||
{ name = ".git", text = "", fg = "#81c8be" },
|
||||
{ name = ".github", text = "", fg = "#8caaee" },
|
||||
{ name = ".npm", text = "", fg = "#8caaee" },
|
||||
{ name = "Desktop", text = "", fg = "#81c8be" },
|
||||
{ name = "Development", text = "", fg = "#81c8be" },
|
||||
{ name = "Documents", text = "", fg = "#81c8be" },
|
||||
{ name = "Downloads", text = "", fg = "#81c8be" },
|
||||
{ name = "Library", text = "", fg = "#81c8be" },
|
||||
{ name = "Movies", text = "", fg = "#81c8be" },
|
||||
{ name = "Music", text = "", fg = "#81c8be" },
|
||||
{ name = "Pictures", text = "", fg = "#81c8be" },
|
||||
{ name = "Public", text = "", fg = "#81c8be" },
|
||||
{ name = "Videos", text = "", fg = "#81c8be" },
|
||||
]
|
||||
conds = [
|
||||
# Special files
|
||||
{ if = "orphan", text = "", fg = "#c6d0f5" },
|
||||
{ if = "link", text = "", fg = "#838ba7" },
|
||||
{ if = "block", text = "", fg = "#eebebe" },
|
||||
{ if = "char", text = "", fg = "#eebebe" },
|
||||
{ if = "fifo", text = "", fg = "#eebebe" },
|
||||
{ if = "sock", text = "", fg = "#eebebe" },
|
||||
{ if = "sticky", text = "", fg = "#eebebe" },
|
||||
{ if = "dummy", text = "", fg = "#e78284" },
|
||||
|
||||
# Fallback
|
||||
{ if = "dir & hovered", text = "", fg = "#8caaee" },
|
||||
{ if = "dir", text = "", fg = "#8caaee" },
|
||||
{ if = "exec", text = "", fg = "#a6d189" },
|
||||
{ if = "!dir", text = "", fg = "#c6d0f5" },
|
||||
]
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 574 KiB |
File diff suppressed because it is too large.
Load diff
@@ -4,11 +4,9 @@
|
||||
enable = true;
|
||||
|
||||
flavors = {
|
||||
catppuccin-frappe = ./catppuccin-frappe;
|
||||
};
|
||||
theme = {
|
||||
flavor = {
|
||||
#dark = "catppuccin-frappe";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -16,18 +14,18 @@
|
||||
mgr = {
|
||||
ratio = [ 1 2 3 ];
|
||||
sort_by = "alphabetical";
|
||||
sort_dir_first = true;
|
||||
sort_dir_first = true;
|
||||
};
|
||||
preview = {
|
||||
max_width = 10000;
|
||||
max_height = 10000;
|
||||
max_height = 10000;
|
||||
};
|
||||
tasks = {
|
||||
image_bound = [ 65000 65000 ];
|
||||
};
|
||||
open = {
|
||||
prepend_rules = [
|
||||
{ mime = "video/*"; use = "open"; }
|
||||
{ mime = "video/*"; use = "open"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
@@ -38,6 +36,16 @@
|
||||
run = ''shell 'wl-copy --type "$(file --mime-type -b "$1")" < "$1"' --confirm'';
|
||||
desc = "Copy file data to clipboard with matching MIME type";
|
||||
}
|
||||
{
|
||||
on = ";";
|
||||
run = "shell --interactive --block";
|
||||
desc = "Run a shell command (block until finish)";
|
||||
}
|
||||
{
|
||||
on = ":";
|
||||
run = "shell --interactive";
|
||||
desc = "Run a shell command (yazi background)";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -29,7 +29,6 @@ in {
|
||||
|
||||
};
|
||||
|
||||
# TODO: ensure correct paths
|
||||
home-manager.users.${username} = import ../../../../../home/Ricky/${username}/${config.networking.hostName}.nix;
|
||||
|
||||
security.pam.services = {
|
||||
|
||||
@@ -61,9 +61,6 @@ in
|
||||
home-manager = {
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
backupFileExtension = "backup";
|
||||
users = {
|
||||
dev = import ../../../home/Ricky/dev/${hostname}.nix; # FIXME
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
||||
File renamed without changes.
@@ -21,7 +21,7 @@ in
|
||||
# inputs.hardware.nixosModules.common-ssd
|
||||
|
||||
./hardware-configuration.nix
|
||||
../common/global/base.nix
|
||||
../Base.nix
|
||||
|
||||
../common/users/Winter/default.nix
|
||||
../common/features/DesktopNiri.nix
|
||||
|
||||
@@ -25,7 +25,7 @@ in
|
||||
|
||||
# Import your generated (nixos-generate-config) hardware configuration
|
||||
./hardware-configuration.nix
|
||||
../common/global/base.nix
|
||||
../Base.nix
|
||||
|
||||
../common/users/Winter/default.nix
|
||||
../common/users/Ekisha/default.nix
|
||||
|
||||
Reference in new issue
Block a user