Update 04.11.2022

This commit is contained in:
Kristofers Solo
2022-11-04 11:19:21 +02:00
parent 0a55d63767
commit 6b9ad55a1b
12 changed files with 51 additions and 42 deletions

View File

@@ -1,5 +1,4 @@
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Import additional configuration files
#
# Imports are loaded in order, skipping all missing files, with the importing
@@ -98,7 +97,8 @@ window:
#
# Override the variant of the GTK theme. Commonly supported values are `dark`
# and `light`. Set this to `None` to use the default theme variant.
gtk_theme_variant: dark
# gtk_theme_variant: dark
decorations_theme_variant: dark
scrolling:
# Maximum number of lines in the scrollback buffer.
@@ -177,7 +177,7 @@ font:
#
# Thin strokes are suitable for retina displays, but for non-retina screens
# it is recommended to set `use_thin_strokes` to `false`.
use_thin_strokes: false
# use_thin_strokes: false
# If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: true
@@ -186,8 +186,8 @@ draw_bold_text_with_bright_colors: true
colors:
# Default colors
primary:
background: "#282a36"
foreground: "#f8f8f2"
background: '#282a36'
foreground: '#f8f8f2'
# Bright and dim foreground colors
#
@@ -195,8 +195,8 @@ colors:
# present. If the bright foreground color is not set, or
# `draw_bold_text_with_bright_colors` is `false`, the normal foreground
# color will be used.
dim_foreground: "#828482"
bright_foreground: "#ffffff"
dim_foreground: '#828482'
bright_foreground: '#ffffff'
# Cursor colors
#
@@ -225,15 +225,15 @@ colors:
# Allowed values are CellForeground/CellBackground, whichq reference the
# affected cell, or hexadecimal colors like #ff00ff.
matches:
foreground: '#44475a'
background: '#50fa7b'
foreground: '#44475a'
background: '#50fa7b'
focused_match:
foreground: '#44475a'
background: '#ffb86c'
foreground: '#44475a'
background: '#ffb86c'
bar:
background: "#282a36"
foreground: "#f8f8f2"
footer_bar:
background: '#282a36'
foreground: '#f8f8f2'
# Keyboard regex hints
hints:
@@ -242,16 +242,16 @@ colors:
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
start:
foreground: "#282a36"
background: "#f1fa8c"
foreground: '#282a36'
background: '#f1fa8c'
# All characters after the first one in the hint label
#
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
end:
foreground: "#f1fa8c"
background: "#282a36"
foreground: '#f1fa8c'
background: '#282a36'
# Line indicator
#
@@ -307,7 +307,7 @@ colors:
# blue: "#707fd0"
# magenta: "#c583d0"
# cyan: "#8adaf1"
# white: "#e0e3e7"
# white: "#e0e3e7"
# Indexed Colors
#

View File

@@ -4,15 +4,15 @@ pcall(require, "luarocks.loader")
-- Awesome Wm Widgets
local batteryarc_widget = require("awesome-wm-widgets.batteryarc-widget.batteryarc")
local brightness_widget = require("awesome-wm-widgets.brightness-widget.brightness")
local calendar_widget = require("awesome-wm-widgets.calendar-widget.calendar")
local cpu_widget = require("awesome-wm-widgets.cpu-widget.cpu-widget")
local brightness_widget = require("awesome-wm-widgets.brightness-widget.brightness")
local spotify_widget = require("awesome-wm-widgets.spotify-widget.spotify")
local spotify_shell = require("awesome-wm-widgets.spotify-shell.spotify-shell")
local volume_widget = require("awesome-wm-widgets.volume-widget.volume")
local calendar_widget = require("awesome-wm-widgets.calendar-widget.calendar")
local logout_menu_widget = require("awesome-wm-widgets.logout-menu-widget.logout-menu")
local net_speed_widget = require("awesome-wm-widgets.net-speed-widget.net-speed")
local ram_widget = require("awesome-wm-widgets.ram-widget.ram-widget")
local spotify_shell = require("awesome-wm-widgets.spotify-shell.spotify-shell")
local spotify_widget = require("awesome-wm-widgets.spotify-widget.spotify")
local volume_widget = require("awesome-wm-widgets.volume-widget.volume")
local weather_widget = require("awesome-wm-widgets.weather-widget.weather")
-- Standard awesome library
@@ -323,23 +323,36 @@ awful.screen.connect_for_each_screen(function(s)
show_tooltip = true,
timeout = 1,
}),
weather_widget({
coordinates = { latitude, longitude },
api_key = API,
font_name = "JetBrainsMono NF 10",
both_units_widget = false,
units = "metric",
show_hourly_forecase = true,
time_format_12h = false,
show_daily_forecast = true,
icon_pack_name = "weather-underground-icon",
icons_extension = ".png",
timeout = 120,
}),
batteryarc_widget({
font = "JetBrainsMono NF 10",
--font = "JetBrainsMono NF 10",
arc_thickness = 2,
show_current_level = true,
size = 32,
timeout = 1,
main_color = beautiful.fg_color,
main_color = beautiful.fg_normal,
bg_color = "#ffffff11",
low_level_color = "#e53935",
medium_level_color = "#c0ca33",
charging_color = "#43a047",
warning_mdg_title = "Huston, we have a problem",
warning_msg_title = "Huston, we have a problem",
warning_msg_text = "Battery is dying",
warning_msg_possition = "top_right",
warning_msg_position = "top_right",
enable_battery_warning = true,
show_notification_mode = "on_hover",
Notification_position = "top_right",
show_battery_mode = "on_hover",
notification_position = "top_right",
}),
brightness_widget({
type = "arc",
@@ -347,10 +360,9 @@ awful.screen.connect_for_each_screen(function(s)
step = 1,
base = 60,
font = "JetBrainsMono NF 10",
tooltip = true,
timeout = 1,
tooltip = true,
percentage = true,
percentage = false,
}),
volume_widget({
mixer_cmd = "pulsemixer",
@@ -381,12 +393,6 @@ awful.screen.connect_for_each_screen(function(s)
awful.spawn.with_shell("systemctl poweroff")
end,
}),
weather_widget({
api_key = API,
coordinates = { latitude, longitude },
show_hourly_forecst = true,
show_daily_forecast = true,
}),
mytextclock,
s.mylayoutbox,
},
@@ -415,13 +421,13 @@ local globalkeys = gears.table.join(
end), -- decrease brightness
awful.key({}, "#123", function()
volume_widget:inc(5)
awful.spawn.with_shell("pulsemixer --change-volume +2")
end), -- increase volume
awful.key({}, "#122", function()
volume_widget:dec(5)
awful.spawn.with_shell("pulsemixer --change-volume -2")
end), -- decrease volume
awful.key({}, "#121", function()
volume_widget:toggle()
awful.spawn.with_shell("pulsemixer --toggle-mute")
end), -- mute
awful.key({}, "#172", function()
@@ -679,6 +685,7 @@ awful.rules.rules = {
"veromix",
"xtightvncviewer",
"Nsxiv",
"Galculator",
},
-- Note that the name property shown in xprop might be set slightly after creation of the client
@@ -708,6 +715,7 @@ awful.rules.rules = {
},
{ rule_any = { class = { "Spotify" } }, properties = { screen = 1, tag = "9" } },
{ rule_any = { class = { "mpv" } }, properties = { fullscreen = true } },
{ rule_any = { class = { "steam_289070" } }, properties = { floating = true, fullscreen = true } },
-- Set Firefox to always map on the tag named "2" on screen 1.
-- { rule = { class = "Firefox" },