switching to fuzzel for uwsm integration and tuirun still WIP
This commit is contained in:
30
flake.lock
generated
30
flake.lock
generated
@@ -429,11 +429,11 @@
|
|||||||
"zig": "zig"
|
"zig": "zig"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735943291,
|
"lastModified": 1736005074,
|
||||||
"narHash": "sha256-igXLrO0AtN7+k7VaR5zaHaPhDcS3go5NZr4liVqW9g4=",
|
"narHash": "sha256-6W7Cg4Lf0/gT4r/Bloj9lwxKw+Txti3Bw1ybrEpn0CA=",
|
||||||
"owner": "ghostty-org",
|
"owner": "ghostty-org",
|
||||||
"repo": "ghostty",
|
"repo": "ghostty",
|
||||||
"rev": "1baf8928a0bd6ccc2f49e1e9478baab71d49a018",
|
"rev": "8f5f432ab61fa73b77cb61239c0cff34250f77bb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -526,11 +526,11 @@
|
|||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735958984,
|
"lastModified": 1736007070,
|
||||||
"narHash": "sha256-N9cA4lIJd8+rsdjf5DRyhGhH/ZYYrZlSzY1bx7cGE8o=",
|
"narHash": "sha256-/sIqNrVaExdXrfvbbTO39CQ34e68Hq85zhF1x0yDEE4=",
|
||||||
"owner": "helix-editor",
|
"owner": "helix-editor",
|
||||||
"repo": "helix",
|
"repo": "helix",
|
||||||
"rev": "b47b946c47c1f5963e20f45b658016c130e89784",
|
"rev": "353176082e05696b292ccf65955333bd18deef97",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -546,11 +546,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735979091,
|
"lastModified": 1736013363,
|
||||||
"narHash": "sha256-WpFjt6+8UD81EP386c269ZTqpEmlGJgcPw+OB4b7EBs=",
|
"narHash": "sha256-P4lsS2Y5GzBfC8OfXtD/xWEucX6oHGTjOzjEjEJbXfc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "11ab08541e61ac3bbf2ab27229f68622629401df",
|
"rev": "0d7908bd09165db6699908b7e3970f137327cbf0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -766,11 +766,11 @@
|
|||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735946701,
|
"lastModified": 1736008833,
|
||||||
"narHash": "sha256-jCIIiEjgIs02N36fJCd+aU7QiqqdMWokfpFWO+sTdn0=",
|
"narHash": "sha256-1Fej194tgc7Cqb1A07d9HLQ++l/+nxO+FAb536mwOSk=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprland",
|
"repo": "hyprland",
|
||||||
"rev": "60f069d54015fec66e63f1ff7e6ff26ddb349976",
|
"rev": "b0bae15499ad57bbfeae8be958df8c022201e583",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -905,11 +905,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735945036,
|
"lastModified": 1736008364,
|
||||||
"narHash": "sha256-GHO0t06PgKyyZjGNwpsO+Mmwf22frDI8uGRJNXp9z50=",
|
"narHash": "sha256-8gC5tgoJmvPsV2nuCpbt0p9m1+OqZ1aAd16R6y9PlYo=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprlock",
|
"repo": "hyprlock",
|
||||||
"rev": "c3d95953c07f02810dfadf89fd8d3306e029b5dd",
|
"rev": "8f68fad50aa07f1220961d1d23942565e7562d8d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
./home/programs/firefox
|
./home/programs/firefox
|
||||||
./home/programs/fish
|
./home/programs/fish
|
||||||
./home/programs/foot
|
./home/programs/foot
|
||||||
|
./home/programs/fuzzel
|
||||||
./home/programs/helix
|
./home/programs/helix
|
||||||
./home/programs/hyprland
|
./home/programs/hyprland
|
||||||
./home/programs/hyprlock
|
./home/programs/hyprlock
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkIf mkOption mkEnableOption types;
|
inherit (lib) mkIf mkOption mkEnableOption types;
|
||||||
|
# Workaround for https://github.com/GooseMod/OpenAsar/issues/202
|
||||||
|
# Needlessly complicated, but it's dynamic! :D
|
||||||
variantMapping = {
|
variantMapping = {
|
||||||
stable = {
|
stable = {
|
||||||
dir = "discord";
|
dir = "discord";
|
||||||
|
|||||||
57
modules/home/programs/fuzzel/default.nix
Normal file
57
modules/home/programs/fuzzel/default.nix
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
osConfig,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption mkMerge;
|
||||||
|
cfg = config.home.programs.fuzzel;
|
||||||
|
host = osConfig.networking.hostName;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
home.programs.fuzzel.enable = mkEnableOption "Enables fuzzel";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable (mkMerge [
|
||||||
|
{
|
||||||
|
programs.fuzzel = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
main = {
|
||||||
|
layer = "overlay";
|
||||||
|
font = "Input Sans Narrow Light:size=12";
|
||||||
|
launch-prefix = "uwsm app --";
|
||||||
|
lines = "8";
|
||||||
|
};
|
||||||
|
colors = {
|
||||||
|
background = "282828ff";
|
||||||
|
text = "928374ff";
|
||||||
|
prompt = "ebdbb2ff";
|
||||||
|
placeholder = "928374ff";
|
||||||
|
input = "ebdbb2ff";
|
||||||
|
match = "ebdbb2ff";
|
||||||
|
selection = "32302fff";
|
||||||
|
selection-text = "ebdbb2ff";
|
||||||
|
selection-match = "ebdbb2ff";
|
||||||
|
counter = "4c7a5dff";
|
||||||
|
border = "4c7a5dff";
|
||||||
|
};
|
||||||
|
border = {
|
||||||
|
width = 3;
|
||||||
|
radius = 0;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
(mkIf (host == "cnix") {
|
||||||
|
programs.fuzzel.settings.main.terminal = "${inputs.ghostty.packages.x86_64-linux.default}/bin/ghostty";
|
||||||
|
})
|
||||||
|
(mkIf (host == "cnixpad") {
|
||||||
|
programs.fuzzel.settings.main.terminal = "${pkgs.foot}/bin/foot";
|
||||||
|
})
|
||||||
|
(mkIf (host == "toothpc") {
|
||||||
|
programs.fuzzel.settings.main.terminal = "${pkgs.alacritty}/bin/alacritty";
|
||||||
|
})
|
||||||
|
]);
|
||||||
|
}
|
||||||
@@ -24,10 +24,10 @@ in {
|
|||||||
# Common Keybind Variables
|
# Common Keybind Variables
|
||||||
"$fileManager" = "thunar";
|
"$fileManager" = "thunar";
|
||||||
"$yazi" = "foot -e yazi";
|
"$yazi" = "foot -e yazi";
|
||||||
"$launcher" = "rofi -show drun";
|
"$launcher" = "fuzzel";
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
"$mod, SPACE, exec, tuirun-toggle.sh"
|
"$mod, SPACE, exec, $launcher"
|
||||||
"$mod, R, exec, $launcher"
|
"$mod, R, exec, $launcher"
|
||||||
"$mod, L, exec, ${toggle "nwg-bar"}"
|
"$mod, L, exec, ${toggle "nwg-bar"}"
|
||||||
"$mod SHIFT, B, exec, pkill -SIGUSR2 waybar"
|
"$mod SHIFT, B, exec, pkill -SIGUSR2 waybar"
|
||||||
|
|||||||
@@ -35,6 +35,9 @@
|
|||||||
foot = {
|
foot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
fuzzel = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
helix = {
|
helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -9,6 +9,14 @@
|
|||||||
workspace = "1";
|
workspace = "1";
|
||||||
primary = true;
|
primary = true;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "DP-4";
|
||||||
|
width = 1920;
|
||||||
|
height = 1080;
|
||||||
|
refreshRate = 60;
|
||||||
|
workspace = "2";
|
||||||
|
primary = false;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "eDP-1";
|
name = "eDP-1";
|
||||||
width = 1920;
|
width = 1920;
|
||||||
|
|||||||
@@ -25,6 +25,9 @@
|
|||||||
foot = {
|
foot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
fuzzel = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
helix = {
|
helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user