screenshot through rofi + maim

This commit is contained in:
Anish L 2022-09-02 01:38:07 +10:00
parent 65d0db4189
commit 066e0e3dc3
2 changed files with 21 additions and 4 deletions

View file

@ -12,7 +12,7 @@ cancel=""
# Variable passed to rofi # Variable passed to rofi
options="$select\n$window\n$screen\n$delay\n$cancel" options="$select\n$window\n$screen\n$delay\n$cancel"
rofi_command="rofi -theme theme/screenshotsmenu.rasi" rofi_command="rofi -theme theme/screenshotmenu.rasi"
setFilename() { setFilename() {
directory="/tmp/" directory="/tmp/"

View file

@ -1,5 +1,22 @@
@import "iconmenu.rasi" @import "appmenu.rasi"
* { icon-font: "Iosevka Nerd Font Mono 24"; } window {
children: [ listview ];
width: 264px;
y-offset: -540px;
border-radius: 5px 5px 5px 5px;
}
window { width: 264px; } listview {
scrollbar: false;
lines: 1;
columns: 6;
}
element {
background-color: @bg;
}
element.selected {
background-color: @off;
text-color: @bg;
}