mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-02-16 16:40:49 +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
|
new_is_master = true
|
||||||
}
|
}
|
||||||
bind = ${modifier},Return,exec,${terminal}
|
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,W,exec,web-search
|
||||||
bind = ${modifier}SHIFT,N,exec,swaync-client -rs
|
bind = ${modifier}SHIFT,N,exec,swaync-client -rs
|
||||||
bind = ${modifier},W,exec,${browser}
|
bind = ${modifier},W,exec,${browser}
|
||||||
|
@ -309,6 +309,7 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
allow_images = true;
|
allow_images = true;
|
||||||
|
prompt = "Run Programs...";
|
||||||
width = "25%";
|
width = "25%";
|
||||||
hide_scroll = true;
|
hide_scroll = true;
|
||||||
term = "kitty";
|
term = "kitty";
|
||||||
@ -325,6 +326,7 @@ in
|
|||||||
}
|
}
|
||||||
#input {
|
#input {
|
||||||
border-radius: 100px;
|
border-radius: 100px;
|
||||||
|
border: 2px solid #${palette.base0B};
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
padding: 15px 25px;
|
padding: 15px 25px;
|
||||||
background: #${palette.base00};
|
background: #${palette.base00};
|
||||||
@ -340,7 +342,8 @@ in
|
|||||||
border-radius: 200px;
|
border-radius: 200px;
|
||||||
}
|
}
|
||||||
#entry:selected{
|
#entry:selected{
|
||||||
background-color:#${palette.base0F};
|
border: 2px solid #${palette.base0F};
|
||||||
|
background-color: #${palette.base0F};
|
||||||
color: #${palette.base00};
|
color: #${palette.base00};
|
||||||
}
|
}
|
||||||
#entry:hover {
|
#entry:hover {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
gitEmail = "tylerzanekelley@gmail.com";
|
gitEmail = "tylerzanekelley@gmail.com";
|
||||||
|
|
||||||
# Base16 Theme
|
# Base16 Theme
|
||||||
theme = "atelier-cave";
|
theme = "dracula";
|
||||||
|
|
||||||
# Hyprland Settings
|
# Hyprland Settings
|
||||||
borderAnim = true; # Enable / Disable Hyprland Border Animation
|
borderAnim = true; # Enable / Disable Hyprland Border Animation
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
pkgs.writeShellScriptBin "emopicker9000" ''
|
pkgs.writeShellScriptBin "emopicker9000" ''
|
||||||
# Get user selection via wofi from emoji file.
|
# 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.
|
# Exit if none chosen.
|
||||||
[ -z "$chosen" ] && exit
|
[ -z "$chosen" ] && exit
|
||||||
|
@ -17,7 +17,7 @@ pkgs.writeShellScriptBin "list-hypr-bindings" ''
|
|||||||
--timeout-indicator=right \
|
--timeout-indicator=right \
|
||||||
" = Windows/Super/CAPS LOCK" "Modifier Key, used for keybindings" "Doesn't really execute anything by itself." \
|
" = Windows/Super/CAPS LOCK" "Modifier Key, used for keybindings" "Doesn't really execute anything by itself." \
|
||||||
" + ENTER" "Terminal" "${terminal}" \
|
" + ENTER" "Terminal" "${terminal}" \
|
||||||
" + SHIFT + ENTER" "Rofi App Launcher" "rofi -show drun" \
|
" + SHIFT + ENTER" "Wofi App Launcher" "wofi" \
|
||||||
" + Q" "Kill Focused Window" "killactive" \
|
" + Q" "Kill Focused Window" "killactive" \
|
||||||
" + SHIFT + W" "Search Websites Like Nix Packages" "web-search" \
|
" + SHIFT + W" "Search Websites Like Nix Packages" "web-search" \
|
||||||
" + SHIFT + N" "Reload SwayNC Styling" "swaync-client -rs" \
|
" + SHIFT + N" "Reload SwayNC Styling" "swaync-client -rs" \
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
pkgs.writeShellScriptBin "theme-selector" ''
|
pkgs.writeShellScriptBin "theme-selector" ''
|
||||||
# Get user selection for new theme from base16-themes file
|
# 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.
|
# Exit if none chosen.
|
||||||
[ -z "$chosen" ] && exit
|
[ -z "$chosen" ] && exit
|
||||||
|
@ -21,10 +21,10 @@ pkgs.writeShellScriptBin "web-search" ''
|
|||||||
|
|
||||||
main() {
|
main() {
|
||||||
# Pass the list to rofi
|
# 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
|
if [[ -n "$platform" ]]; then
|
||||||
query=$( (echo ) | ${pkgs.rofi-wayland}/bin/rofi -dmenu )
|
query=$( (echo ) | ${pkgs.wofi}/bin/wofi -dmenu )
|
||||||
|
|
||||||
if [[ -n "$query" ]]; then
|
if [[ -n "$query" ]]; then
|
||||||
url=''${URLS[$platform]}$query
|
url=''${URLS[$platform]}$query
|
||||||
|
Loading…
Reference in New Issue
Block a user