first commit
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user