first commit

This commit is contained in:
jay
2023-02-26 00:18:35 +08:00
commit d337afb250
31 changed files with 3163 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
width=600
height=400
mode=drun
filter_rate=100
matching=contains
insensitive=true
term=alacritty
allow_images=true
allow_markup=true
dmenu-parse_action=true
drun-display_generic=true
key_down=Tab
key_expand=Right
key_forward=Down
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
entries="⇠ Logout\n⏾ Suspend\n⭮ Reboot\n⏻ Shutdown"
selected=$(echo -e $entries|wofi --width 350 --height 250 --dmenu --cache-file /dev/null | awk '{print tolower($2)}')
case $selected in
logout)
swaymsg exit;;
suspend)
exec systemctl suspend;;
reboot)
exec systemctl reboot;;
shutdown)
exec systemctl poweroff -i;;
esac
+62
View File
@@ -0,0 +1,62 @@
window {
margin: 5px;
background-color: #282a36;
opacity: 0.9;
}
#outer-box {
margin: 5px;
border: 2px solid #44475a;
background-color: #282a36;
}
#input {
margin: 5px;
border: 2px solid #6272a4;
background-color: #44475a;
color: #f8f8f2;
font-size: 18px;
}
#inner-box {
margin: 5px;
background-color: #282a36;
}
#scroll {
margin: 5px;
border: 2px solid #6272a4;
background-color: #282a36;
font-size: 16px;
color: #f8f8f2;
}
#scroll label {
margin: 2px 0px;
}
#entry {
margin: 5px;
background-color: #282a36;
}
#entry:selected {
background-color: #44475a;
border: 2px solid #BD93F9;
}
#img {
margin: 5px;
}
#img:selected {
background-color: #44475a;
}
#text {
margin: 5px;
border: none;
color: #f8f8f2;
}
#text:selected {
background-color: #44475a;
}