Removed hardcoded colon from rofi prompt

This commit is contained in:
agryphus 2023-11-17 17:43:02 -05:00
parent cb44890c3d
commit 40ae8fa74b
5 changed files with 20 additions and 14 deletions

View file

@ -2,14 +2,15 @@ configuration {
font: "FiraCodeNerdFont 12"; font: "FiraCodeNerdFont 12";
kb-cancel: "Super+q,Escape,Control+c"; kb-cancel: "Super+q,Escape,Control+c";
timeout { timeout {
action: "kb-cancel"; action: "kb-cancel";
delay: 0; delay: 0;
} }
filebrowser { filebrowser {
directories-first: true; directories-first: true;
sorting-method: "name"; sorting-method: "name";
} }
} }
@theme "gruvbox-dark-transparent"
@theme "theme"

View file

@ -0,0 +1,9 @@
@import "gruvbox-dark-transparent"
textbox-prompt-sep {
expand: false;
str: ""; // Override default prompt colon
text-color: @normal-foreground;
margin: 0 0.3em 0 0;
}

View file

@ -1,9 +1,5 @@
#!/usr/bin/env sh #!/usr/bin/env sh
layout=`autorandr | rofi -dmenu -i -p "Select layout" | awk '{print $1}'`
autorandr $layout layout=`autorandr | rofi -dmenu -i -p "Select layout:" | awk '{print $1}'`
feh --bg-scale --no-fehbg "$HOME/.config/wallpaper" autorandr $layout
# echo "dwm.accent: $(color-picker $WALLPAPER)" > /tmp/dwm_accent
# xrdb -override -merge /tmp/dwm_accent
# rm /tmp/dwm_accent
# kill -HUP $(pidof dwm)

View file

@ -4,6 +4,6 @@
rofi -run-list-command "alias | awk -F= \"{print \\\$1}\"" \ rofi -run-list-command "alias | awk -F= \"{print \\\$1}\"" \
-run-command "/usr/bin/env zsh -i -c '{cmd}'" \ -run-command "/usr/bin/env zsh -i -c '{cmd}'" \
-rnow -show-icons -matching "prefix" \ -rnow -show-icons -matching "prefix" \
-display-combi "Start" \ -display-combi "Start:" \
-show combi -combi-modes "drun,run" -show combi -combi-modes "drun,run"

View file

@ -11,7 +11,7 @@ sinks=`echo "$sinks_and_numbers" |
awk -F'[' '{print $1}' | awk -F'[' '{print $1}' |
cut -c 2-` cut -c 2-`
chosen=`echo "$sinks" | rofi -dmenu -p "Select audio sink" -i` chosen=`echo "$sinks" | rofi -dmenu -p "Select audio sink:" -i`
if [ -z "$chosen" ]; then if [ -z "$chosen" ]; then
# Exited out of dmenu prompt # Exited out of dmenu prompt
exit exit