Power menu will now add a suspend option for non-phones. Also, it correctly calls i3lock if not on my phonemaster
parent
1ab519531c
commit
f9301f1959
3 changed files with 121 additions and 8 deletions
@ -0,0 +1,91 @@ |
||||
/* |
||||
* |
||||
* Author : Aditya Shakya |
||||
* Mail : adi1090x@gmail.com |
||||
* Github : @adi1090x |
||||
* Twitter : @adi1090x |
||||
* |
||||
*/ |
||||
|
||||
configuration { |
||||
disable-history: false; |
||||
fullscreen: false; |
||||
hide-scrollbar: true; |
||||
sidebar-mode: false; |
||||
} |
||||
|
||||
@import "gruvbox-dark.rasi" |
||||
|
||||
* { |
||||
background-color: @background; |
||||
text-color: @foreground; |
||||
} |
||||
|
||||
window { |
||||
transparency: "real"; |
||||
border-radius: 12px; |
||||
width: 100px; |
||||
location: east; |
||||
x-offset: -15px; |
||||
y-offset: -200px; |
||||
} |
||||
|
||||
listview { |
||||
lines: 4; |
||||
margin: 8px; |
||||
spacing: 8px; |
||||
cycle: true; |
||||
dynamic: true; |
||||
layout: vertical; |
||||
} |
||||
|
||||
mainbox { |
||||
background-color: @background; |
||||
children: [ listview ]; |
||||
} |
||||
|
||||
element { |
||||
background-color: @background-light; |
||||
text-color: @foreground; |
||||
orientation: vertical; |
||||
border-radius: 12px; |
||||
} |
||||
|
||||
element-text { |
||||
font: "iosevka 45"; |
||||
expand: true; |
||||
horizontal-align: 0.5; |
||||
vertical-align: 0; |
||||
margin: 0px 10px 63px 10px; |
||||
} |
||||
|
||||
element normal.urgent, |
||||
element alternate.urgent { |
||||
background-color: @urgent; |
||||
text-color: @foreground; |
||||
border-radius: 10px; |
||||
} |
||||
|
||||
element normal.active, |
||||
element alternate.active { |
||||
background-color: @background-alt; |
||||
text-color: @foreground; |
||||
} |
||||
|
||||
element selected { |
||||
background-color: @accent; |
||||
text-color: @background; |
||||
border: 0px; |
||||
border-radius: 10px; |
||||
border-color: @border; |
||||
} |
||||
|
||||
element selected.urgent { |
||||
background-color: @urgent; |
||||
text-color: @foreground; |
||||
} |
||||
|
||||
element selected.active { |
||||
background-color: @background-alt; |
||||
color: @foreground; |
||||
} |
Loading…
Reference in new issue