a lot of stuff
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
-- ╚██████╗██║ ██║ ██║ ███████╗██║██║ ██║ --
|
||||
-- ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝╚═╝╚═╝ ╚═╝ --
|
||||
--------------------------------------------------
|
||||
local awful = require("awful")
|
||||
local beautiful = require("beautiful")
|
||||
local gears = require("gears")
|
||||
|
||||
@@ -14,9 +13,6 @@ local capi = {
|
||||
screen = screen,
|
||||
}
|
||||
|
||||
require("src.theme.user_config")
|
||||
require("src.theme.theme_config")
|
||||
|
||||
Theme_path = gears.filesystem.get_configuration_dir() .. "/src/theme/"
|
||||
Theme = {}
|
||||
|
||||
@@ -53,9 +49,6 @@ Theme.hotkeys_label_bg = Theme_config.hotkeys.label_bg
|
||||
Theme.hotkeys_label_fg = Theme_config.hotkeys.label_fg
|
||||
--#endregion
|
||||
|
||||
Theme.awesome_icon = Theme_path .. "../assets/icons/ArchLogo.png"
|
||||
Theme.awesome_subicon = Theme_path .. "../assets/icons/ArchLogo.png"
|
||||
|
||||
-- Wallpaper
|
||||
beautiful.wallpaper = User_config.wallpaper
|
||||
capi.screen.connect_signal(
|
||||
|
||||
@@ -93,7 +93,10 @@ Theme_config.kblayout = {
|
||||
|
||||
Theme_config.layout_list = {
|
||||
bg = color["LightBlue200"],
|
||||
fg = color["Grey900"]
|
||||
fg = color["Grey900"],
|
||||
shape = function(cr, width, height)
|
||||
gshape.rounded_rect(cr, width, height, dpi(6))
|
||||
end
|
||||
}
|
||||
|
||||
Theme_config.network = {
|
||||
@@ -672,6 +675,73 @@ Theme_config.context_menu = {
|
||||
icon_color_hover = color["Teal200"]
|
||||
}
|
||||
}
|
||||
|
||||
Theme_config.setup = {
|
||||
bg = color["Grey900"],
|
||||
border_color = color["Grey800"],
|
||||
border_width = dpi(4),
|
||||
wallpaper = {
|
||||
bg = color["Grey900"],
|
||||
fg = color["Grey100"],
|
||||
clip_shape = function(cr, width, height)
|
||||
gshape.rounded_rect(cr, width, height, dpi(12))
|
||||
end,
|
||||
button_bg = color["Yellow200"],
|
||||
button_fg = color["Grey900"],
|
||||
button_shape = function(cr, width, height)
|
||||
gshape.rounded_rect(cr, width, height, dpi(12))
|
||||
end,
|
||||
close_fg = color["Red200"],
|
||||
path_bg = color["Grey800"],
|
||||
path_fg = color["Grey100"],
|
||||
path_border_color = color["Grey700"],
|
||||
path_border_width = dpi(2),
|
||||
path_shape = function(cr, width, height)
|
||||
gshape.rounded_rect(cr, width, height, dpi(12))
|
||||
end,
|
||||
},
|
||||
bar = {
|
||||
shape = gshape.circle,
|
||||
color = color["Green200"],
|
||||
padding = dpi(4),
|
||||
border_width = dpi(2),
|
||||
border_color = color["Grey800"],
|
||||
widget_bg = color["Grey800"],
|
||||
widget_fg = color["Grey100"],
|
||||
widget_border_color = color["Grey700"],
|
||||
widget_border_width = dpi(2),
|
||||
widget_shape = function(cr, width, height)
|
||||
gshape.rounded_rect(cr, width, height, dpi(8))
|
||||
end,
|
||||
widget_toggle_color = color["Blue200"],
|
||||
bar_shape = function(cr, width, height)
|
||||
gshape.rounded_rect(cr, width, height, dpi(8))
|
||||
end,
|
||||
bar_image_shape = function(cr, width, height)
|
||||
gshape.rounded_rect(cr, width, height, dpi(4))
|
||||
end,
|
||||
},
|
||||
notification = {
|
||||
separator_color = color["Grey800"],
|
||||
checkbox_color = color["Purple200"],
|
||||
checkbox_paddings = dpi(4),
|
||||
checkbox_shape = gshape.circle,
|
||||
border_color = color["Grey800"],
|
||||
border_width = dpi(2),
|
||||
shape = function(cr, width, height)
|
||||
gshape.rounded_rect(cr, width, height, dpi(4))
|
||||
end,
|
||||
},
|
||||
layout = {
|
||||
bg = color["Orange200"],
|
||||
border_color = color["Grey800"],
|
||||
border_width = dpi(2),
|
||||
shape = function(cr, width, height)
|
||||
gshape.rounded_rect(cr, width, height, dpi(8))
|
||||
end,
|
||||
border_color_selected = color["DeepOrange200"]
|
||||
}
|
||||
}
|
||||
-- #endregion
|
||||
|
||||
--[[
|
||||
|
||||
@@ -18,11 +18,9 @@ User_config = {
|
||||
]] --
|
||||
autostart = {
|
||||
"picom",
|
||||
"xfce4-power-manager",
|
||||
"light-locker --lock-on-suspend --lock-on-lid &",
|
||||
"/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1",
|
||||
"setxkbmap -option caps:swapescape",
|
||||
"/home/crylia/.screenlayout/single.sh"
|
||||
"/home/crylia/.screenlayout/double.sh"
|
||||
},
|
||||
|
||||
--[[
|
||||
@@ -45,7 +43,7 @@ User_config = {
|
||||
"MEDIA_PLAYER"
|
||||
More information at: https://lazka.github.io/pgi-docs/UPowerGlib-1.0/enums.html#UPowerGlib.DeviceKind.KEYBOARD
|
||||
]] --
|
||||
battery_kind = "BATTERY",
|
||||
battery_kind = "LINE_POWER",
|
||||
|
||||
--[[
|
||||
If your battery is not found you can specify its path here.
|
||||
@@ -208,8 +206,6 @@ User_config = {
|
||||
"volume",
|
||||
"gpu_temp",
|
||||
"gpu_usage",
|
||||
"battery",
|
||||
"backlight"
|
||||
},
|
||||
|
||||
--[[
|
||||
@@ -267,7 +263,7 @@ User_config = {
|
||||
unit = "metric"
|
||||
},
|
||||
|
||||
web_browser = "brave-browser",
|
||||
web_browser = "firefox",
|
||||
|
||||
--[[
|
||||
You can configure your bar's here, if you leave it empty the bar will not be shown.
|
||||
@@ -305,16 +301,36 @@ User_config = {
|
||||
"Tasklist"
|
||||
},
|
||||
right_bar = {
|
||||
"Battery",
|
||||
"Network",
|
||||
"Bluetooth",
|
||||
"Cpu Frequency",
|
||||
"Cpu Temperature",
|
||||
"Cpu Usage",
|
||||
"Audio",
|
||||
"Keyboard Layout",
|
||||
"Date",
|
||||
"Clock",
|
||||
"Power Button"
|
||||
}
|
||||
}
|
||||
},
|
||||
--[[ [2] = {
|
||||
left_bar = {
|
||||
"Tiling Layout",
|
||||
"Systray",
|
||||
"Taglist"
|
||||
},
|
||||
center_bar = {
|
||||
"Tasklist"
|
||||
},
|
||||
right_bar = {
|
||||
"Gpu Temperature",
|
||||
"Gpu Usage",
|
||||
"Ram",
|
||||
"Audio",
|
||||
"Keyboard Layout",
|
||||
"Date",
|
||||
"Clock",
|
||||
"Power Button"
|
||||
}
|
||||
}]]
|
||||
},
|
||||
|
||||
crylia_wibox = {
|
||||
|
||||
Reference in New Issue
Block a user