1
0
Fork 0

Improve utilities for sway and wofi
continuous-integration/drone/push Build was killed Details

main
Ambrose Chua 2020-05-27 16:00:52 +08:00
parent 916b6d7917
commit 28dcc7ab4f
4 changed files with 39 additions and 7 deletions

View File

@ -14,7 +14,12 @@ set $term kitty --single-instance -d ~
# Your preferred application launcher
set $menu ~/.local/bin/wofi_run
### Output configuration
### Mouse
#
# Please tweak wofi_run when enabling this
focus_follows_mouse yes
### Output configuratjon
#
# Default wallpaper
#output * bg ~/.wallpaper/dark.png tile

View File

@ -5,7 +5,7 @@
}
#input {
padding: 8px 12px;
padding: 8px 16px;
border-radius: 0;
border: none;
background: rgba(32, 32, 32, 0);
@ -17,17 +17,31 @@
.entry#selected,
.entry#unselected {
padding: 8px 12px;
padding: 8px 38px;
}
#selected,
row > #selected {
background: rgba(203, 75, 22, 0.73);
text: #fff;
color: #fff;
}
#unselected,
row > #unselected {
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 {

View File

@ -1,7 +1,7 @@
#!/bin/sh
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
echo "only works on linux"
fi

View File

@ -1,5 +1,18 @@
#!/bin/zsh
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