switch from alacritty to foot because of image prevwe for yazi
This commit is contained in:
parent
ab8bc23884
commit
95b89d3b58
|
@ -1,25 +0,0 @@
|
||||||
{lib, ...}: {
|
|
||||||
programs.alacritty = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
window = {
|
|
||||||
padding = {
|
|
||||||
x = 5;
|
|
||||||
y = 5;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
colors = {
|
|
||||||
bright = {
|
|
||||||
black = lib.mkForce "#504945";
|
|
||||||
red = lib.mkForce "#fb4934";
|
|
||||||
green = lib.mkForce "#b8bb26";
|
|
||||||
yellow = lib.mkForce "#fabd2f";
|
|
||||||
blue = lib.mkForce "#83a598";
|
|
||||||
magenta = lib.mkForce "#d3869b";
|
|
||||||
cyan = lib.mkForce "#8ec07c";
|
|
||||||
white = lib.mkForce "#ebdbb2";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./alacritty
|
./foot
|
||||||
./mpv
|
./mpv
|
||||||
./firefox
|
./firefox
|
||||||
./git
|
./git
|
||||||
|
|
21
modules/programs/home/foot/default.nix
Normal file
21
modules/programs/home/foot/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{ lib, ... }: {
|
||||||
|
programs.foot = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
# terminal = {
|
||||||
|
# padding = "5 5";
|
||||||
|
# };
|
||||||
|
|
||||||
|
colors = {
|
||||||
|
# "bright-black" = lib.mkForce "#504945";
|
||||||
|
# "bright-red" = lib.mkForce "#fb4934";
|
||||||
|
# "bright-green" = lib.mkForce "#b8bb26";
|
||||||
|
# "bright-yellow" = lib.mkForce "#fabd2f";
|
||||||
|
# "bright-blue" = lib.mkForce "#83a598";
|
||||||
|
# "bright-magenta" = lib.mkForce "#d3869b";
|
||||||
|
# "bright-cyan" = lib.mkForce "#8ec07c";
|
||||||
|
# "bright-white" = lib.mkForce "#ebdbb2";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -10,7 +10,7 @@
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
display-drun = "";
|
display-drun = "";
|
||||||
show-icons = true;
|
show-icons = true;
|
||||||
terminal = "alacritty";
|
terminal = "foot";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./user
|
./user
|
||||||
./homemanger
|
./homemanger
|
||||||
./xdg
|
|
||||||
./networking
|
./networking
|
||||||
./lact
|
./lact
|
||||||
./doas
|
./doas
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
{
|
|
||||||
home-manager.users.joy.xdg = {
|
|
||||||
desktopEntries = {
|
|
||||||
hx = {
|
|
||||||
name = "Helix";
|
|
||||||
exec = "alacritty -e hx %F";
|
|
||||||
icon = "helix";
|
|
||||||
terminal = false;
|
|
||||||
type = "Application";
|
|
||||||
categories = ["Utility" "TextEditor"];
|
|
||||||
mimeType = ["text/plain"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
mimeApps = {
|
|
||||||
enable = true;
|
|
||||||
defaultApplications = {
|
|
||||||
"text/plain" = ["hx.desktop"];
|
|
||||||
"image/*" = ["imv.desktop"];
|
|
||||||
"video/*" = ["mpv.desktop"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -68,12 +68,12 @@
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
# launch Apps
|
# launch Apps
|
||||||
"$mod,TAB, exec, alacritty"
|
"$mod,TAB, exec, foot"
|
||||||
"$mod, E, exec, alacritty -e yazi"
|
"$mod, E, exec, foot -e yazi"
|
||||||
"$mod, S, exec, firefox"
|
"$mod, S, exec, firefox"
|
||||||
"$mod, X, exec, keepassxc"
|
"$mod, X, exec, keepassxc"
|
||||||
"$mod, M, exec, mbsync -a && alacritty -e neomutt"
|
"$mod, M, exec, mbsync -a && foot -e neomutt"
|
||||||
"$mod, N, exec, alacritty -e newsboat"
|
"$mod, N, exec, foot -e newsboat"
|
||||||
"$mod, A, exec, rofi -show drun"
|
"$mod, A, exec, rofi -show drun"
|
||||||
"$mod, F, exec, freetube"
|
"$mod, F, exec, freetube"
|
||||||
"$mod, C, exec, hyprpicker -a"
|
"$mod, C, exec, hyprpicker -a"
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
"$mod, O, exec, sh $sciPath/mpv.sh"
|
"$mod, O, exec, sh $sciPath/mpv.sh"
|
||||||
"$mod+Shift, TAB,hyprexpo:expo, toggleoverview"
|
"$mod+Shift, TAB,hyprexpo:expo, toggleoverview"
|
||||||
"$mod, B, exec, rofimoji"
|
"$mod, B, exec, rofimoji"
|
||||||
"$mod, F, exec, alacritty -e hx"
|
"$mod, F, exec, foot -e hx"
|
||||||
# controls
|
# controls
|
||||||
"$mod, Q, killactive"
|
"$mod, Q, killactive"
|
||||||
"$mod, W, togglefloating"
|
"$mod, W, togglefloating"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if tmux has-session -t cmus 2>/dev/null; then
|
if tmux has-session -t cmus 2>/dev/null; then
|
||||||
alacritty -e tmux attach-session -t cmus
|
foot -e tmux attach-session -t cmus
|
||||||
else
|
else
|
||||||
tmux new-session -d -s cmus cmus
|
tmux new-session -d -s cmus cmus
|
||||||
alacritty -e tmux attach-session -t cmus
|
foot -e tmux attach-session -t cmus
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue