Improve utilities for sway and wofi
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
parent
916b6d7917
commit
28dcc7ab4f
|
@ -14,7 +14,12 @@ set $term kitty --single-instance -d ~
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
set $menu ~/.local/bin/wofi_run
|
set $menu ~/.local/bin/wofi_run
|
||||||
|
|
||||||
### Output configuration
|
### Mouse
|
||||||
|
#
|
||||||
|
# Please tweak wofi_run when enabling this
|
||||||
|
focus_follows_mouse yes
|
||||||
|
|
||||||
|
### Output configuratjon
|
||||||
#
|
#
|
||||||
# Default wallpaper
|
# Default wallpaper
|
||||||
#output * bg ~/.wallpaper/dark.png tile
|
#output * bg ~/.wallpaper/dark.png tile
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#input {
|
#input {
|
||||||
padding: 8px 12px;
|
padding: 8px 16px;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
border: none;
|
border: none;
|
||||||
background: rgba(32, 32, 32, 0);
|
background: rgba(32, 32, 32, 0);
|
||||||
|
@ -17,17 +17,31 @@
|
||||||
|
|
||||||
.entry#selected,
|
.entry#selected,
|
||||||
.entry#unselected {
|
.entry#unselected {
|
||||||
padding: 8px 12px;
|
padding: 8px 38px;
|
||||||
}
|
}
|
||||||
#selected,
|
#selected,
|
||||||
row > #selected {
|
row > #selected {
|
||||||
background: rgba(203, 75, 22, 0.73);
|
background: rgba(203, 75, 22, 0.73);
|
||||||
text: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
#unselected,
|
#unselected,
|
||||||
row > #unselected {
|
row > #unselected {
|
||||||
background: none;
|
background: none;
|
||||||
text: #fff;
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
expander .entry#selected,
|
||||||
|
expander .entry#unselected {
|
||||||
|
padding: 8px 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
list .entry#selected,
|
||||||
|
list .entry#unselected {
|
||||||
|
padding: 8px 62px;
|
||||||
}
|
}
|
||||||
|
|
||||||
flowboxchild {
|
flowboxchild {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [[ "$(uname -s)" == "Linux" ]]; then
|
if [[ "$(uname -s)" == "Linux" ]]; then
|
||||||
echo $1 | tee /sys/class/backlight/intel_backlight/brightness
|
echo $1 | sudo tee /sys/class/backlight/intel_backlight/brightness
|
||||||
else
|
else
|
||||||
echo "only works on linux"
|
echo "only works on linux"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,5 +1,18 @@
|
||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
|
||||||
export PATH="$PATH:$HOME/.local/bin"
|
export PATH="$PATH:$HOME/.local/bin"
|
||||||
|
cd ~
|
||||||
|
|
||||||
wofi --normal-window --show drun
|
wofi \
|
||||||
|
--width 600 \
|
||||||
|
--prompt search \
|
||||||
|
--normal-window \
|
||||||
|
--allow-images --allow-markup \
|
||||||
|
--hide-scroll \
|
||||||
|
--matching contains \
|
||||||
|
--insensitive \
|
||||||
|
--term kitty \
|
||||||
|
--show drun,run
|
||||||
|
|
||||||
|
# TIPS:
|
||||||
|
# - Hold shift to open in terminal
|
||||||
|
|
Loading…
Reference in New Issue