mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-21 19:34:36 +02:00
rofi: use DPI as set by xsettingsd-setup
This commit is contained in:
parent
4d0944b638
commit
d8bb91eacc
2 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,8 @@
|
|||
if [ -z "${ROFI_OUTSIDE}" ]; then
|
||||
export mediaplayer=$1
|
||||
export Mediaplayer=$(echo $1 | sed -E 's/(.)/\U\1/')
|
||||
exec rofi -no-lazy-grab -show-icons -no-custom -modi m:$0 -show m \
|
||||
dpi=$(xrdb -query | sed -nE 's/^Xft\.dpi:\s*//p')
|
||||
exec rofi -dpi $dpi -no-lazy-grab -show-icons -no-custom -modi m:$0 -show m \
|
||||
-kb-custom-1 Super+z \
|
||||
-kb-custom-2 Super+x \
|
||||
-kb-custom-3 Super+c \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue