Cosmetic changes

This commit is contained in:
Thomas Avé 2023-05-20 22:42:21 +02:00
parent c1c25b4b79
commit a783ea9627
3 changed files with 3 additions and 61 deletions

View File

@ -21,7 +21,7 @@ font:
colors:
# Default colors
primary:
background: '#000020'
background: '#000010'
foreground: '#F8F8F2'
normal:

View File

@ -48,7 +48,7 @@ local updates_indicator = wibox.widget{
widget = wibox.container.background
}
local frequency_widget = wibox.widget{
local frequency_widget = wibox.widget {
layout = wibox.layout.fixed.horizontal,
awful.widget.watch('bash -c "/usr/bin/cat /proc/cpuinfo | grep MHz | cut -b 12- | sort -r | head -n 1 | xargs printf \'%f / 1000\n\' | bc -l | awk \'{printf \\"%.2f\\n\\", $0}\'"', 1),
wibox.widget.textbox('GHz')
@ -84,11 +84,6 @@ local current_layout_box = wibox.widget {
layout = wibox.layout.fixed.horizontal
}
local task_lists = {}
local current_task_list = wibox.widget {
layout = wibox.layout.fixed.horizontal
}
-- ===================================================================
-- Bar Creation
-- ===================================================================
@ -100,7 +95,7 @@ top_panel.create = function(s)
ontop = true,
height = beautiful.top_panel_height,
width = s.geometry.width,
bg = theme.bg_normal .. "99"
bg = "#12151cbb"
})
for t in screen do

View File

@ -48,15 +48,7 @@ function rules.create(clientkeys, clientbuttons)
-- Floating clients.
{
rule_any = {
instance = {
"DTA",
"copyq",
},
class = {
"Nm-connection-editor"
},
name = {
"Event Tester",
"Steam Guard - Computer Authorization Required"
},
role = {
@ -69,56 +61,11 @@ function rules.create(clientkeys, clientbuttons)
}, properties = {floating = true}
},
-- Fullscreen clients
{
rule_any = {
class = {
"Terraria.bin.x86",
},
}, properties = {fullscreen = true}
},
-- "Switch to tag"
-- These clients make you switch to their tag when they appear
{
rule_any = {
class = {
"Firefox"
},
}, properties = {switchtotag = true}
},
-- Visualizer
{
rule_any = {name = {"cava"}},
properties = {
floating = true,
maximized_horizontal = true,
sticky = true,
ontop = false,
skip_taskbar = true,
below = true,
focusable = false,
height = screen_height * 0.40,
opacity = 0.6
},
callback = function (c)
decorations.hide(c)
awful.placement.bottom(c)
end
},
-- File chooser dialog
{
rule_any = {role = {"GtkFileChooserDialog"}},
properties = {floating = true, width = screen_width * 0.55, height = screen_height * 0.65}
},
-- Pavucontrol & Bluetooth Devices
{
rule_any = {class = {"Pavucontrol"}, name = {"Bluetooth Devices"}},
properties = {floating = true, width = screen_width * 0.55, height = screen_height * 0.45}
},
}
end