Removed hardcoded colon from rofi prompt
This commit is contained in:
parent
cb44890c3d
commit
40ae8fa74b
5 changed files with 20 additions and 14 deletions
|
|
@ -11,5 +11,6 @@ configuration {
|
|||
}
|
||||
}
|
||||
|
||||
@theme "gruvbox-dark-transparent"
|
||||
|
||||
@theme "theme"
|
||||
|
||||
|
|
|
|||
9
.config/rofi/themes/theme.rasi
Normal file
9
.config/rofi/themes/theme.rasi
Normal 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;
|
||||
}
|
||||
|
||||
|
|
@ -1,9 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
layout=`autorandr | rofi -dmenu -i -p "Select layout" | awk '{print $1}'`
|
||||
autorandr $layout
|
||||
feh --bg-scale --no-fehbg "$HOME/.config/wallpaper"
|
||||
# echo "dwm.accent: $(color-picker $WALLPAPER)" > /tmp/dwm_accent
|
||||
# xrdb -override -merge /tmp/dwm_accent
|
||||
# rm /tmp/dwm_accent
|
||||
# kill -HUP $(pidof dwm)
|
||||
|
||||
layout=`autorandr | rofi -dmenu -i -p "Select layout:" | awk '{print $1}'`
|
||||
autorandr $layout
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,6 @@
|
|||
rofi -run-list-command "alias | awk -F= \"{print \\\$1}\"" \
|
||||
-run-command "/usr/bin/env zsh -i -c '{cmd}'" \
|
||||
-rnow -show-icons -matching "prefix" \
|
||||
-display-combi "Start" \
|
||||
-display-combi "Start:" \
|
||||
-show combi -combi-modes "drun,run"
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ sinks=`echo "$sinks_and_numbers" |
|
|||
awk -F'[' '{print $1}' |
|
||||
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
|
||||
# Exited out of dmenu prompt
|
||||
exit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue