diff --git a/config.lua b/config.lua index 50146fc..c3ba421 100644 --- a/config.lua +++ b/config.lua @@ -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 diff --git a/theme.lua b/theme.lua index e16abe4..109bd31 100644 --- a/theme.lua +++ b/theme.lua @@ -17,6 +17,7 @@ local simple_awesome_path = awful.util.getdir("config") local theme = {} theme.font = "Noto Sans 12" +theme.mono_font = "Source Code Pro 11" theme.bg_normal = "#222222" theme.bg_focus = "#282828"