mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-21 22:23:09 +01:00
Completed The Switch to Wofi
This commit is contained in:
parent
68ac4b1325
commit
3aa915e885
@ -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}
|
||||
|
@ -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 {
|
||||
|
@ -4,7 +4,7 @@
|
||||
gitEmail = "tylerzanekelley@gmail.com";
|
||||
|
||||
# Base16 Theme
|
||||
theme = "atelier-cave";
|
||||
theme = "dracula";
|
||||
|
||||
# Hyprland Settings
|
||||
borderAnim = true; # Enable / Disable Hyprland Border Animation
|
||||
|
@ -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
|
||||
|
@ -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" \
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user