add terminal and launcher as a dotdrop option
This commit is contained in:
parent
c7ab6a0172
commit
e8a627be24
|
@ -7,6 +7,8 @@
|
|||
|
||||
variables:
|
||||
cursor_size: 24
|
||||
launcher: wofi
|
||||
terminal: alacritty
|
||||
bar: waybar
|
||||
bar_pos: top
|
||||
key:
|
||||
|
|
|
@ -278,7 +278,11 @@ colors:
|
|||
#
|
||||
# Window opacity as a floating point number from `0.0` to `1.0`.
|
||||
# The value `0.0` is completely transparent and `1.0` is opaque.
|
||||
background_opacity: 0.99
|
||||
# {%@@ if color.type =="dark" @@%} #
|
||||
background_opacity: 0.98
|
||||
# {%@@ else @@%} #
|
||||
background_opacity: 0.90
|
||||
# {%@@ endif @@%} #
|
||||
|
||||
#selection:
|
||||
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
|
||||
|
|
|
@ -1,4 +1,16 @@
|
|||
#!/bin/fish
|
||||
|
||||
command -qs wofi && exec wofi --show drun --allow-images --no-actions --prompt 'Iniciar: '
|
||||
command -qs bmenu && exec bmenu run
|
||||
# {%@@ if launcher == "wofi" @@%} #
|
||||
command -qs wofi &&
|
||||
exec wofi \
|
||||
--show drun \
|
||||
--allow-images \
|
||||
--no-actions \
|
||||
--prompt 'Iniciar: ' \
|
||||
|
||||
# {%@@ else @@%} #
|
||||
command -qs bmenu &&
|
||||
exec bmenu run
|
||||
# {%@@ endif @@%} #
|
||||
|
||||
notify-send "Error" "Launcher program missing"
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
command -v kitty > /dev/null &&
|
||||
exec kitty $@
|
||||
command -v alacritty > /dev/null &&
|
||||
{
|
||||
test "$#" -gt "0" &&
|
||||
exec alacritty -e $@ ||
|
||||
exec alacritty
|
||||
} & exit
|
||||
# {%@@ if terminal == "alacritty" @@%} #
|
||||
command -v alacritty > /dev/null &&
|
||||
{
|
||||
test "$#" -gt "0" &&
|
||||
exec alacritty -e $@ ||
|
||||
exec alacritty
|
||||
} & exit
|
||||
# {%@@ else @@%} #
|
||||
command -v kitty > /dev/null &&
|
||||
exec kitty $@
|
||||
# {%@@ endif @@%} #
|
||||
|
||||
notify-send "Error" "Terminal program missing"
|
||||
|
|
Reference in New Issue