Completed The Switch to Wofi

This commit is contained in:
Tyler Kelley 2024-05-17 03:32:17 -05:00
parent 68ac4b1325
commit 3aa915e885
7 changed files with 11 additions and 8 deletions

View File

@ -129,7 +129,7 @@ with lib;
new_is_master = true
}
bind = ${modifier},Return,exec,${terminal}
bind = ${modifier}SHIFT,Return,exec,rofi-launcher
bind = ${modifier}SHIFT,Return,exec,wofi
bind = ${modifier}SHIFT,W,exec,web-search
bind = ${modifier}SHIFT,N,exec,swaync-client -rs
bind = ${modifier},W,exec,${browser}

View File

@ -309,6 +309,7 @@ in
enable = true;
settings = {
allow_images = true;
prompt = "Run Programs...";
width = "25%";
hide_scroll = true;
term = "kitty";
@ -325,6 +326,7 @@ in
}
#input {
border-radius: 100px;
border: 2px solid #${palette.base0B};
margin: 20px;
padding: 15px 25px;
background: #${palette.base00};
@ -340,7 +342,8 @@ in
border-radius: 200px;
}
#entry:selected{
background-color:#${palette.base0F};
border: 2px solid #${palette.base0F};
background-color: #${palette.base0F};
color: #${palette.base00};
}
#entry:hover {

View File

@ -4,7 +4,7 @@
gitEmail = "tylerzanekelley@gmail.com";
# Base16 Theme
theme = "atelier-cave";
theme = "dracula";
# Hyprland Settings
borderAnim = true; # Enable / Disable Hyprland Border Animation

View File

@ -2,7 +2,7 @@
pkgs.writeShellScriptBin "emopicker9000" ''
# Get user selection via wofi from emoji file.
chosen=$(cat $HOME/.emoji | ${pkgs.rofi-wayland}/bin/rofi -dmenu | awk '{print $1}')
chosen=$(cat $HOME/.emoji | ${pkgs.wofi}/bin/wofi -dmenu | awk '{print $1}')
# Exit if none chosen.
[ -z "$chosen" ] && exit

View File

@ -17,7 +17,7 @@ pkgs.writeShellScriptBin "list-hypr-bindings" ''
--timeout-indicator=right \
" = Windows/Super/CAPS LOCK" "Modifier Key, used for keybindings" "Doesn't really execute anything by itself." \
" + ENTER" "Terminal" "${terminal}" \
" + SHIFT + ENTER" "Rofi App Launcher" "rofi -show drun" \
" + SHIFT + ENTER" "Wofi App Launcher" "wofi" \
" + Q" "Kill Focused Window" "killactive" \
" + SHIFT + W" "Search Websites Like Nix Packages" "web-search" \
" + SHIFT + N" "Reload SwayNC Styling" "swaync-client -rs" \

View File

@ -2,7 +2,7 @@
pkgs.writeShellScriptBin "theme-selector" ''
# Get user selection for new theme from base16-themes file
chosen=$(cat $HOME/.base16-themes | ${pkgs.rofi-wayland}/bin/rofi -dmenu)
chosen=$(cat $HOME/.base16-themes | ${pkgs.wofi}/bin/wofi -dmenu)
# Exit if none chosen.
[ -z "$chosen" ] && exit

View File

@ -21,10 +21,10 @@ pkgs.writeShellScriptBin "web-search" ''
main() {
# Pass the list to rofi
platform=$( (gen_list) | ${pkgs.rofi-wayland}/bin/rofi -dmenu )
platform=$( (gen_list) | ${pkgs.wofi}/bin/wofi -dmenu )
if [[ -n "$platform" ]]; then
query=$( (echo ) | ${pkgs.rofi-wayland}/bin/rofi -dmenu )
query=$( (echo ) | ${pkgs.wofi}/bin/wofi -dmenu )
if [[ -n "$query" ]]; then
url=''${URLS[$platform]}$query