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

View File

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

View File

@@ -12,7 +12,7 @@
bind = [
"$mod, Q, killactive"
"$mod, W, exec, ghostty +new-window"
"$mod, S, exec, rofi -show drun -show-icons"
"$mod, S, exec, walker"
"$mod, Escape, exec, wlogout"
# Window Movement
@@ -43,11 +43,7 @@
", XF86AudioPlay, exec, playerctl play-pause"
", XF86AudioNext, exec, playerctl next"
", XF86AudioMute, exec, pamixer -t"
", XF86AudioRaiseVolume, exec, pamixer -i 5"
", XF86AudioLowerVolume, exec, pamixer -d 5"
"ALT, XF86AudioMute, exec, pamixer --default-source -t"
"ALT, XF86AudioRaiseVolume, exec, pamixer --default-source -i 5"
"ALT, XF86AudioLowerVolume, exec, pamixer --default-source -d 5"
]
++ (
# workspaces
@@ -71,5 +67,13 @@
"$mod, mouse:273, 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
rsgain
rofi
playerctl
pamixer
pavucontrol
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";
interval = 86400;
tooltip = true;
on-click = "pkill rofi || rofi -show drun -show-icons";
on-click = "walker";
};
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 = {
format = "󰁙";
tooltip = false;
@@ -103,9 +122,12 @@ let
};
pulseaudio = {
format = "{icon} {volume}%";
format-bluetooth = "{icon} 󰂰 {volume}";
format-muted = "󰖁";
format = "{icon} {volume}% {format_source}";
format-muted = "󰖁 {format_source}";
format-bluetooth = "󰂰 {icon} {volume}% {format_source}";
format-bluetooth-muted = "󰂰 󰖁 {format_source}";
format-source = "󰍬 {volume}%";
format-source-muted = "󰍭";
format-icons = {
headphone = "";
hands-free = "";
@@ -119,25 +141,66 @@ let
"󰕾"
""
];
ignored-sinks = [ "Easy Effects Sink" ];
};
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}%";
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 = {
align = 0;
rotate = 0;
full-at = 100;
design-capacity = false;
states = {
good = 95;
warning = 30;
critical = 15;
critical = 20;
};
format = "{icon} {capacity}";
format = "{icon} {capacity}%";
format-charging = " {capacity}%";
format-plugged = "󱘖 {capacity}%";
format-alt-click = "click";
@@ -194,6 +257,15 @@ let
tooltip = false;
};
network = {
format-disconnected = "󰖪 ";
format-wifi = " ";
format-ethernet = "󰈀 ";
format-linked = " (No IP)";
format-disabled = " (Disabled)";
tooltip-format = "{essid}: {ipaddr}/{cidr}";
};
notifications = {
tooltip = false;
format = "{icon} {text}";
@@ -252,16 +324,16 @@ in
layer = "top";
position = "top";
height = 34;
width = 1200;
margin-left = 50;
margin-right = 50;
margin-top = 5;
margin-left = 10;
margin-right = 10;
margin-top = 10;
fixed-center = true;
reload_style_on_change = true;
modules-left = [
"custom/menu"
"hyprland/window"
"cava"
"group/info"
];
@@ -278,6 +350,7 @@ in
"hyprland/workspaces#4" = hyprland-workspaces;
"custom/menu" = menu;
"hyprland/window" = hyprland-window;
"cava" = cava;
"custom/arrow-right" = arrow-right;
"cpu" = cpu;
"memory" = memory;
@@ -285,6 +358,9 @@ in
"idle_inhibitor" = idle-inhibitor;
"tray" = tray;
"pulseaudio" = pulseaudio;
"network" = network;
"wireplumber" = wireplumber;
"backlight" = backlight;
"mpris" = mpris;
"battery" = battery;
"custom/arrow-left" = arrow-left;
@@ -310,7 +386,10 @@ in
orientation = "inherit";
modules = [
"tray"
"pulseaudio"
"network"
"wireplumber"
# "pulseaudio"
"backlight"
"mpris"
"battery"
];

View File

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

View File

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