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

View File

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

View File

@ -20,7 +20,7 @@ cat << 'eof'
/ /</ //<///<_/%\▓ V%W%£)XY _/%‾\_, GENIUS TO UNDERSTAND ITS SIMPLICITY / /</ //<///<_/%\▓ V%W%£)XY _/%‾\_, GENIUS TO UNDERSTAND ITS SIMPLICITY
/ / //%/_,=--^/%/%%\¾%¶%%} /%%%%%%;\, / / //%/_,=--^/%/%%\¾%¶%%} /%%%%%%;\,
%/< /_/ %%%%%;X%%\%%;, _/%%%;, \ %/< /_/ %%%%%;X%%\%%;, _/%%%;, \
/ / %%%%%%;, \%%l%%;// _/%;, dmr / / %%%%%%;, \%%l%%;// _/%;, 
/ %%%;, <;\-=-/ / / %%%;, <;\-=-/ /
;, l ;, l
eof eof

View File

@ -0,0 +1 @@
de34c941-1e73-4abd-8c9b-4cc7df8a34db

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.