aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extras/HOME/.config/rofi/config.rasi10
-rwxr-xr-xextras/HOME/.local/bin/bluetooth-select.sh2
-rwxr-xr-xextras/HOME/.local/bin/emoticon-select.sh2
-rwxr-xr-xextras/HOME/.local/bin/rofi-pass2
-rwxr-xr-xextras/HOME/.local/bin/set-sink.sh2
-rw-r--r--src/Internal/DMenu.hs2
6 files changed, 10 insertions, 10 deletions
diff --git a/extras/HOME/.config/rofi/config.rasi b/extras/HOME/.config/rofi/config.rasi
index d804f7a..b78665e 100644
--- a/extras/HOME/.config/rofi/config.rasi
+++ b/extras/HOME/.config/rofi/config.rasi
@@ -5,7 +5,7 @@
selected-normal-background: @theme-color;
normal-foreground: @theme-color;
alternate-normal-foreground: @theme-color;
- textbox-background: #202020;
+ main-background: #202020e0;
font: "Monofur Bold Nerd Font 34";
}
@@ -20,13 +20,13 @@ window {
#case-indicator {
background-color: @theme-color;
- text-color: #202020;
+ text-color: @main-background;
padding: 10px;
}
#prompt {
background-color: @theme-color;
- text-color: #202020;
+ text-color: @main-background;
padding: 10px;
}
@@ -35,7 +35,7 @@ inputbar {
}
#entry {
- background-color: #202020;
+ background-color: @main-background;
padding: 10px;
}
@@ -44,7 +44,7 @@ inputbar {
border: 50px 0px 0px ;
border-color: #000000;
scrollbar: true;
- background-color: #202020;
+ background-color: @main-background;
}
element {
diff --git a/extras/HOME/.local/bin/bluetooth-select.sh b/extras/HOME/.local/bin/bluetooth-select.sh
index a39ead1..8c901ee 100755
--- a/extras/HOME/.local/bin/bluetooth-select.sh
+++ b/extras/HOME/.local/bin/bluetooth-select.sh
@@ -2,7 +2,7 @@
devices="$(bluetoothctl -- devices | sed 's#^Device ##')"
selection="$(
- echo -e "$devices\nDisconnect" | rofi -p "Connect Bluetooth" \
+ echo -e "$devices\nDisconnect" | rofi -i -p "Connect Bluetooth" \
-theme-str '* {theme-color: #8888ff;}' \
-dmenu)"
diff --git a/extras/HOME/.local/bin/emoticon-select.sh b/extras/HOME/.local/bin/emoticon-select.sh
index ed6cddc..cb593b4 100755
--- a/extras/HOME/.local/bin/emoticon-select.sh
+++ b/extras/HOME/.local/bin/emoticon-select.sh
@@ -1,7 +1,7 @@
#!/bin/bash
if ( which rofi ) ; then
- menu=(rofi -theme-str '* {theme-color: #ffa050;}' -p "Select Emoticon" -dmenu)
+ menu=(rofi -i -theme-str '* {theme-color: #ffa050;}' -p "Select Emoticon" -dmenu)
else
menu=(dmenu -fn NotoSans:size=24 -i -nf "#ffff88" -sb "#ffff88" -p "Select Emoticon" -l 12 -dim 0.4)
fi
diff --git a/extras/HOME/.local/bin/rofi-pass b/extras/HOME/.local/bin/rofi-pass
index 57a4704..6eb58b7 100755
--- a/extras/HOME/.local/bin/rofi-pass
+++ b/extras/HOME/.local/bin/rofi-pass
@@ -12,7 +12,7 @@ if [[ -n $WAYLAND_DISPLAY ]]; then
dmenu=dmenu-wl
xdotool="ydotool type --file -"
elif [[ -n $DISPLAY ]]; then
- dmenu=(rofi -dmenu -p 'Password')
+ dmenu=(rofi -i -dmenu -p 'Password')
xdotool="xdotool type --clearmodifiers --file -"
else
echo "Error: No Wayland or X11 display detected" >&2
diff --git a/extras/HOME/.local/bin/set-sink.sh b/extras/HOME/.local/bin/set-sink.sh
index 71054d8..9cd6f93 100755
--- a/extras/HOME/.local/bin/set-sink.sh
+++ b/extras/HOME/.local/bin/set-sink.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-DMENU=(rofi -theme-str '* {theme-color: #88ff88;}' -dmenu)
+DMENU=(rofi -i -theme-str '* {theme-color: #88ff88;}' -dmenu)
sinks="$(
pactl list sinks | while read line ; do
diff --git a/src/Internal/DMenu.hs b/src/Internal/DMenu.hs
index 360ad58..f964544 100644
--- a/src/Internal/DMenu.hs
+++ b/src/Internal/DMenu.hs
@@ -18,7 +18,7 @@ data Colors =
runDMenu :: X ()
runDMenu = void $
- safeSpawn "rofi" ["-p", "Execute ", "-show", "run"]
+ safeSpawn "rofi" ["-display-run", "Execute", "-show", "run"]
runDMenuPrompt :: String -> Maybe String -> [String] -> X String
runDMenuPrompt prompt color select =