This repository has been archived on 2021-04-06. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/home/.config/awesome/theme.lua

90 lines
3.1 KiB
Lua
Raw Normal View History

2019-02-16 17:37:01 +01:00
local theme_assets = require("beautiful.theme_assets")
local xresources = require("beautiful.xresources")
local dpi = xresources.apply_dpi
local gfs = require("gears.filesystem")
2019-02-19 19:39:33 +01:00
local layout_icons_path = gfs.get_configuration_dir() .. "icons/layouts/"
2019-02-16 17:37:01 +01:00
local spawn = require("awful.spawn")
local utils = require("../utils")
local theme = {}
theme.font = "Terminess Powerline 8"
theme.colors = {}
theme.colors.base03 = "#fdf6e3"
theme.colors.base02 = "#eee8d5"
theme.colors.base01 = "#93a1a1"
theme.colors.base00 = "#839496"
theme.colors.base0 = "#657b83"
theme.colors.base1 = "#586e75"
theme.colors.base2 = "#073642"
theme.colors.base3 = "#002b36"
theme.colors.yellow = "#b58900"
theme.colors.orange = "#cb4b16"
theme.colors.red = "#dc322f"
theme.colors.magenta = "#d33682"
theme.colors.violet = "#6c71c4"
theme.colors.blue = "#268bd2"
theme.colors.cyan = "#2aa198"
theme.colors.green = "#859900"
theme.bg_normal = theme.colors.base3
theme.bg_focus = theme.colors.base2
theme.bg_urgent = theme.colors.red
theme.bg_minimize = "#303030"
theme.bg_systray = theme.bg_normal
theme.fg_normal = theme.colors.base02
theme.fg_focus = theme.colors.base03
theme.fg_urgent = theme.colors.base3
theme.fg_minimize = "#ffffff"
theme.taglist_font = "IPAGothic 10"
2019-02-16 17:37:01 +01:00
theme.taglist_bg_focus = theme.colors.green
theme.useless_gap = dpi(0)
2019-02-17 01:43:27 +01:00
theme.border_width = 1
theme.border_normal = theme.colors.base3
theme.border_focus = theme.colors.base2
2019-02-16 17:37:01 +01:00
theme.tasklist_disable_icon = true
theme.hotkeys_font = "Iosevka sbruder Bold 10"
theme.hotkeys_description_font = "Iosevka sbruder 10"
theme.hotkeys_modifiers_fg = theme.fg_normal
theme.wallpaper = function(s)
if utils.file_exists(utils.home() .. ".fehbg") then
spawn({utils.home() .. ".fehbg"})
end
end
local taglist_square_size = dpi(4)
theme.taglist_squares_sel = theme_assets.taglist_squares_sel(
taglist_square_size, theme.fg_normal
)
theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel(
taglist_square_size, theme.fg_normal
)
2019-02-19 19:39:33 +01:00
theme.layout_fairh = layout_icons_path .. "fairh.png"
theme.layout_fairv = layout_icons_path .. "fairv.png"
theme.layout_floating = layout_icons_path .. "floating.png"
theme.layout_magnifier = layout_icons_path .. "magnifier.png"
theme.layout_max = layout_icons_path .. "max.png"
theme.layout_fullscreen = layout_icons_path .. "fullscreen.png"
theme.layout_tilebottom = layout_icons_path .. "tilebottom.png"
theme.layout_tileleft = layout_icons_path .. "tileleft.png"
theme.layout_tile = layout_icons_path .. "tile.png"
theme.layout_tiletop = layout_icons_path .. "tiletop.png"
theme.layout_spiral = layout_icons_path .. "spiral.png"
theme.layout_dwindle = layout_icons_path .. "dwindle.png"
theme.layout_cornernw = layout_icons_path .. "cornernw.png"
theme.layout_cornerne = layout_icons_path .. "cornerne.png"
theme.layout_cornersw = layout_icons_path .. "cornersw.png"
theme.layout_cornerse = layout_icons_path .. "cornerse.png"
2019-02-16 17:37:01 +01:00
return theme