From a14518651a3159ddb3478e1e09fef97b0b0a6a16 Mon Sep 17 00:00:00 2001 From: anemofilia Date: Sun, 27 Aug 2023 20:22:46 -0300 Subject: [PATCH] style: remove commented code from awesome's anemofilia theme --- files/awesome/themes/anemofilia/theme.lua | 56 ++++------------------- 1 file changed, 9 insertions(+), 47 deletions(-) diff --git a/files/awesome/themes/anemofilia/theme.lua b/files/awesome/themes/anemofilia/theme.lua index 7239bae..b6cf648 100644 --- a/files/awesome/themes/anemofilia/theme.lua +++ b/files/awesome/themes/anemofilia/theme.lua @@ -14,18 +14,16 @@ local themes_path = require("gears.filesystem").get_dir("config").."/themes/" local rnotification = require("ruled.notification") local dpi = require("beautiful.xresources").apply_dpi --- {{{ Main +-- Main local theme = {} theme.dir = themes_path .. "anemofilia" theme.wallpaper = theme.dir .. "/anemofilia-background.png" --- }}} --- {{{ Styles +-- Styles theme.font = "Meslo LG M DZ 9" theme.notification_font = theme.font --- }}} --- {{{ Colors +-- Colors theme.fg_normal = "#DDDDDD" theme.fg_focus = "#8581E0" theme.fg_urgent = "#DCE081" @@ -34,10 +32,8 @@ theme.bg_focus = "#313131" theme.bg_urgent = "#1A1A1A" theme.bg_systray = theme.bg_normal theme.tasklist_bg_focus = theme.bg_normal --- }}} -- Tasklist ---theme.tasklist_plain_task_name = true theme.tasklist_disable_icon = true -- {{{ Borders @@ -46,14 +42,12 @@ theme.border_width = dpi(1) theme.border_color_normal = "#3F3F3F" theme.border_color_active = "#8581E0" theme.border_color_marked = "#CC9393" --- }}} --- {{{ Titlebars +-- Titlebars theme.titlebar_bg_focus = "#3F3F3F" theme.titlebar_bg_normal = "#3F3F3F" --- }}} --- {{{ Wibox icons +-- Wibox icons theme.widget_ac = theme.dir .. "/icons/ac.png" theme.widget_battery_100 = theme.dir .. "/icons/battery_100.png" theme.widget_battery_80 = theme.dir .. "/icons/battery_80.png" @@ -72,49 +66,19 @@ theme.titlebar_bg_normal = "#3F3F3F" theme.widget_vol_low = theme.dir .. "/icons/vol_low.png" theme.widget_vol_no = theme.dir .. "/icons/vol_no.png" theme.widget_vol_mute = theme.dir .. "/icons/vol_mute.png" --- }}} --- There are other variable sets --- overriding the default one when --- defined, the sets are: --- [taglist|tasklist]_[bg|fg]_[focus|urgent|occupied|empty|volatile] --- titlebar_[normal|focus] --- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] --- Example: ---theme.taglist_bg_focus = "#CC9393" --- }}} - --- {{{ Widgets --- You can add as many variables as --- you wish and access them by using --- beautiful.variable in your rc.lua --- theme.fg_widget = "#AECF96" --- theme.fg_center_widget = "#88A175" --- theme.fg_end_widget = "#FF5656" --- theme.bg_widget = "#494B4F" --- theme.border_widget = "#FF8800" --- }}} - --- {{{ Menu --- Variables set for theming the menu: --- menu_[bg|fg]_[normal|focus] --- menu_[border_color|border_width] +-- Menu theme.menu_height = dpi(20) theme.menu_width = dpi(140) --- }}} --- {{{ Icons --- {{{ Taglist +-- Taglist theme.taglist_squares_sel = theme.dir .. "/taglist/square_sel.png" theme.taglist_squares_unsel = theme.dir .. "/taglist/square_unsel.png" ---theme.taglist_squares_resize = "false" --- }}} --- {{{ Misc +-- Misc theme.awesome_icon = theme.dir .. "/awesome-icon.png" --- }}} --- {{{ Layout +-- Layout theme.layout_tile = theme.dir .. "/layouts/tile.png" theme.layout_tileleft = theme.dir .. "/layouts/tileleft.png" theme.layout_tilebottom = theme.dir .. "/layouts/tilebottom.png" @@ -139,5 +103,3 @@ rnotification.connect_signal('request::rules', function() end) return theme - --- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80