forked from ashpie/simple-awesome
Addded configurable font to rofi menus
This commit is contained in:
parent
00a3646140
commit
70f5226ebf
@ -4,9 +4,11 @@
|
|||||||
local awful = require("awful")
|
local awful = require("awful")
|
||||||
local naughty = require("naughty")
|
local naughty = require("naughty")
|
||||||
|
|
||||||
|
local theme = require("theme")
|
||||||
|
|
||||||
local config = {}
|
local config = {}
|
||||||
|
|
||||||
|
local rofi_font = "\"" .. theme.mono_font .. "\""
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Awesome WM
|
-- Awesome WM
|
||||||
@ -21,8 +23,8 @@ config.awesome = {
|
|||||||
|
|
||||||
-- Application launcher
|
-- Application launcher
|
||||||
application_launcher_check = "rofi -version",
|
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 = "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",
|
application_launcher_cmd = "rofi -show run -config " .. awful.util.getdir("config") .. "/assets/rofi/themes/paper-float.rasi -font " .. rofi_font,
|
||||||
|
|
||||||
-- Screen locker
|
-- Screen locker
|
||||||
lock_command = "i3lock --blur=5 -f -k --time-color=ffffffff --date-color=ffffffff --indicator --ring-color=aaaaaaaa",
|
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"
|
config.screenshot_utility_command = "flameshot gui"
|
||||||
|
|
||||||
-- Run menu
|
-- 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
|
-- Media control
|
||||||
config.volume_osd_timeout = 2
|
config.volume_osd_timeout = 2
|
||||||
|
@ -17,6 +17,7 @@ local simple_awesome_path = awful.util.getdir("config")
|
|||||||
local theme = {}
|
local theme = {}
|
||||||
|
|
||||||
theme.font = "Noto Sans 12"
|
theme.font = "Noto Sans 12"
|
||||||
|
theme.mono_font = "Source Code Pro 11"
|
||||||
|
|
||||||
theme.bg_normal = "#222222"
|
theme.bg_normal = "#222222"
|
||||||
theme.bg_focus = "#282828"
|
theme.bg_focus = "#282828"
|
||||||
|
Loading…
Reference in New Issue
Block a user