Colors and misc changes

This commit is contained in:
2022-04-15 19:49:41 +03:00
parent e79737d155
commit 23e2590874
6 changed files with 15 additions and 16 deletions

View File

@@ -37,7 +37,7 @@ colors:
green: "#1fe0a7" green: "#1fe0a7"
yellow: "#ffb731" yellow: "#ffb731"
blue: "#33aefe" blue: "#33aefe"
magenta: "#b567f9" magenta: "#b054ff"
cyan: "#2acafc" cyan: "#2acafc"
white: "#b3b6bd" white: "#b3b6bd"
bright: bright:
@@ -45,7 +45,7 @@ colors:
red: "#f765a4" red: "#f765a4"
green: "#29edbf" green: "#29edbf"
yellow: "#fec458" yellow: "#fec458"
blue: "#33aefe" blue: "#34c2f9"
magenta: "#b567f9" magenta: "#b567f9"
cyan: "#2be3fd" cyan: "#2be3fd"
white: "#ecf2f2" white: "#ecf2f2"

View File

@@ -1,5 +1,6 @@
local awful = require("awful") local awful = require("awful")
require "screen.wibar" require "screen.wibar"
require "functions"
awful.screen.connect_for_each_screen( awful.screen.connect_for_each_screen(
function(s) function(s)

View File

@@ -27,9 +27,9 @@ theme.fg_urgent = "#ffffff"
theme.fg_minimize = "#ffffff" theme.fg_minimize = "#ffffff"
theme.taglist_bg_empty = theme.bg_normal theme.taglist_bg_empty = theme.bg_normal
theme.taglist_bg_occupied = "#ffffff1a" theme.taglist_bg_occupied = theme.bg_focus
theme.taglist_bg_urgent = "#e91e6399" theme.taglist_bg_urgent = "#e91e6399"
theme.taglist_bg_focus = theme.bg_focus theme.taglist_bg_focus = "#ffffff1a"
theme.tasklist_bg_normal = theme.bg_normal theme.tasklist_bg_normal = theme.bg_normal
theme.tasklist_bg_focus = theme.bg_focus theme.tasklist_bg_focus = theme.bg_focus

View File

@@ -1,7 +1,6 @@
local gears = require("gears") local gears = require("gears")
local beautiful = require("beautiful") local beautiful = require("beautiful")
local awful = require("awful") local awful = require("awful")
local wibox = require("wibox")
function set_wallpaper(s) function set_wallpaper(s)
if beautiful.wallpaper then if beautiful.wallpaper then
@@ -19,7 +18,7 @@ local function set_transparency(t)
-- Integer 0.xx/1.00 -- Integer 0.xx/1.00
awful.spawn("sed -i 's/opacity: [0-9]*.[0-9]*/opacity: " .. t/100 .. "/g' /home/nick/.config/alacritty/alacritty.yml", false) awful.spawn("sed -i 's/opacity: [0-9]*.[0-9]*/opacity: " .. t/100 .. "/g' /home/nick/.config/alacritty/alacritty.yml", false)
-- Binary xx/255 -- Binary xx/255
awful.spawn("sed -i 's/\"glassit.alpha\": [0-9]*/\"glassit.alpha\": " .. math.floor((t/100)*255 + 0.5) .. "/g' /home/nick/.config/Code/User/settings.json", false) -- awful.spawn("sed -i 's/\"glassit.alpha\": [0-9]*/\"glassit.alpha\": " .. math.floor((t/100)*255 + 0.5) .. "/g' /home/nick/.config/Code/User/settings.json", false)
end end
local theme = "abstract_office" local theme = "abstract_office"
@@ -45,7 +44,7 @@ if theme == "nordic_legion" then
elseif theme == "abstract_office" then elseif theme == "abstract_office" then
beautiful.init(gears.filesystem.get_configuration_dir() .. "theme/abstract_office/theme.lua") beautiful.init(gears.filesystem.get_configuration_dir() .. "theme/abstract_office/theme.lua")
beautiful.wallpaper = "/home/nick/Pictures/wallpapers/abstract_office/Cage.jpg" beautiful.wallpaper = "/home/nick/Pictures/wallpapers/abstract_office/Square.jpg"
-- Configure Glava -- Configure Glava
awful.spawn("sed -i 's/#request mod .*/#request mod bars/g' /home/nick/.config/glava/rc.glsl", false) awful.spawn("sed -i 's/#request mod .*/#request mod bars/g' /home/nick/.config/glava/rc.glsl", false)

View File

@@ -21,23 +21,20 @@ theme.bg_focus = "#535d6c"
theme.bg_urgent = "#ff0000" theme.bg_urgent = "#ff0000"
theme.bg_minimize = "#444444" theme.bg_minimize = "#444444"
theme.tasklist_bg_normal = theme.bg_normal
theme.tasklist_bg_focus = "#4c566a"
theme.tasklist_bg_urgent = "#bf616a"
theme.tasklist_bg_minimize = "#5e81ac"
theme.fg_normal = "#ffffff" theme.fg_normal = "#ffffff"
theme.fg_focus = "#ffffff" theme.fg_focus = "#ffffff"
theme.fg_urgent = "#ffffff" theme.fg_urgent = "#ffffff"
theme.fg_minimize = "#ffffff" theme.fg_minimize = "#ffffff"
theme.tasklist_bg_normal = theme.bg_normal
theme.tasklist_bg_focus = "#4c566a"
theme.tasklist_bg_urgent = "#bf616a"
theme.tasklist_bg_minimize = "#5e81ac"
theme.useless_gap = dpi(7) theme.useless_gap = dpi(7)
theme.gap_single_client = true theme.gap_single_client = true
theme.border_width = dpi(1) theme.border_width = dpi(0)
theme.border_normal = "#000000"
theme.border_focus = "#535d6c"
theme.border_marked = "#91231c"
theme.corner_radius = dpi(10) theme.corner_radius = dpi(10)
theme.transparency = 95 theme.transparency = 95

View File

@@ -41,6 +41,8 @@ blur-strength = 10;
opacity-rule = [ opacity-rule = [
"85:class_g = 'thunar'", "85:class_g = 'thunar'",
"85:class_g = 'Thunar'", "85:class_g = 'Thunar'",
"85:class_g = 'Rofi'",
"85:class_g = 'Spotify'",
"70:name = 'GLava'", "70:name = 'GLava'",
]; ];