diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/dmenu | 4 | ||||
| -rwxr-xr-x | bin/dmenu-wl | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bin/dmenu b/bin/dmenu index 6ca1a50..25ebc48 100755 --- a/bin/dmenu +++ b/bin/dmenu @@ -1,5 +1,7 @@ #!/bin/sh -/usr/local/bin/dmenu-wl $* -nb '#2b3339' -nf '#d3c6aa' -sb '#d3c6aa' -sf '#212736' -i -fn 'DroidSansM Nerd Font' +MONITOR=$(swaymsg -t get_outputs | jq -r '.[] | select(.focused==true).name') + +/usr/local/bin/dmenu-wl $* -nb '#2b3339' -nf '#d3c6aa' -sb '#d3c6aa' -sf '#212736' -i -m "$MONITOR" -fn 'DroidSansM Nerd Font' exit $? diff --git a/bin/dmenu-wl b/bin/dmenu-wl index 6ca1a50..25ebc48 100755 --- a/bin/dmenu-wl +++ b/bin/dmenu-wl @@ -1,5 +1,7 @@ #!/bin/sh -/usr/local/bin/dmenu-wl $* -nb '#2b3339' -nf '#d3c6aa' -sb '#d3c6aa' -sf '#212736' -i -fn 'DroidSansM Nerd Font' +MONITOR=$(swaymsg -t get_outputs | jq -r '.[] | select(.focused==true).name') + +/usr/local/bin/dmenu-wl $* -nb '#2b3339' -nf '#d3c6aa' -sb '#d3c6aa' -sf '#212736' -i -m "$MONITOR" -fn 'DroidSansM Nerd Font' exit $? |