feat: switch from rofi to wofi
This commit is contained in:
parent
cc3ada059e
commit
5d1e3e9985
3 changed files with 78 additions and 6 deletions
|
@ -10,8 +10,6 @@ plugin {
|
|||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=eDP-1,1920x1200@60,0x0,1
|
||||
|
||||
$menu = "$HOME/.config/rofi/launcher.sh"
|
||||
|
||||
exec-once = $HOME/.config/lisgd/config &
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
@ -36,7 +34,7 @@ exec-once = bash -c "sleep 0.5; eww reload"
|
|||
exec-once = gnome-keyring-daemon --start --components=secrets
|
||||
exec-once = squeekboard
|
||||
|
||||
exec-once = $menu
|
||||
exec-once = wofi --show drun
|
||||
exec-once = hyprpaper
|
||||
|
||||
# after boot, there are 2 bars for some reason, so I kill them and rerun the command
|
||||
|
@ -141,6 +139,8 @@ gestures {
|
|||
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
|
||||
windowrule = noborder,^(wofi)$
|
||||
|
||||
windowrule = float,^(org.kde.polkit-kde-authentication-agent-1)$
|
||||
windowrule = size 741 288,^(org.kde.polkit-kde-authentication-agent-1)$
|
||||
windowrule = center,^(org.kde.polkit-kde-authentication-agent-1)$
|
||||
|
@ -168,7 +168,7 @@ $mainMod = SUPER
|
|||
|
||||
bind = SUPER, F, fullscreen
|
||||
|
||||
bind = $mainMod, V, exec, cliphist list | ~/.config/rofi/dmenu.sh | cliphist decode | wl-copy
|
||||
bind = $mainMod, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, Q, exec, alacritty
|
||||
|
@ -178,7 +178,7 @@ bind = $mainMod, L, exec, $HOME/.config/gtklock/scripts/lock.sh
|
|||
bind = $mainMod SHIFT, E, exec, eww open closer && $EWW_PATH/open.sh powermenu
|
||||
bindn =, Escape, exec, $EWW_PATH/close-opened.sh
|
||||
bind = $mainMod SHIFT, SPACE, togglefloating,
|
||||
bind = $mainMod, D, exec, $menu
|
||||
bind = $mainMod, D, exec, wofi --show drun
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
|
||||
|
|
|
@ -22,6 +22,79 @@ in
|
|||
package = (builtins.getFlake "github:matt1432/eww-exclusiver").packages.x86_64-linux.default;
|
||||
};
|
||||
|
||||
wofi = {
|
||||
enable = true;
|
||||
settings = {
|
||||
prompt = "";
|
||||
allow_images = true;
|
||||
image_size = "48";
|
||||
matching = "fuzzy";
|
||||
insensitive = true;
|
||||
normal_window = true;
|
||||
height = "620";
|
||||
};
|
||||
style = ''
|
||||
/* https://github.com/dracula/wofi/blob/master/style.css */
|
||||
window {
|
||||
margin: 0px;
|
||||
border: 1px solid #bd93f9;
|
||||
border-bottom: none;
|
||||
border-radius: 30px;
|
||||
background-color: #282a36;
|
||||
}
|
||||
|
||||
#input {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
color: #f8f8f2;
|
||||
background-color: #44475a;
|
||||
}
|
||||
|
||||
#inner-box {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
background-color: #282a36;
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
margin: 5px;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border: none;
|
||||
border-radius: 30px;
|
||||
background-color: #282a36;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
margin: -4px 0px -7px 0px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#text {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
color: #f8f8f2;
|
||||
}
|
||||
|
||||
#entry.activatable #text {
|
||||
color: #282a36;
|
||||
}
|
||||
|
||||
#entry > * {
|
||||
color: #f8f8f2;
|
||||
padding: 4px 0px 0px 0px;
|
||||
}
|
||||
|
||||
#entry:selected {
|
||||
background-color: #44475a;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
#entry:selected #text {
|
||||
font-weight: bold;
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
@ -112,7 +112,6 @@
|
|||
jq # enable using home-manager?
|
||||
ripgrep-all
|
||||
hyprpaper
|
||||
rofi-wayland
|
||||
networkmanagerapplet
|
||||
nextcloud-client
|
||||
galaxy-buds-client
|
||||
|
|
Loading…
Reference in a new issue