From a783ea9627b87d21278914803e8292fb810b3966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Sat, 20 May 2023 22:42:21 +0200 Subject: [PATCH] Cosmetic changes --- alacritty/alacritty.yml | 2 +- awesome/components/pastel/top-panel.lua | 9 +---- awesome/rules.lua | 53 ------------------------- 3 files changed, 3 insertions(+), 61 deletions(-) diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml index d52309d..17423c9 100644 --- a/alacritty/alacritty.yml +++ b/alacritty/alacritty.yml @@ -21,7 +21,7 @@ font: colors: # Default colors primary: - background: '#000020' + background: '#000010' foreground: '#F8F8F2' normal: diff --git a/awesome/components/pastel/top-panel.lua b/awesome/components/pastel/top-panel.lua index ddcce8e..5348571 100644 --- a/awesome/components/pastel/top-panel.lua +++ b/awesome/components/pastel/top-panel.lua @@ -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 diff --git a/awesome/rules.lua b/awesome/rules.lua index c246c14..e516f6d 100644 --- a/awesome/rules.lua +++ b/awesome/rules.lua @@ -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