Replaced rofi w/ walker

This commit is contained in:
2025-11-16 01:17:54 -05:00
parent 15317047e3
commit 1dddfebbb8
9 changed files with 305 additions and 48 deletions

133
flake.lock generated
View File

@@ -146,6 +146,27 @@
"type": "github" "type": "github"
} }
}, },
"elephant": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"systems": "systems_2"
},
"locked": {
"lastModified": 1762962320,
"narHash": "sha256-4Bhteu6s5gMGcNSgniKH4ynmN5WcdDA58Vy2vFlHPdg=",
"owner": "abenz1267",
"repo": "elephant",
"rev": "b7acc4fe8a1b6552b071b6b6f2d3a93c8ddec823",
"type": "github"
},
"original": {
"owner": "abenz1267",
"repo": "elephant",
"type": "github"
}
},
"firefox-gnome-theme": { "firefox-gnome-theme": {
"flake": false, "flake": false,
"locked": { "locked": {
@@ -277,7 +298,7 @@
}, },
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems_2" "systems": "systems_3"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@@ -478,7 +499,7 @@
"hyprwayland-scanner": "hyprwayland-scanner_2", "hyprwayland-scanner": "hyprwayland-scanner_2",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"pre-commit-hooks": "pre-commit-hooks", "pre-commit-hooks": "pre-commit-hooks",
"systems": "systems_3", "systems": "systems_4",
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
@@ -848,6 +869,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_5": {
"locked": {
"lastModified": 1757068644,
"narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nur": { "nur": {
"inputs": { "inputs": {
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
@@ -902,7 +939,7 @@
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"systems": "systems_4" "systems": "systems_5"
}, },
"locked": { "locked": {
"lastModified": 1762353527, "lastModified": 1762353527,
@@ -967,6 +1004,7 @@
"root": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
"elephant": "elephant",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"hyprdynamicmonitors": "hyprdynamicmonitors", "hyprdynamicmonitors": "hyprdynamicmonitors",
"hyprland": "hyprland", "hyprland": "hyprland",
@@ -977,7 +1015,8 @@
"nvf": "nvf", "nvf": "nvf",
"plasma-manager": "plasma-manager", "plasma-manager": "plasma-manager",
"silentSDDM": "silentSDDM", "silentSDDM": "silentSDDM",
"stylix": "stylix" "stylix": "stylix",
"walker": "walker"
} }
}, },
"scenefx": { "scenefx": {
@@ -1034,7 +1073,7 @@
"nixpkgs" "nixpkgs"
], ],
"nur": "nur_2", "nur": "nur_2",
"systems": "systems_5", "systems": "systems_6",
"tinted-foot": "tinted-foot", "tinted-foot": "tinted-foot",
"tinted-kitty": "tinted-kitty", "tinted-kitty": "tinted-kitty",
"tinted-schemes": "tinted-schemes", "tinted-schemes": "tinted-schemes",
@@ -1071,21 +1110,6 @@
} }
}, },
"systems_2": { "systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_3": {
"locked": { "locked": {
"lastModified": 1689347949, "lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
@@ -1100,7 +1124,7 @@
"type": "github" "type": "github"
} }
}, },
"systems_4": { "systems_3": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@@ -1115,6 +1139,21 @@
"type": "github" "type": "github"
} }
}, },
"systems_4": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_5": { "systems_5": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
@@ -1130,6 +1169,36 @@
"type": "github" "type": "github"
} }
}, },
"systems_6": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_7": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"tinted-foot": { "tinted-foot": {
"flake": false, "flake": false,
"locked": { "locked": {
@@ -1211,6 +1280,28 @@
"type": "github" "type": "github"
} }
}, },
"walker": {
"inputs": {
"elephant": [
"elephant"
],
"nixpkgs": "nixpkgs_5",
"systems": "systems_7"
},
"locked": {
"lastModified": 1762788361,
"narHash": "sha256-72+WE0RGSW8TgzPijHU6TtLWfMb0G7ojraM5UifTLVg=",
"owner": "abenz1267",
"repo": "walker",
"rev": "e87c8c36468bcf2042a21c6aa878e7f0cdadc8f0",
"type": "github"
},
"original": {
"owner": "abenz1267",
"repo": "walker",
"type": "github"
}
},
"xdph": { "xdph": {
"inputs": { "inputs": {
"hyprland-protocols": [ "hyprland-protocols": [

View File

@@ -47,6 +47,16 @@
}; };
hyprdynamicmonitors.url = "github:fiffeek/hyprdynamicmonitors"; hyprdynamicmonitors.url = "github:fiffeek/hyprdynamicmonitors";
elephant = {
url = "github:abenz1267/elephant";
inputs.nixpkgs.follows = "nixpkgs";
};
walker = {
url = "github:abenz1267/walker";
inputs.elephant.follows = "elephant";
};
}; };
outputs = outputs =

View File

@@ -15,6 +15,7 @@
./ssh.nix ./ssh.nix
./stylix.nix ./stylix.nix
./vscode.nix ./vscode.nix
./walker.nix
./wallpaper.nix ./wallpaper.nix
./waybar ./waybar
./wlogout.nix ./wlogout.nix

View File

@@ -12,7 +12,7 @@
bind = [ bind = [
"$mod, Q, killactive" "$mod, Q, killactive"
"$mod, W, exec, ghostty +new-window" "$mod, W, exec, ghostty +new-window"
"$mod, S, exec, rofi -show drun -show-icons" "$mod, S, exec, walker"
"$mod, Escape, exec, wlogout" "$mod, Escape, exec, wlogout"
# Window Movement # Window Movement
@@ -43,11 +43,7 @@
", XF86AudioPlay, exec, playerctl play-pause" ", XF86AudioPlay, exec, playerctl play-pause"
", XF86AudioNext, exec, playerctl next" ", XF86AudioNext, exec, playerctl next"
", XF86AudioMute, exec, pamixer -t" ", XF86AudioMute, exec, pamixer -t"
", XF86AudioRaiseVolume, exec, pamixer -i 5"
", XF86AudioLowerVolume, exec, pamixer -d 5"
"ALT, XF86AudioMute, exec, pamixer --default-source -t" "ALT, XF86AudioMute, exec, pamixer --default-source -t"
"ALT, XF86AudioRaiseVolume, exec, pamixer --default-source -i 5"
"ALT, XF86AudioLowerVolume, exec, pamixer --default-source -d 5"
] ]
++ ( ++ (
# workspaces # workspaces
@@ -71,5 +67,13 @@
"$mod, mouse:273, resizewindow" "$mod, mouse:273, resizewindow"
"$mod ALT, mouse:272, resizewindow" "$mod ALT, mouse:272, resizewindow"
]; ];
binde = [
", XF86AudioRaiseVolume, exec, pamixer -i 5"
", XF86AudioLowerVolume, exec, pamixer -d 5"
"ALT, XF86AudioRaiseVolume, exec, pamixer --default-source -i 5"
"ALT, XF86AudioLowerVolume, exec, pamixer --default-source -d 5"
];
}; };
} }

View File

@@ -20,9 +20,10 @@
heybrochecklog heybrochecklog
rsgain rsgain
rofi
playerctl playerctl
pamixer pamixer
pavucontrol
brightnessctl brightnessctl
obsidian
]; ];
} }

67
modules/home/walker.nix Normal file
View File

@@ -0,0 +1,67 @@
{
inputs,
...
}:
{
imports = [
inputs.walker.homeManagerModules.default
];
programs.walker = {
enable = true;
runAsService = true;
config = {
close_when_open = true;
click_to_close = true;
providers = {
default = [ "desktopapplications" ];
max_results = 50;
prefixes = [
{
prefix = ";";
provider = "providerlist";
}
{
prefix = ">";
provider = "runner";
}
{
prefix = "/";
provider = "files";
}
{
prefix = ".";
provider = "symbols";
}
{
prefix = "!";
provider = "todo";
}
{
prefix = "%";
provider = "bookmarks";
}
{
prefix = "=";
provider = "calc";
}
{
prefix = "@";
provider = "websearch";
}
{
prefix = ":";
provider = "clipboard";
}
{
prefix = "$";
provider = "windows";
}
];
clipboard = {
time_format = "%d.%m. - %H:%M"; # format for the clipboard item date
};
};
};
};
}

View File

@@ -38,7 +38,7 @@ let
exec = "echo ; echo 󱓟 app launcher"; exec = "echo ; echo 󱓟 app launcher";
interval = 86400; interval = 86400;
tooltip = true; tooltip = true;
on-click = "pkill rofi || rofi -show drun -show-icons"; on-click = "walker";
}; };
hyprland-window = { hyprland-window = {
@@ -56,6 +56,25 @@ let
}; };
}; };
cava = {
autosens = 1;
bars = 15;
bar_delimiter = 32; # ASCII for " " (space)
format-icons = [
""
""
""
""
""
""
""
""
];
framerate = 30;
input_delay = 2;
method = "pipewire";
};
arrow-right = { arrow-right = {
format = "󰁙"; format = "󰁙";
tooltip = false; tooltip = false;
@@ -103,9 +122,12 @@ let
}; };
pulseaudio = { pulseaudio = {
format = "{icon} {volume}%"; format = "{icon} {volume}% {format_source}";
format-bluetooth = "{icon} 󰂰 {volume}"; format-muted = "󰖁 {format_source}";
format-muted = "󰖁"; format-bluetooth = "󰂰 {icon} {volume}% {format_source}";
format-bluetooth-muted = "󰂰 󰖁 {format_source}";
format-source = "󰍬 {volume}%";
format-source-muted = "󰍭";
format-icons = { format-icons = {
headphone = ""; headphone = "";
hands-free = ""; hands-free = "";
@@ -119,25 +141,66 @@ let
"󰕾" "󰕾"
"" ""
]; ];
ignored-sinks = [ "Easy Effects Sink" ];
}; };
scroll-step = 5.0; scroll-step = 5.0;
# on-click-right = "pavucontrol -t 3"; on-click = "pavucontrol -t 3";
on-click-right = "pavucontrol -t 4";
tooltip-format = "{icon} {desc} | {volume}%"; tooltip-format = "{icon} {desc} | {volume}%";
smooth-scrolling-threshold = 1; smooth-scrolling-threshold = 1;
}; };
wireplumber = {
format = "{icon} {volume}% {format_source}";
format-muted = "󰖁 {format_source}";
format-source = "󰍬 {volume}%";
format-source-muted = "󰍭";
format-icons = {
headphone = "";
hands-free = "";
headset = "";
phone = "";
portable = "";
car = "";
default = [
""
""
"󰕾"
""
];
};
scroll-step = 5.0;
on-click = "pavucontrol -t 3";
on-click-right = "pavucontrol -t 4";
tooltip-format = "{node_name} {volume}%\n{source_desc} {source_volume}%";
};
backlight = {
format = "{icon} {percent}%";
format-icons = [
""
""
""
""
""
""
""
""
""
];
on-scroll-down = "brightnessctl set 10%-";
on-scroll-up = "brightnessctl set +10%";
tooltip = false;
};
battery = { battery = {
align = 0; align = 0;
rotate = 0; rotate = 0;
full-at = 100; full-at = 100;
design-capacity = false; design-capacity = false;
states = { states = {
good = 95; critical = 20;
warning = 30;
critical = 15;
}; };
format = "{icon} {capacity}"; format = "{icon} {capacity}%";
format-charging = " {capacity}%"; format-charging = " {capacity}%";
format-plugged = "󱘖 {capacity}%"; format-plugged = "󱘖 {capacity}%";
format-alt-click = "click"; format-alt-click = "click";
@@ -194,6 +257,15 @@ let
tooltip = false; tooltip = false;
}; };
network = {
format-disconnected = "󰖪 ";
format-wifi = " ";
format-ethernet = "󰈀 ";
format-linked = " (No IP)";
format-disabled = " (Disabled)";
tooltip-format = "{essid}: {ipaddr}/{cidr}";
};
notifications = { notifications = {
tooltip = false; tooltip = false;
format = "{icon} {text}"; format = "{icon} {text}";
@@ -252,16 +324,16 @@ in
layer = "top"; layer = "top";
position = "top"; position = "top";
height = 34; height = 34;
width = 1200; margin-left = 10;
margin-left = 50; margin-right = 10;
margin-right = 50; margin-top = 10;
margin-top = 5;
fixed-center = true; fixed-center = true;
reload_style_on_change = true; reload_style_on_change = true;
modules-left = [ modules-left = [
"custom/menu" "custom/menu"
"hyprland/window" "hyprland/window"
"cava"
"group/info" "group/info"
]; ];
@@ -278,6 +350,7 @@ in
"hyprland/workspaces#4" = hyprland-workspaces; "hyprland/workspaces#4" = hyprland-workspaces;
"custom/menu" = menu; "custom/menu" = menu;
"hyprland/window" = hyprland-window; "hyprland/window" = hyprland-window;
"cava" = cava;
"custom/arrow-right" = arrow-right; "custom/arrow-right" = arrow-right;
"cpu" = cpu; "cpu" = cpu;
"memory" = memory; "memory" = memory;
@@ -285,6 +358,9 @@ in
"idle_inhibitor" = idle-inhibitor; "idle_inhibitor" = idle-inhibitor;
"tray" = tray; "tray" = tray;
"pulseaudio" = pulseaudio; "pulseaudio" = pulseaudio;
"network" = network;
"wireplumber" = wireplumber;
"backlight" = backlight;
"mpris" = mpris; "mpris" = mpris;
"battery" = battery; "battery" = battery;
"custom/arrow-left" = arrow-left; "custom/arrow-left" = arrow-left;
@@ -310,7 +386,10 @@ in
orientation = "inherit"; orientation = "inherit";
modules = [ modules = [
"tray" "tray"
"pulseaudio" "network"
"wireplumber"
# "pulseaudio"
"backlight"
"mpris" "mpris"
"battery" "battery"
]; ];

View File

@@ -107,12 +107,6 @@ tooltip label {
border-radius: 5px; border-radius: 5px;
} }
#bluetooth,
#network,
#pulseaudio {
padding: 0px 0 0 4px;
}
#pulseaudio-slider slider { #pulseaudio-slider slider {
min-height: 0px; min-height: 0px;
min-width: 0px; min-width: 0px;
@@ -148,6 +142,7 @@ tooltip label {
background: alpha(darker(@main-color), 0.8); background: alpha(darker(@main-color), 0.8);
border-radius: 10px; border-radius: 10px;
} }
#tray { #tray {
padding: 0px 8px; padding: 0px 8px;
margin: 4px 2px 4px 2px; margin: 4px 2px 4px 2px;
@@ -177,8 +172,13 @@ tooltip label {
#bluetooth, #bluetooth,
#mpd, #mpd,
#pulseaudio, #pulseaudio,
#wireplumber,
#battery, #battery,
#mpris { #mpris {
padding: 4px 4px; padding: 4px 4px;
color: lighter(@main-color); color: lighter(@main-color);
} }
#battery.critical {
color: red;
}

View File

@@ -8,6 +8,9 @@
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
}; };
fastfetch = {
enable = true;
};
starship = { starship = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
@@ -81,6 +84,7 @@
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
shellAliases = { shellAliases = {
stu = "ssh stu"; stu = "ssh stu";
ff = "fastfetch";
}; };
}; };
}; };