Add sirula

This commit is contained in:
Jordan Holt 2021-05-01 16:26:24 +01:00
parent a17566ac4b
commit 52ed1492f9
4 changed files with 63 additions and 1 deletions

View File

@ -0,0 +1,16 @@
markup_highlight = 'underline="low" weight="bold"'
#markup_extra = 'foreground="blue"'
#markup_default = 'foreground="yellow"'
exclusive = true
lines = 1
icon_size = 20
anchor_left = false
anchor_right = false
anchor_top = false
anchor_bottom = false
margin_top = 1
margin_bottom = 0
margin_left = 0
margin_right = 0
width = 750
height = 450

35
.config/sirula/style.css Normal file
View File

@ -0,0 +1,35 @@
.app-row {
transition: unset;
padding: 5px 0 5px 10px;
background-color: #1e2029;
}
.app-row:selected {
background-color: #7246af;
}
.app-label {
margin-left: 10px;
font-family: "Ubuntu Mono";
font-size: 14px;
font-weight: 300;
}
.app-list {
background-color: #f00;
}
#root-box {
border: 2px solid #BD93F9;
border-radius: 5px 5px 5px 5px;
box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
margin: 100px;
background-color: #1e2029;
}
#search {
font-family: "Ubuntu Mono";
font-size: 14px;
padding: 2px 8px;
margin: 5px;
}

View File

@ -18,7 +18,7 @@ set $term alacritty
# Your preferred application launcher # Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened # Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on. # on the original workspace that the command was run on.
set $menu dmenu_path | dmenu | xargs swaymsg exec -- set $menu sirula
### Appearance ### Appearance
# #

11
install
View File

@ -22,6 +22,7 @@ install() {
fzf \ fzf \
git \ git \
grim \ grim \
gtk-layer-shell \
isync \ isync \
lynx \ lynx \
mpd \ mpd \
@ -42,6 +43,7 @@ install() {
python-pip \ python-pip \
rsync \ rsync \
slurp \ slurp \
sway \
transmission-cli \ transmission-cli \
ttf-ubuntu-font-family \ ttf-ubuntu-font-family \
youtube-dl \ youtube-dl \
@ -73,6 +75,15 @@ install() {
sudo sed -i '$a auth optional pam_exec.so expose_authtok /usr/bin/pam_exec-ssh' \ sudo sed -i '$a auth optional pam_exec.so expose_authtok /usr/bin/pam_exec-ssh' \
/etc/pam.d/system-local-login /etc/pam.d/system-local-login
} }
[ -x "/usr/bin/sirula" ] || {
tmp_dir="$(mktemp -d)" && pushd "$tmp_dir" && {
curl -sSfO "https://jordanholt.xyz/sirula"
sudo install -m755 sirula /usr/bin/
popd
rm -rf $tmp_dir
}
}
} }
configure() { configure() {