Tweak rofi styles

This commit is contained in:
Henrik Lissner 2021-02-20 10:48:15 -05:00
parent ad2f0e6d7c
commit 404e0c2881
3 changed files with 5 additions and 2 deletions

View file

@ -11,7 +11,7 @@ require 'fileutils'
require 'cgi' require 'cgi'
def rofi items, *args def rofi items, *args
cmd = [*%w{rofi -dmenu -theme theme/bookmarkmenu.rasi -columns 1 -markup-rows -multi-select -p browser -i}, *args] cmd = [*%w{rofi -dmenu -theme theme/bookmarkmenu.rasi -markup-rows -multi-select -p browser -i}, *args]
IO.popen(cmd.compact.shelljoin, "r+") do |pipe| IO.popen(cmd.compact.shelljoin, "r+") do |pipe|
pipe.puts items.keys.join "\n" pipe.puts items.keys.join "\n"
pipe.close_write pipe.close_write

View file

@ -1,5 +1,4 @@
/* -*- mode: css; -*- */ /* -*- mode: css; -*- */
@import "config.rasi" @import "config.rasi"
listview { listview {

View file

@ -1,6 +1,10 @@
/* -*- mode: css; -*- */ /* -*- mode: css; -*- */
@import "config.rasi" @import "config.rasi"
listview {
columns: 1;
}
textbox-icon { textbox-icon {
str: "  "; str: "  ";
} }