Addded configurable font to rofi menus
This commit is contained in:
parent
00a3646140
commit
70f5226ebf
@ -4,9 +4,11 @@
|
||||
local awful = require("awful")
|
||||
local naughty = require("naughty")
|
||||
|
||||
local theme = require("theme")
|
||||
|
||||
local config = {}
|
||||
|
||||
local rofi_font = "\"" .. theme.mono_font .. "\""
|
||||
|
||||
--
|
||||
-- Awesome WM
|
||||
@ -21,8 +23,8 @@ config.awesome = {
|
||||
|
||||
-- Application launcher
|
||||
application_launcher_check = "rofi -version",
|
||||
application_launcher = "rofi -show drun -modi drun -show-icons -config " .. awful.util.getdir("config") .. "/assets/rofi/themes/paper-float.rasi",
|
||||
application_launcher_cmd = "rofi -show run -config " .. awful.util.getdir("config") .. "/assets/rofi/themes/paper-float.rasi",
|
||||
application_launcher = "rofi -show drun -modi drun -show-icons -config " .. awful.util.getdir("config") .. "/assets/rofi/themes/paper-float.rasi -font " .. rofi_font,
|
||||
application_launcher_cmd = "rofi -show run -config " .. awful.util.getdir("config") .. "/assets/rofi/themes/paper-float.rasi -font " .. rofi_font,
|
||||
|
||||
-- Screen locker
|
||||
lock_command = "i3lock --blur=5 -f -k --time-color=ffffffff --date-color=ffffffff --indicator --ring-color=aaaaaaaa",
|
||||
@ -201,7 +203,7 @@ config.theme = awful.util.getdir("config") .. "/theme.lua"
|
||||
config.screenshot_utility_command = "flameshot gui"
|
||||
|
||||
-- Run menu
|
||||
config.windowSwitcher = "rofi -show window -config " .. awful.util.getdir("config") .. "/assets/rofi/themes/paper-float.rasi"
|
||||
config.windowSwitcher = "rofi -show window -config " .. awful.util.getdir("config") .. "/assets/rofi/themes/paper-float.rasi -font " .. rofi_font
|
||||
|
||||
-- Media control
|
||||
config.volume_osd_timeout = 2
|
||||
|
Loading…
Reference in New Issue
Block a user