diff --git a/bin/omarchy-power-menu b/bin/omarchy-power-menu index 2c77833..6c8d6a7 100755 --- a/bin/omarchy-power-menu +++ b/bin/omarchy-power-menu @@ -10,7 +10,7 @@ show_power_menu() { \u200D Relaunch \u2060󰜉 Restart \u2063󰐥 Shutdown" - local selection=$(echo -e "$menu_options" | wofi --show dmenu --prompt "Power Options" --width 150 --height 195 -O alphabetical --style ~/.local/share/omarchy/config/wofi/omarchy-power-menu.css) + local selection=$(echo -e "$menu_options" | wofi --show dmenu --prompt "Power Options" --width 150 --height 195 -O alphabetical --style ~/.local/share/omarchy/default/wofi/select.css) case "$selection" in *Lock*) hyprlock ;; diff --git a/default/hypr/bindings.conf b/default/hypr/bindings.conf index d7c9ff5..546bcfc 100644 --- a/default/hypr/bindings.conf +++ b/default/hypr/bindings.conf @@ -10,7 +10,8 @@ bind = SUPER, G, exec, $messenger bind = SUPER, O, exec, obsidian -disable-gpu bind = SUPER, slash, exec, $passwordManager -bind = SUPER, space, exec, pkill wofi || wofi --show drun --sort-order=alphabetical +bind = SUPER, space, exec, pkill wofi || wofi --show drun --sort-order=alphabetical --style="$HOME/.local/share/omarchy/default/wofi/search.css" + bind = SUPER SHIFT, SPACE, exec, pkill -SIGUSR1 waybar bind = SUPER CTRL, SPACE, exec, ~/.local/share/omarchy/bin/swaybg-next bind = SUPER SHIFT CTRL, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-theme-next diff --git a/default/wofi/search.css b/default/wofi/search.css new file mode 100644 index 0000000..b57b452 --- /dev/null +++ b/default/wofi/search.css @@ -0,0 +1,72 @@ +@import ".config/omarchy/current/theme/wofi.css"; + +* { + font-family: 'CaskaydiaMono Nerd Font', monospace; + font-size: 18px; +} + +window { + margin: 0px; + padding: 20px; + background-color: @base; + opacity: 0.95; +} + +#inner-box { + margin: 0; + padding: 0; + border: none; + background-color: @base; +} + +#outer-box { + margin: 0; + padding: 20px; + border: none; + background-color: @base; +} + +#scroll { + margin: 0; + padding: 0; + border: none; + background-color: @base; +} + +#input { + margin: 0; + padding: 10px; + border: none; + background-color: @base; + color: @text; +} + +#input:focus { + outline: none; + box-shadow: none; + border: none; +} + +#text { + margin: 5px; + border: none; + color: @text; +} + +#entry { + background-color: @base; +} + +#entry:selected { + outline: none; + border: none; +} + +#entry:selected #text { + color: @selected-text; +} + +#entry image { + -gtk-icon-transform: scale(0.7); +} + diff --git a/default/wofi/select.css b/default/wofi/select.css new file mode 100644 index 0000000..5f255c0 --- /dev/null +++ b/default/wofi/select.css @@ -0,0 +1,8 @@ +@import ".config/omarchy/current/theme/wofi.css"; +@import ".local/share/omarchy/default/wofi/search.css"; + +#input { + display: none; + opacity: 0; + margin-top: -200px; +} diff --git a/themes/catppuccin/wofi.css b/themes/catppuccin/wofi.css index e26765e..70a94f8 100644 --- a/themes/catppuccin/wofi.css +++ b/themes/catppuccin/wofi.css @@ -1,73 +1,3 @@ @define-color selected-text #8caaee; @define-color text #c6d0f5; @define-color base #24273a; - -* { - font-family: 'CaskaydiaMono Nerd Font', monospace; - font-size: 18px; -} - -window { - margin: 0px; - padding: 20px; - background-color: @base; - opacity: 0.95; -} - -#inner-box { - margin: 0; - padding: 0; - border: none; - background-color: @base; -} - -#outer-box { - margin: 0; - padding: 20px; - border: none; - background-color: @base; -} - -#scroll { - margin: 0; - padding: 0; - border: none; - background-color: @base; -} - -#input { - margin: 0; - padding: 10px; - border: none; - background-color: @base; - color: @text; -} - -#input:focus { - outline: none; - box-shadow: none; - border: none; -} - -#text { - margin: 5px; - border: none; - color: @text; -} - -#entry { - background-color: @base; -} - -#entry:selected { - outline: none; - border: none; -} - -#entry:selected #text { - color: @selected-text; -} - -#entry image { - -gtk-icon-transform: scale(0.7); -} diff --git a/themes/everforest/wofi.css b/themes/everforest/wofi.css index f5089fb..036b3e0 100644 --- a/themes/everforest/wofi.css +++ b/themes/everforest/wofi.css @@ -1,73 +1,3 @@ @define-color selected-text #dbbc7f; @define-color text #d3c6aa; @define-color base #2d353b; - -* { - font-family: 'CaskaydiaMono Nerd Font', monospace; - font-size: 18px; -} - -window { - margin: 0px; - padding: 20px; - background-color: @base; - opacity: 0.95; -} - -#inner-box { - margin: 0; - padding: 0; - border: none; - background-color: @base; -} - -#outer-box { - margin: 0; - padding: 20px; - border: none; - background-color: @base; -} - -#scroll { - margin: 0; - padding: 0; - border: none; - background-color: @base; -} - -#input { - margin: 0; - padding: 10px; - border: none; - background-color: @base; - color: @text; -} - -#input:focus { - outline: none; - box-shadow: none; - border: none; -} - -#text { - margin: 5px; - border: none; - color: @text; -} - -#entry { - background-color: @base; -} - -#entry:selected { - outline: none; - border: none; -} - -#entry:selected #text { - color: @selected-text; -} - -#entry image { - -gtk-icon-transform: scale(0.7); -} diff --git a/themes/gruvbox/wofi.css b/themes/gruvbox/wofi.css index 99481cf..8501e39 100644 --- a/themes/gruvbox/wofi.css +++ b/themes/gruvbox/wofi.css @@ -1,73 +1,3 @@ @define-color selected-text #fabd2f; @define-color text #ebdbb2; @define-color base #282828; - -* { - font-family: 'CaskaydiaMono Nerd Font', monospace; - font-size: 18px; -} - -window { - margin: 0px; - padding: 20px; - background-color: @base; - opacity: 0.95; -} - -#inner-box { - margin: 0; - padding: 0; - border: none; - background-color: @base; -} - -#outer-box { - margin: 0; - padding: 20px; - border: none; - background-color: @base; -} - -#scroll { - margin: 0; - padding: 0; - border: none; - background-color: @base; -} - -#input { - margin: 0; - padding: 10px; - border: none; - background-color: @base; - color: @text; -} - -#input:focus { - outline: none; - box-shadow: none; - border: none; -} - -#text { - margin: 5px; - border: none; - color: @text; -} - -#entry { - background-color: @base; -} - -#entry:selected { - outline: none; - border: none; -} - -#entry:selected #text { - color: @selected-text; -} - -#entry image { - -gtk-icon-transform: scale(0.7); -} diff --git a/themes/kanagawa/wofi.css b/themes/kanagawa/wofi.css index 88d64fa..ea8f710 100644 --- a/themes/kanagawa/wofi.css +++ b/themes/kanagawa/wofi.css @@ -1,73 +1,3 @@ @define-color selected-text #dca561; @define-color text #dcd7ba; @define-color base #1f1f28; - -* { - font-family: 'CaskaydiaMono Nerd Font', monospace; - font-size: 18px; -} - -window { - margin: 0px; - padding: 20px; - background-color: @base; - opacity: 0.95; -} - -#inner-box { - margin: 0; - padding: 0; - border: none; - background-color: @base; -} - -#outer-box { - margin: 0; - padding: 20px; - border: none; - background-color: @base; -} - -#scroll { - margin: 0; - padding: 0; - border: none; - background-color: @base; -} - -#input { - margin: 0; - padding: 10px; - border: none; - background-color: @base; - color: @text; -} - -#input:focus { - outline: none; - box-shadow: none; - border: none; -} - -#text { - margin: 5px; - border: none; - color: @text; -} - -#entry { - background-color: @base; -} - -#entry:selected { - outline: none; - border: none; -} - -#entry:selected #text { - color: @selected-text; -} - -#entry image { - -gtk-icon-transform: scale(0.7); -} diff --git a/themes/nord/wofi.css b/themes/nord/wofi.css index 4f36df2..8cc8fbe 100644 --- a/themes/nord/wofi.css +++ b/themes/nord/wofi.css @@ -1,73 +1,3 @@ @define-color selected-text #88C0D0; @define-color text #D8DEE9; @define-color base #2E3440; - -* { - font-family: 'CaskaydiaMono Nerd Font', monospace; - font-size: 18px; -} - -window { - margin: 0px; - padding: 20px; - background-color: @base; - opacity: 0.95; -} - -#inner-box { - margin: 0; - padding: 0; - border: none; - background-color: @base; -} - -#outer-box { - margin: 0; - padding: 20px; - border: none; - background-color: @base; -} - -#scroll { - margin: 0; - padding: 0; - border: none; - background-color: @base; -} - -#input { - margin: 0; - padding: 10px; - border: none; - background-color: @base; - color: @text; -} - -#input:focus { - outline: none; - box-shadow: none; - border: none; -} - -#text { - margin: 5px; - border: none; - color: @text; -} - -#entry { - background-color: @base; -} - -#entry:selected { - outline: none; - border: none; -} - -#entry:selected #text { - color: @selected-text; -} - -#entry image { - -gtk-icon-transform: scale(0.7); -} diff --git a/themes/tokyo-night/wofi.css b/themes/tokyo-night/wofi.css index 7b4892a..1663e02 100644 --- a/themes/tokyo-night/wofi.css +++ b/themes/tokyo-night/wofi.css @@ -1,73 +1,3 @@ @define-color selected-text #7dcfff; @define-color text #cfc9c2; @define-color base #1a1b26; - -* { - font-family: 'CaskaydiaMono Nerd Font', monospace; - font-size: 18px; -} - -window { - margin: 0px; - padding: 20px; - background-color: @base; - opacity: 0.95; -} - -#inner-box { - margin: 0; - padding: 0; - border: none; - background-color: @base; -} - -#outer-box { - margin: 0; - padding: 20px; - border: none; - background-color: @base; -} - -#scroll { - margin: 0; - padding: 0; - border: none; - background-color: @base; -} - -#input { - margin: 0; - padding: 10px; - border: none; - background-color: @base; - color: @text; -} - -#input:focus { - outline: none; - box-shadow: none; - border: none; -} - -#text { - margin: 5px; - border: none; - color: @text; -} - -#entry { - background-color: @base; -} - -#entry:selected { - outline: none; - border: none; -} - -#entry:selected #text { - color: @selected-text; -} - -#entry image { - -gtk-icon-transform: scale(0.7); -}