another one :D

This commit is contained in:
cnst
2024-08-03 14:49:44 +02:00
parent e1f070d81a
commit ae9ee0cb35
98 changed files with 60 additions and 53 deletions

3
home/bin/ags/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
style.css
style.css.map
types

52
home/bin/ags/default.nix Normal file
View File

@@ -0,0 +1,52 @@
{
inputs,
pkgs,
lib,
config,
...
}: let
requiredDeps = with pkgs; [
bash
bun
coreutils
dart-sass
gawk
imagemagick
procps
ripgrep
util-linux
];
guiDeps = with pkgs; [
gnome.gnome-control-center
mission-center
overskride
wlogout
];
dependencies = requiredDeps ++ guiDeps;
cfg = config.programs.ags;
in {
imports = [
inputs.ags.homeManagerModules.default
];
programs.ags.enable = true;
systemd.user.services.ags = {
Unit = {
Description = "Aylur's Gtk Shell";
PartOf = [
"tray.target"
"graphical-session.target"
];
};
Service = {
Environment = "PATH=/run/wrappers/bin:${lib.makeBinPath dependencies}";
ExecStart = "${cfg.package}/bin/ags";
Restart = "on-failure";
};
Install.WantedBy = ["graphical-session.target"];
};
}

View File

@@ -0,0 +1,75 @@
{
programs.alacritty = {
enable = true;
settings = {
# Default colors
colors.primary = {
background = "#282828";
foreground = "#d4be98";
};
colors = {
# Normal colors
normal = {
black = "#3c3836";
red = "#ea6962";
green = "#a9b665";
yellow = "#d8a657";
blue = "#7daea3";
magenta = "#d3869b";
cyan = "#89b482";
white = "#d4be98";
};
# Bright colors (same as normal colors)
bright = {
black = "#3c3836";
red = "#ea6962";
green = "#a9b665";
yellow = "#d8a657";
blue = "#7daea3";
magenta = "#d3869b";
cyan = "#89b482";
white = "#d4be98";
};
};
font = {
size = 10;
normal = {
family = "Input Mono Compressed";
style = "Light";
};
bold = {
family = "Input Mono Compressed";
style = "Regular";
};
italic = {
family = "Input Mono Compressed";
style = "Italic";
};
};
keyboard.bindings = [
{
action = "Copy";
key = "C";
mods = "Command";
}
{
action = "Paste";
key = "V";
mods = "Command";
}
];
window = {
dynamic_title = true;
opacity = 0.9;
padding = {
x = 5;
y = 5;
};
dimensions = {
columns = 120;
lines = 35;
};
};
};
};
}

View File

@@ -0,0 +1,15 @@
{
pkgs,
inputs,
...
}: {
imports = [
inputs.anyrun.homeManagerModules.default
];
programs.anyrun = {
enable = true;
#extraCss = builtins.readFile (./. + "/style-dark.css");
};
}

View File

@@ -0,0 +1,34 @@
{
pkgs,
lib,
config,
inputs,
...
}: let
firefoxFlake = inputs.firefox-nightly.packages.${pkgs.stdenv.hostPlatform.system};
_firefoxNightly = firefoxFlake.firefox-nightly-bin;
_chromium = pkgs.ungoogled-chromium;
# _mullvad = pkgs.mullvad-browser;
in {
home.packages = lib.mkMerge [
(lib.mkIf (pkgs.hostPlatform.system == "x86_64-linux") (
with pkgs; [
# browsers
_firefoxNightly
pkgs.firefox-bin
# _chromium
]
))
];
programs.chromium = {
enable = true;
package = pkgs.ungoogled-chromium;
extensions = [
"gebbhagfogifgggkldgodflihgfeippi" # return youtube dislike
"mnjggcdmjocbbbhaepdhchncahnbgone" # sponsorblock for youtube
"ponfpcnoihfmfllpaingbgckeeldkhle" # enhancer for youtube
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
];
};
}

13
home/bin/default.nix Normal file
View File

@@ -0,0 +1,13 @@
{
imports = [
# shared apps
./browsers
./discord
./utility
./alacritty
./foot
./neovim
./kitty
./yazi
];
}

View File

@@ -0,0 +1,44 @@
{pkgs, ...}: {
home.packages = with pkgs; [vesktop];
xdg.configFile."vesktop/themes/base16.css".text =
/*
css
*/
''
/**
* @name Material Gruvbox
* @.
* @author Costeer
* @version 1.5.0
* @website https://github.com/Costeer
* @source https://github.com/Costeer/Gruvbox-Material-Themes
*/
@import url(https://mwittrien.github.io/BetterDiscordAddons/Themes/DiscordRecolor/DiscordRecolor.css);
:root {
--accentcolor: 137, 180, 130;
--accentcolor2: 211, 134, 155;
--linkcolor: 125, 174, 163;
--mentioncolor: 211, 134, 155;
--textbrightest: 221, 199, 161;
--textbrighter: 212, 190, 152;
--textbright: 168, 153, 132;
--textdark: 146, 131, 116;
--textdarker: 146, 131, 116;
--textdarkest: 80, 80, 80;
--font: Input Sans Narrow;
--main-font: Input Sans Narrow;
--code-font: Input Mono Compressed;
--backgroundaccent: 80, 73, 69;
--backgroundprimary: 60, 56, 54;
--backgroundsecondary: 50, 48, 47;
--backgroundsecondaryalt: 40, 40, 40;
--backgroundtertiary: 29, 32, 33;
--backgroundfloating: 20, 22, 23;
--settingsicons: 1;
}
'';
}

233
home/bin/foot/default.nix Normal file
View File

@@ -0,0 +1,233 @@
{pkgs, ...}: {
programs.foot = {
enable = true;
package = pkgs.foot;
settings = {
# -*- conf -*-
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
# login-shell=no
# app-id=foot # globally set wayland app-id. Default values are "foot" and "footclient" for desktop and server mode
# title=foot
# locked-title=no
# font=monospace:size=8
# font-bold=<bold variant of regular font>
# font-italic=<italic variant of regular font>
# font-bold-italic=<bold+italic variant of regular font>
# font-size-adjustment=0.5
# line-height=<font metrics>
# letter-spacing=0
# horizontal-letter-offset=0
# vertical-letter-offset=0
# underline-offset=<font metrics>
# underline-thickness=<font underline thickness>
# box-drawings-uses-font-glyphs=no
# dpi-aware=no
# initial-window-size-pixels=700x500 # Or,
# initial-window-size-chars=<COLSxROWS>
# initial-window-mode=windowed
# pad=0x0 # optionally append 'center'
# resize-by-cells=yes
# resize-delay-ms=100
# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
# bold-text-in-bright=no
# word-delimiters=,│`|:"'()[]{}<>
# selection-target=primary
# workers=<number of logical CPUs>
# utmp-helper=/usr/lib/utempter/utempter # When utmp backend is libutempter (Linux)
# utmp-helper=/usr/libexec/ulog-helper # When utmp backend is ulog (FreeBSD)
main = {
font = "Input Mono Compressed:size=12";
box-drawings-uses-font-glyphs = "yes";
dpi-aware = "no";
pad = "3x1";
};
environment = {
# name=value
};
bell = {
urgent = "no";
notify = "no";
visual = "no";
command = "no";
command-focused = "no";
};
scrollback = {
lines = "100";
# multiplier=3.0
# indicator-position=relative
# indicator-format=""
};
url = {
# launch=xdg-open ${url}
# label-letters=sadfjklewcmpgh
# osc8-underline=url-mode
# protocols=http, https, ftp, ftps, file, gemini, gopher
# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
};
cursor = {
style = "block";
# color=<inverse foreground/background>
blink = "no";
# blink-rate=500
# beam-thickness=1.5
# underline-thickness=<font underline thickness>
};
mouse = {
hide-when-typing = "no";
# alternate-scroll-mode=yes
};
touch = {
# long-press-delay=400
};
colors = {
alpha = "0.9";
background = "282828";
foreground = "ebdbb2";
regular0 = "282828";
regular1 = "cc241d";
regular2 = "98971a";
regular3 = "d79921";
regular4 = "458588";
regular5 = "b16286";
regular6 = "689d6a";
regular7 = "a89984";
bright0 = "928374";
bright1 = "fb4934";
bright2 = "b8bb26";
bright3 = "fabd2f";
bright4 = "83a598";
bright5 = "d3869b";
bright6 = "8ec07c";
bright7 = "ebdbb2";
};
csd = {
# preferred=server
# size=26
# font=<primary font>
# color=<foreground color>
# hide-when-maximized=no
# double-click-to-maximize=yes
# border-width=0
# border-color=<csd.color>
# button-width=26
# button-color=<background color>
# button-minimize-color=<regular4>
# button-maximize-color=<regular2>
# button-close-color=<regular1>
};
key-bindings = {
# scrollback-up-page=Shift+Page_Up
# scrollback-up-half-page=none
# scrollback-up-line=none
# scrollback-down-page=Shift+Page_Down
# scrollback-down-half-page=none
# scrollback-down-line=none
# scrollback-home=none
# scrollback-end=none
# clipboard-copy=Control+Shift+c XF86Copy
# clipboard-paste=Control+Shift+v XF86Paste
# primary-paste=Shift+Insert
# search-start=Control+Shift+r
# font-increase=Control+plus Control+equal Control+KP_Add
# font-decrease=Control+minus Control+KP_Subtract
# font-reset=Control+0 Control+KP_0
# spawn-terminal=Control+Shift+n
# minimize=none
# maximize=none
# fullscreen=none
# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
# pipe-selected=[xargs -r firefox] none
# pipe-command-output=[wl-copy] none # Copy last command's output to the clipboard
# show-urls-launch=Control+Shift+o
# show-urls-copy=none
# show-urls-persistent=none
# prompt-prev=Control+Shift+z
# prompt-next=Control+Shift+x
# unicode-input=Control+Shift+u
# noop=none
};
search-bindings = {
# cancel=Control+g Control+c Escape
# commit=Return
# find-prev=Control+r
# find-next=Control+s
# cursor-left=Left Control+b
# cursor-left-word=Control+Left Mod1+b
# cursor-right=Right Control+f
# cursor-right-word=Control+Right Mod1+f
# cursor-home=Home Control+a
# cursor-end=End Control+e
# delete-prev=BackSpace
# delete-prev-word=Mod1+BackSpace Control+BackSpace
# delete-next=Delete
# delete-next-word=Mod1+d Control+Delete
# extend-char=Shift+Right
# extend-to-word-boundary=Control+w Control+Shift+Right
# extend-to-next-whitespace=Control+Shift+w
# extend-line-down=Shift+Down
# extend-backward-char=Shift+Left
# extend-backward-to-word-boundary=Control+Shift+Left
# extend-backward-to-next-whitespace=none
# extend-line-up=Shift+Up
# clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
# primary-paste=Shift+Insert
# unicode-input=none
# quit=none
# scrollback-up-page=Shift+Page_Up
# scrollback-up-half-page=none
# scrollback-up-line=none
# scrollback-down-page=Shift+Page_Down
# scrollback-down-half-page=none
# scrollback-down-line=none
# scrollback-home=none
# scrollback-end=none
};
url-bindings = {
# cancel=Control+g Control+c Control+d Escape
# toggle-url-visible=t
};
text-bindings = {
# \x03=Mod4+c # Map Super+c -> Ctrl+c
};
mouse-bindings = {
# scrollback-up-mouse=BTN_BACK
# scrollback-down-mouse=BTN_FORWARD
# selection-override-modifiers=Shift
# primary-paste=BTN_MIDDLE
# select-begin=BTN_LEFT
# select-begin-block=Control+BTN_LEFT
# select-extend=BTN_RIGHT
# select-extend-character-wise=Control+BTN_RIGHT
# select-word=BTN_LEFT-2
# select-word-whitespace=Control+BTN_LEFT-2
# select-quote = BTN_LEFT-3
# select-row=BTN_LEFT-4
};
# vim: ft=dosini
};
};
}

View File

@@ -0,0 +1,94 @@
{
programs.kitty = {
enable = true;
settings = {
# include = "theme.conf";
enable_audio_bell = false;
open_url_with = "firefox-nightly";
font_family = "Input Mono Compressed Extra Light";
bold_font = "auto";
italic_font = "auto";
bold_italic_font = "auto";
font_size = "11.0";
cursor_blink_interval = 0;
copy_on_select = "clipboard";
background_opacity = "0.95";
background_blur = "32";
window_padding_width = 3;
# tab_bar_min_tabs = 1;
# tab_bar_edge = "bottom";
tab_bar_style = "separator";
tab_bar_margin_width = "0.0";
tab_bar_margin_height = "0.0 0.0";
active_tab_font_style = "normal";
inactive_tab_font_style = "normal";
# tab_title_max_length = 30;
# # colors
# active_tab_foreground = "#32302f";
# active_tab_background = "#282828";
# inactive_tab_foreground = "#282828";
# inactive_tab_background = "#504945";
tab_bar_background = "#504945";
tab_bar_min_tabs = 1;
tab_bar_edge = "bottom";
# tab_powerline_style = "slanted";
};
extraConfig = ''
kitty_mod shift+ctrl
map kitty_mod+q close_tab
map ctrl+shift+c copy_to_clipboard
map ctrl+shift+v paste_from_clipboard
tab_separator ""
tab_title_template "{fmt.fg._504945}{fmt.bg.default}{fmt.fg._282828}{fmt.bg.default}{index}{fmt.fg._282828}{fmt.bg._504945} {title[:15] + (title[15:] and '')} {fmt.fg._504945}{fmt.bg.default} "
active_tab_title_template "{fmt.fg._282828}{fmt.bg.default}{fmt.fg._A89984}{fmt.bg._282828}{fmt.fg._A89984}{fmt.bg._282828} {title[:40] + (title[40:] and '')} {fmt.fg._282828}{fmt.bg.default} "
# vim:ft=kitty
## name: Gruvbox Material Dark Cnst
## author: Sainnhe Park
## license: MIT
## upstream: https://raw.githubusercontent.com/rsaihe/gruvbox-material-kitty/main/colors/gruvbox-material-dark-medium.conf
## blurb: A modified version of Gruvbox with softer contrasts
background #282828
foreground #d4be98
selection_background #d4be98
selection_foreground #282828
cursor #a89984
cursor_text_color background
# Black
color0 #665c54
color8 #928374
# Red
color1 #ea6962
color9 #ea6962
# Green
color2 #a9b665
color10 #a9b665
# Yellow
color3 #e78a4e
color11 #d8a657
# Blue
color4 #7daea3
color12 #7daea3
# Magenta
color5 #d3869b
color13 #d3869b
# Cyan
color6 #89b482
color14 #89b482
# White
color7 #d4be98
color15 #d4be98
'';
};
}

View File

@@ -0,0 +1,12 @@
{pkgs, ...}: {
home.packages = [
(pkgs.lutris.override {
extraPkgs = p: [
p.wineWowPackages.staging
p.pixman
p.libjpeg
p.gnome.zenity
];
})
];
}

View File

@@ -0,0 +1,8 @@
{
programs.mangohud = {
enable = true;
settings = {
full = true;
};
};
}

View File

@@ -0,0 +1,8 @@
{pkgs, ...}: {
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland-unwrapped;
configPath = "home/cnst/.config/rofi/config.rasi";
font = "Rec Mono Linear 11";
};
}

View File

@@ -0,0 +1,34 @@
{pkgs, ...}: {
programs = {
# image viewer
feh = {
enable = true;
};
# system information
fastfetch = {
enable = true;
};
# a monitor of resources
btop = {
enable = true;
settings = {
color_theme = "gruvbox_material_dark";
};
};
};
home.packages = with pkgs; [
file-roller # archiver
gnome-calculator
nwg-look # GTK settings
hyprpicker # Color picker
pavucontrol # GUI sound control
pamixer # TUI sound control
keepassxc
calcurse # calendar
grimblast # screenshot
slurp # select region for screenshot
qbittorrent
networkmanagerapplet # tray icon for NetworkManager
usbimager # write bootable usb images!
];
}

View File

@@ -0,0 +1,5 @@
{
programs.vscode = {
enable = true;
};
}

View File

@@ -0,0 +1,44 @@
{
pkgs,
inputs,
...
}: let
enable_wayland = "true";
# weztermPkg = pkgs.wezterm;
weztermFlake = inputs.wezterm.packages.${pkgs.system}.default;
in {
programs.wezterm = {
enable = true;
package = weztermFlake;
extraConfig = ''
local wezterm = require 'wezterm';
local config = {
-- font = wezterm.font("Input Mono Compressed"),
font_size = 12,
check_for_updates = false,
color_scheme = 'Gruvbox Material (Gogh)',
default_cursor_style = 'SteadyBar',
enable_scroll_bar = true,
hide_tab_bar_if_only_one_tab = true,
scrollback_lines = 10000,
window_background_opacity = 0.9,
}
if wezterm.target_triple == "x86_64-pc-windows-msvc" then
config.default_prog = { "powershell.exe" }
else
config.enable_wayland = ${enable_wayland}
-- config.window_decorations = "TITLE"
config.window_close_confirmation = "NeverPrompt"
-- config.freetype_load_target = "Light"
-- config.freetype_render_target = "HorizontalLcd"
local f = wezterm.font_with_fallback({
{family="Input Mono Compressed", weight="Light"},
{family="Input Sans Narrow", weight="Light"},
})
config.font = f;
end
return config
'';
};
}

View File

@@ -0,0 +1,25 @@
{
pkgs,
inputs,
...
}: {
programs.wezterm = {
enable = true;
package = inputs.wezterm.packages.${pkgs.system}.default;
extraConfig = ''
return {
enable_wayland = true,
font = wezterm.font("Input Mono Compressed"),
font_size = 12,
check_for_updates = false,
color_scheme = 'Gruvbox Material (Gogh)',
default_cursor_style = 'SteadyBar',
enable_scroll_bar = true,
hide_tab_bar_if_only_one_tab = true,
scrollback_lines = 10000,
window_background_opacity = 0.9,
}
'';
};
}

45
home/bin/yazi/default.nix Normal file
View File

@@ -0,0 +1,45 @@
{
config,
pkgs,
...
}: {
imports = [
./theme/filetype.nix
./theme/icons.nix
./theme/manager.nix
./theme/status.nix
];
# general file info
home.packages = [pkgs.exiftool];
# yazi file manager
programs.yazi = {
enable = true;
package = pkgs.yazi;
enableBashIntegration = config.programs.bash.enable;
enableZshIntegration = config.programs.zsh.enable;
settings = {
manager = {
layout = [1 4 3];
sort_by = "alphabetical";
sort_sensitive = true;
sort_reverse = false;
sort_dir_first = true;
linemode = "none";
show_hidden = false;
show_symlink = true;
};
preview = {
tab_size = 2;
max_width = 600;
max_height = 900;
cache_dir = config.xdg.cacheHome;
};
};
};
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,503 @@
{
programs.yazi.theme.icon.rules = [
# Home
{
name = ".config/";
text = "";
}
{
name = ".ssh/";
text = "󰢬";
}
{
name = "Desktop/";
text = "";
}
{
name = "Development/";
text = "";
}
{
name = "Documents/";
text = "";
}
{
name = "Downloads/";
text = "󰉍";
}
{
name = "Library/";
text = "";
}
{
name = "Movies/";
text = "";
}
{
name = "Music/";
text = "󱍙";
}
{
name = "Pictures/";
text = "󰉏";
}
{
name = "Videos/";
text = "";
}
{
name = "Public/";
text = "";
}
# Git
{
name = ".git/";
text = "";
}
{
name = ".gitignore";
text = "";
}
{
name = ".gitmodules";
text = "";
}
{
name = ".gitattributes";
text = "";
}
# Dotfiles
{
name = ".DS_Store";
text = "";
}
{
name = ".bashrc";
text = "";
}
{
name = ".bashprofile";
text = "";
}
{
name = ".zshrc";
text = "";
}
{
name = ".zshenv";
text = "";
}
{
name = ".zprofile";
text = "";
}
{
name = ".vimrc";
text = "";
}
# Text
{
name = "*.txt";
text = "";
}
{
name = "*.md";
text = "";
}
{
name = "*.rst";
text = "";
}
{
name = "COPYING";
text = "󰿃";
}
{
name = "LICENSE";
text = "󰿃";
}
# Archives
{
name = "*.zip";
text = "";
}
{
name = "*.tar";
text = "";
}
{
name = "*.gz";
text = "";
}
{
name = "*.7z";
text = "";
}
{
name = "*.bz2";
text = "";
}
{
name = "*.xz";
text = "";
}
# Documents
{
name = "*.csv";
text = "";
}
{
name = "*.doc";
text = "";
}
{
name = "*.doct";
text = "";
}
{
name = "*.docx";
text = "";
}
{
name = "*.dot";
text = "";
}
{
name = "*.ods";
text = "";
}
{
name = "*.ots";
text = "";
}
{
name = "*.pdf";
text = "";
}
{
name = "*.pom";
text = "";
}
{
name = "*.pot";
text = "";
}
{
name = "*.ppm";
text = "";
}
{
name = "*.pps";
text = "";
}
{
name = "*.ppt";
text = "";
}
{
name = "*.potx";
text = "";
}
{
name = "*.ppmx";
text = "";
}
{
name = "*.ppsx";
text = "";
}
{
name = "*.pptx";
text = "";
}
{
name = "*.xlc";
text = "";
}
{
name = "*.xlm";
text = "";
}
{
name = "*.xls";
text = "";
}
{
name = "*.xlt";
text = "";
}
{
name = "*.xlsm";
text = "";
}
{
name = "*.xlsx";
text = "";
}
# Audio
{
name = "*.mp3";
text = "";
}
{
name = "*.flac";
text = "";
}
{
name = "*.wav";
text = "";
}
{
name = "*.aac";
text = "";
}
{
name = "*.ogg";
text = "";
}
{
name = "*.m4a";
text = "";
}
{
name = "*.mp2";
text = "";
}
# Movies
{
name = "*.mp4";
text = "";
}
{
name = "*.mkv";
text = "";
}
{
name = "*.avi";
text = "";
}
{
name = "*.mov";
text = "";
}
{
name = "*.webm";
text = "";
}
# Images
{
name = "*.jpg";
text = "";
}
{
name = "*.jpeg";
text = "";
}
{
name = "*.png";
text = "";
}
{
name = "*.gif";
text = "";
}
{
name = "*.webp";
text = "";
}
{
name = "*.avif";
text = "";
}
{
name = "*.bmp";
text = "";
}
{
name = "*.ico";
text = "";
}
{
name = "*.svg";
text = "";
}
{
name = "*.xcf";
text = "";
}
{
name = "*.HEIC";
text = "";
}
# Programming
{
name = "*.c";
text = "";
}
{
name = "*.cpp";
text = "";
}
{
name = "*.h";
text = "";
}
{
name = "*.hpp";
text = "";
}
{
name = "*.rs";
text = "";
}
{
name = "*.go";
text = "";
}
{
name = "*.py";
text = "";
}
{
name = "*.hs";
text = "";
}
{
name = "*.js";
text = "";
}
{
name = "*.ts";
text = "";
}
{
name = "*.tsx";
text = "";
}
{
name = "*.jsx";
text = "";
}
{
name = "*.rb";
text = "";
}
{
name = "*.php";
text = "";
}
{
name = "*.java";
text = "";
}
{
name = "*.sh";
text = "";
}
{
name = "*.fish";
text = "";
}
{
name = "*.swift";
text = "";
}
{
name = "*.vim";
text = "";
}
{
name = "*.lua";
text = "";
}
{
name = "*.html";
text = "";
}
{
name = "*.css";
text = "";
}
{
name = "*.sass";
text = "";
}
{
name = "*.scss";
text = "";
}
{
name = "*.json";
text = "";
}
{
name = "*.toml";
text = "";
}
{
name = "*.yml";
text = "";
}
{
name = "*.yaml";
text = "";
}
{
name = "*.ini";
text = "";
}
{
name = "*.conf";
text = "";
}
{
name = "*.lock";
text = "";
}
{
name = "*.nix";
text = "";
}
{
name = "Containerfile";
text = "󰡨";
}
{
name = "Dockerfile";
text = "󰡨";
}
# Misc
{
name = "*.bin";
text = "";
}
{
name = "*.exe";
text = "";
}
{
name = "*.pkg";
text = "";
}
# Default
{
name = "*";
text = "";
}
{
name = "*/";
text = "󰉋";
}
];
}

View File

@@ -0,0 +1,63 @@
{
programs.yazi.theme.manager = {
cwd = {fg = "cyan";};
# Hovered
hovered = {
fg = "black";
bg = "lightblue";
};
preview_hovered = {
fg = "black";
bg = "lightblue";
};
# Find
find_keyword = {
fg = "yellow";
italic = true;
};
find_position = {
fg = "magenta";
bg = "reset";
italic = true;
};
# Marker
marker_selected = {
fg = "lightgreen";
bg = "lightgreen";
};
marker_copied = {
fg = "lightyellow";
bg = "lightyellow";
};
marker_cut = {
fg = "lightred";
bg = "lightred";
};
# Tab
tab_active = {
fg = "black";
bg = "lightblue";
};
tab_inactive = {
fg = "white";
bg = "darkgray";
};
tab_width = 1;
# Border;
border_symbol = "";
border_style = {fg = "gray";};
# Offset;
folder_offset = [1 0 1 0];
preview_offset = [1 1 1 1];
# Highlighting;
syntect_theme = "";
};
}

View File

@@ -0,0 +1,45 @@
{
programs.yazi.theme.status = {
separator_open = "";
separator_close = "";
separator_style = {
fg = "darkgray";
bg = "darkgray";
};
# Mode;
mode_normal = {
fg = "black";
bg = "lightblue";
bold = true;
};
mode_select = {
fg = "black";
bg = "lightgreen";
bold = true;
};
mode_unset = {
fg = "black";
bg = "lightmagenta";
bold = true;
};
# Progress;
progress_label = {bold = true;};
progress_normal = {
fg = "blue";
bg = "black";
};
progress_error = {
fg = "red";
bg = "black";
};
# Permissions;
permissions_t = {fg = "blue";};
permissions_r = {fg = "lightyellow";};
permissions_w = {fg = "lightred";};
permissions_x = {fg = "lightgreen";};
permissions_s = {fg = "darkgray";};
};
}

View File

@@ -0,0 +1,77 @@
{
programs.zellij = {
enable = true;
enableZshIntegration = false;
};
home.shellAliases = {
zr = "zellij run --";
zrf = "zellij run --floating --";
ze = "zellij edit";
zef = "zellij edit --floating";
};
xdg.configFile."zellij/config.kdl".text = ''
default_layout "compact"
mouse_mode true
copy_on_select true
copy_command "wl-copy"
simplified_ui false
scrollback_editor "/home/cnst/.nix-profile/bin/nvim"
pane_frames true
on_force_close "detach"
ui {
pane_frames {
rounded_corners false
}
}
keybinds {
normal {
bind "Alt m" {
LaunchPlugin "file:~/.config/zellij/plugins/monocle.wasm" {
in_place true
kiosk true
};
SwitchToMode "Normal"
}
bind "Ctrl f" {
LaunchOrFocusPlugin "file:~/.config/zellij/plugins/monocle.wasm" {
floating true
}
SwitchToMode "Normal"
}
bind "Alt 1" { GoToTab 1;}
bind "Alt 2" { GoToTab 2;}
bind "Alt 3" { GoToTab 3;}
bind "Alt 4" { GoToTab 4;}
}
shared_except "locked" {
bind "Ctrl y" {
LaunchOrFocusPlugin "file:~/.config/zellij/plugins/room.wasm" {
floating true
ignore_case true
}
}
}
unbind "Ctrl b" "Ctrl h" "Ctrl g" "Alt j"
}
themes {
gruvbox-dark {
bg "#282828"
fg "#D5C4A1"
black "#3C3836"
red "#CC241D"
green "#98971A"
yellow "#D79921"
blue "#458588"
magenta "#B16286"
cyan "#689D6A"
white "#FBF1C7"
orange "#D65D0E"
}
}
'';
}