From fb12170c90db61431f8114a7358e9b025dc247e0 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 10 Feb 2021 12:50:54 -0600 Subject: [PATCH] Bling and tags --- awesome/init.fnl | 10 +++++++--- awesome/rules.fnl | 20 ++++++++++---------- awesome/theme.lua | 28 +++++++++++++++++++++++----- qutebrowser/autoconfig.yml | 2 ++ 4 files changed, 42 insertions(+), 18 deletions(-) diff --git a/awesome/init.fnl b/awesome/init.fnl index 55104e4..ce7eb9c 100644 --- a/awesome/init.fnl +++ b/awesome/init.fnl @@ -77,9 +77,9 @@ ;; Table of layouts to cover with awful.layout.inc, order matters. (set awful.layout.layouts [ + bling.layout.mstab awful.layout.suit.tile bling.layout.centered - bling.layout.mstab awful.layout.suit.floating ;; awful.layout.suit.tile.left ;; awful.layout.suit.tile.bottom @@ -151,8 +151,8 @@ (awful.screen.connect_for_each_screen (fn [s] - ;; Each screen has its own tag table. - (awful.tag [ "  " "  " "  " "  " ] s (. awful.layout.layouts 1)) + ;; Each screen has its own tag table. + (awful.tag [ "  " "  " "  " "  " ] s (. awful.layout.layouts 1)) ;; Make buffers on all sides so that tiled clients aren't pushed to edges (set s.padding (dpi 10)) @@ -173,6 +173,9 @@ :screen s :filter awful.widget.taglist.filter.all :buttons taglist_buttons + :style { + :bg_focus beautiful.bg_focus + } })) ;; Create a tasklist widget @@ -184,6 +187,7 @@ :border_width 0 :shape gears.shape.rounded_bar :bg_focus beautiful.bg_normal + :fg_focus beautiful.fg_normal } :layout { :spacing (dpi 20) diff --git a/awesome/rules.fnl b/awesome/rules.fnl index d00d54a..babab78 100644 --- a/awesome/rules.fnl +++ b/awesome/rules.fnl @@ -74,16 +74,16 @@ } } ;; Tell qb to open primarily on the secondary monitor - { - :rule_any { - :class [ - "qutebrowser" - ] - } - :properties { - :screen (screen.count) - } - } + ;; { + ;; :rule_any { + ;; :class [ + ;; "qutebrowser" + ;; ] + ;; } + ;; :properties { + ;; :screen (screen.count) + ;; } + ;; } ;; floating windows { :rule_any { diff --git a/awesome/theme.lua b/awesome/theme.lua index 621a3c4..e7eeca5 100644 --- a/awesome/theme.lua +++ b/awesome/theme.lua @@ -17,27 +17,45 @@ theme.font = "VictorMono Nerd Font SemiBold 10" -- COLORS -- Try to build a theme off of SNAZZY -theme.bg_normal = "#282a36" -theme.bg_light = "#34353e" -theme.bg_focus = "#43454f" +theme.base00 = "#282a36" +theme.base01 = "#34353e" +theme.base02 = "#43454f" +theme.base03 = "#78787e" +theme.base04 = "#a5a5a9" +theme.base05 = "#e2e4e5" +theme.base06 = "#eff0eb" +theme.base07 = "#f1f1f0" +theme.base08 = "#ff5c57" +theme.base09 = "#ff9f43" +theme.base0A = "#f3f99d" +theme.base0B = "#5af78e" +theme.base0C = "#9aedfe" +theme.base0D = "#57c7ff" +theme.base0E = "#ff6ac1" +theme.base0F = "#b2643c" + +theme.bg_normal = theme.base00 +theme.bg_light = theme.base01 +theme.bg_focus = theme.base0D -- Base02 theme.bg_minimize = "#78787e" theme.bg_urgent = "#ff5c57" theme.bg_systray = theme.bg_normal theme.fg_normal = "#a5a5a9" -theme.fg_focus = "#e2e4e5" +theme.fg_focus = theme.base02 theme.fg_urgent = "#e2e4e5" theme.fg_minimize = "#e2e4e5" theme.red = "#ff5c57" -theme.useless_gap = dpi(6) +theme.useless_gap = dpi(9) theme.border_width = dpi(0) theme.transparent = "#00000000" theme.border_normal = "#00000000" theme.border_focus = "#00000000" theme.border_marked = "#00000000" +theme.master_width_factor = 0.65 -- There are other variable sets -- overriding the default one when -- defined, the sets are: diff --git a/qutebrowser/autoconfig.yml b/qutebrowser/autoconfig.yml index 8102f6b..9117204 100644 --- a/qutebrowser/autoconfig.yml +++ b/qutebrowser/autoconfig.yml @@ -6,6 +6,8 @@ config_version: 2 settings: + content.geolocation: + https://openweathermap.org: false content.notifications: https://jelly.cochrun.xyz: true https://www.reddit.com: false