foot, zellij, hyprland
This commit is contained in:
parent
4e5f0a6e0b
commit
c522dcbb3f
6 changed files with 108 additions and 4 deletions
1
flake.lock
generated
1
flake.lock
generated
|
@ -718,3 +718,4 @@
|
||||||
"root": "root",
|
"root": "root",
|
||||||
"version": 7
|
"version": 7
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,13 @@
|
||||||
imports = [
|
imports = [
|
||||||
./kanshi.nix
|
./kanshi.nix
|
||||||
../../terminal
|
../../terminal
|
||||||
|
../../terminal/programs/zellij.nix
|
||||||
../../editors/nvim.nix
|
../../editors/nvim.nix
|
||||||
../../editors/emacs.nix
|
../../editors/emacs.nix
|
||||||
../../editors/vscode.nix
|
../../editors/vscode.nix
|
||||||
../../programs/browsers/firefox.nix
|
../../programs/browsers/firefox.nix
|
||||||
../../terminal/emulator/wezterm.nix
|
../../terminal/emulator/wezterm.nix
|
||||||
|
../../terminal/emulator/foot.nix
|
||||||
|
|
||||||
# desktop
|
# desktop
|
||||||
../../programs/desktop
|
../../programs/desktop
|
||||||
|
|
|
@ -10,12 +10,12 @@
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = {
|
theme = {
|
||||||
package = pkgs.flat-remix-gtk;
|
package = pkgs.gnome.gnome-themes-extra;
|
||||||
name = "Flat-Remix-GTK-Grey-Darkest";
|
name = "Adwaita-dark";
|
||||||
};
|
};
|
||||||
iconTheme = {
|
iconTheme = {
|
||||||
package = pkgs.gnome.adwaita-icon-theme;
|
package = pkgs.gnome.adwaita-icon-theme;
|
||||||
name = "Adwaita";
|
name = "Adwaita-dark";
|
||||||
};
|
};
|
||||||
font = {
|
font = {
|
||||||
name = "Sans";
|
name = "Sans";
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
platformTheme = "gtk3";
|
platformTheme = "gtk3";
|
||||||
style = {
|
style = {
|
||||||
name = "adwaita-dark";
|
name = "Adwaita-dark";
|
||||||
package = pkgs.adwaita-qt;
|
package = pkgs.adwaita-qt;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,6 +5,86 @@
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
wl-clipboard
|
||||||
|
];
|
||||||
|
|
||||||
|
services.cliphist = {
|
||||||
|
enable = true;
|
||||||
|
systemdTarget = "hyprland-session.target";
|
||||||
|
};
|
||||||
|
#systemd.user.services.cliphist = {
|
||||||
|
# Unit = {
|
||||||
|
# Description = "Wayland clipboard manager";
|
||||||
|
# PartOf = ["hyprland-session.target"];
|
||||||
|
# After = ["hyprland-session.target"];
|
||||||
|
# };
|
||||||
|
|
||||||
|
# Service = {
|
||||||
|
# ExecStartPre = "${pkgs.wl-clipboard}/wl-paste --type text --watch ${lib.getExe pkgs.cliphist} store #Stores only text data";
|
||||||
|
# ExecStart = "${pkgs.wl-clipboard}/wl-paste --type image --watch ${lib.getExe pkgs.cliphist} store #Stores only image data";
|
||||||
|
# ExecReload = "${pkgs.coreutils}/bin/kill -SIGUSR2 $MAINPID";
|
||||||
|
# Restart = "on-failure";
|
||||||
|
# };
|
||||||
|
|
||||||
|
# Install = {
|
||||||
|
# WantedBy = ["hyprland-session.target"];
|
||||||
|
# };
|
||||||
|
#};
|
||||||
|
|
||||||
|
programs.waybar = {
|
||||||
|
enable = true;
|
||||||
|
settings = [
|
||||||
|
{
|
||||||
|
"height" = 30;
|
||||||
|
"spacing" = 4;
|
||||||
|
"modules-left" = [
|
||||||
|
"hyprland/workspaces"
|
||||||
|
#"hyprland/mode"
|
||||||
|
#"hyprland/scratchpad"
|
||||||
|
];
|
||||||
|
"modules-center" = [
|
||||||
|
"hyprland/window"
|
||||||
|
];
|
||||||
|
"modules-right" = [
|
||||||
|
"pulseaudio"
|
||||||
|
"clock"
|
||||||
|
"tray"
|
||||||
|
];
|
||||||
|
|
||||||
|
"tray" = {
|
||||||
|
"spacing" = 10;
|
||||||
|
};
|
||||||
|
"clock" = {
|
||||||
|
"tooltim-format" = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
|
||||||
|
"format-alt" = "{:%Y-%m-%d}";
|
||||||
|
};
|
||||||
|
"pulseaudio" = {
|
||||||
|
"format" = "{volume}% {icon} {format_source}";
|
||||||
|
"format-bluetooth" = "{volume}% {icon} {format_source}";
|
||||||
|
"format-bluetooth-muted" = " {icon} {format_source}";
|
||||||
|
"format-muted" = " {format_source}";
|
||||||
|
"format-source" = "{volume}% ";
|
||||||
|
"format-source-muted" = "";
|
||||||
|
"format-icons" = {
|
||||||
|
"headphone" = "";
|
||||||
|
"hands-free" = "";
|
||||||
|
"headset" = "";
|
||||||
|
"phone" = "";
|
||||||
|
"portable" = "";
|
||||||
|
"car" = "";
|
||||||
|
"default" = ["" "" ""];
|
||||||
|
};
|
||||||
|
"on-click" = "${lib.getExe pkgs.pavucontrol}";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
systemd = {
|
||||||
|
enable = true;
|
||||||
|
target = "hyprland-session.target";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -37,6 +117,7 @@
|
||||||
"$mainMod, M, fullscreen, 1"
|
"$mainMod, M, fullscreen, 1"
|
||||||
"$mainMod SHIFT, F, fakefullscreen"
|
"$mainMod SHIFT, F, fakefullscreen"
|
||||||
"$mainMod, P, exec, ${pkgs.bemenu}/bin/bemenu-run"
|
"$mainMod, P, exec, ${pkgs.bemenu}/bin/bemenu-run"
|
||||||
|
"$mainMod, V, exec, ${lib.getExe pkgs.cliphist} list | ${lib.getExe pkgs.wofi} --dmenu | ${lib.getExe pkgs.cliphist} decode | ${pkgs.wl-clipboard}/bin/wl-copy"
|
||||||
|
|
||||||
"$mainMod SHIFT, E, exec, ${lib.getExe pkgs.wlogout}"
|
"$mainMod SHIFT, E, exec, ${lib.getExe pkgs.wlogout}"
|
||||||
# focus with vim keys
|
# focus with vim keys
|
||||||
|
|
15
home/terminal/emulator/foot.nix
Normal file
15
home/terminal/emulator/foot.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.foot = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
main = {
|
||||||
|
include = "${pkgs.foot.themes}/share/foot/themes/moonfly";
|
||||||
|
font = "monospace:size=9";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
5
home/terminal/programs/zellij.nix
Normal file
5
home/terminal/programs/zellij.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
programs.zellij = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue