background, keybinds for moving and resizing windows, added color palett
This commit is contained in:
6
.config/wofi/config
Normal file
6
.config/wofi/config
Normal file
@ -0,0 +1,6 @@
|
||||
allow_images=true
|
||||
gtk-dark=true
|
||||
image_size=20
|
||||
width=25%
|
||||
hide-scroll=true
|
||||
lines=7
|
39
.config/wofi/style.css
Normal file
39
.config/wofi/style.css
Normal file
@ -0,0 +1,39 @@
|
||||
window {
|
||||
margin: 25px;
|
||||
#border: 1px solid #bd93f9;
|
||||
background-color: #282a36;
|
||||
}
|
||||
|
||||
#input {
|
||||
margin: 15px;
|
||||
border: none;
|
||||
color: #f8f8f2;
|
||||
background-color: #44475a;
|
||||
}
|
||||
|
||||
#inner-box {
|
||||
margin: 15px;
|
||||
border: none;
|
||||
background-color: #282a36;
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
background-color: #282a36;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#text {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
color: #f8f8f2;
|
||||
}
|
||||
|
||||
#entry:selected {
|
||||
background-color: #44475a;
|
||||
}
|
17
.config/wofi/wofi-powermenu.sh
Executable file
17
.config/wofi/wofi-powermenu.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
entries="⇠ Logout\n⏾ Suspend\n⭮ Reboot\n⏻ Shutdown"
|
||||
|
||||
selected=$(echo -e $entries|wofi --width 250 --height 240 --dmenu --cache-file /dev/null | awk '{print tolower($2)}')
|
||||
|
||||
case $selected in
|
||||
logout)
|
||||
pkill -u kia;;
|
||||
suspend)
|
||||
exec systemctl suspend;;
|
||||
reboot)
|
||||
exec systemctl reboot;;
|
||||
shutdown)
|
||||
exec systemctl poweroff;;
|
||||
# it used to be poweroff -i
|
||||
esac
|
Reference in New Issue
Block a user