Wofi: also show run

This commit is contained in:
Julian Mutter 2024-06-15 14:16:56 +02:00
parent 83385a638f
commit 8134c4bcc3
7 changed files with 6 additions and 63 deletions

View File

@ -1,6 +1,7 @@
{ pkgs, ... }:
with pkgs; [
with pkgs;
[
(nerdfonts.override { fonts = [ "FiraCode" ]; })
font-awesome
dejavu_fonts

View File

@ -38,7 +38,6 @@ with pkgs;
libnfc
xournalpp
path-of-building
xfce.thunar-archive-plugin
zip

View File

@ -231,7 +231,7 @@ in
"$mod, P, pseudo," # dwindle
# opening applications
"$mod, D, exec, wofi --show run"
"$mod, D, exec, wofi --show drun,run"
"$mod, E, exec, thunar"
"$mod, Return, exec, alacritty"
"$mod, B, exec, firefox"

View File

@ -1,57 +0,0 @@
{
"position": "bottom",
"height": 10,
"modules-left": ["hyprland/workspaces"],
"modules-right": ["idle_inhibitor", "disk", "cpu", "memory", "pulseaudio", "battery", "clock", "tray"],
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": " ",
"deactivated": " "
}
},
"disk": {
"interval": 30,
"format": "free: {percentage_free}% ({free})",
"path": "/",
"unit": "GB"
},
"tray": {
"spacing": 10
},
"clock": {
"tooltip-format": "{calendar}",
"format": "{:%a %d.%m %H:%M:%S}",
"interval": 1
},
"cpu": {
"format": " {usage}%"
},
"memory": {
"format": " {}%"
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}% ({time})",
"format-charging": " {capacity}% ({time})",
"format-plugged": " {capacity}% ({time})",
"format-full": "{icon} ",
"format-icons": ["", "", "", "", ""]
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": " {format_source}",
"format-icons": {
"headphone": "",
"default": ["", "", ""]
},
"scroll-step": 5.0,
"max-volume": 200,
"on-click": "pulseaudio-popup"
}
}

View File

@ -3,7 +3,7 @@
"position": "bottom",
"mode": "dock",
"exclusive": true,
"passtrough": false,
"passtrough": true,
"height": 32,
"modules-left": [

View File

@ -1,7 +1,7 @@
width=900
height=600
location=center
show=drun
show=drun,run
prompt=Search...
filter_rate=100
allow_markup=true

View File

@ -42,6 +42,6 @@ pkgs.writeShellApplication {
Laptop - $LAPTOP_VOLUME,pactl set-default-sink $LAPTOP_SINK,$LAPTOP_ICON
EOF
echo "$CONF" | jgmenu --simple
echo "$CONF" | jgmenu --simple --at-pointer
'';
}