ok this is kinda epic

This commit is contained in:
Benjamin Kyd
2023-05-10 23:37:09 +01:00
parent 7e1d680128
commit a687895725
3 changed files with 20 additions and 27 deletions

View File

@@ -269,14 +269,14 @@ awful.keyboard.append_global_keybindings({
end),
awful.key({}, "XF86MonBrightnessUp",
function()
awful.spawn("xbacklight -inc 10", false)
awful.spawn("brightnessctl s +5%", false)
awesome.emit_signal("backlight_change")
end
-- {description = "brightness up", group = "hotkeys"}
),
awful.key({}, "XF86MonBrightnessDown",
function()
awful.spawn("xbacklight -dec 10", false)
awful.spawn("brightnessctl s 5%-", false)
awesome.emit_signal("backlight_change")
end
--{description = "brightness down", group = "hotkeys"}

View File

@@ -22,13 +22,8 @@ corner-radius = 0;
rounded-corners-exclude = [
#"window_type = 'normal'",
"class_g = 'awesome'",
"class_g = 'wezterm'",
"class_g = 'XTerm'",
"class_g = 'kitty'",
"class_g = 'Alacritty'",
"class_g = 'Polybar'",
"class_g = 'rofi'",
];
"class_g = 'org.wezfurlong.wezterm'",
];
round-borders = 0;
round-borders-exclude = [
#"class_g = 'TelegramDesktop'",
@@ -44,22 +39,22 @@ round-borders-exclude = [
# unless explicitly requested using the wintypes option.
#
# shadow = false
shadow = true;
shadow = false;
# The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12
shadow-radius = 7;
shadow-radius = 12;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
# shadow-opacity = .75
#shadow-opacity = .75
# The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15
shadow-offset-x = -7;
#shadow-offset-x = -150;
# The top offset for shadows, in pixels. (defaults to -15)
# shadow-offset-y = -15
shadow-offset-y = -7;
#shadow-offset-y = -15;
# Avoid drawing shadows on dock/panel windows. This option is deprecated,
# you should use the *wintypes* option in your config file instead.
@@ -97,15 +92,6 @@ shadow-offset-y = -7;
# shadow-exclude = "n:e:Notification";
#
# shadow-exclude = []
shadow-exclude = [
"name = 'Notification'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"class_g = 'slop'",
"class_g = 'Polybar'",
"_GTK_FRAME_EXTENTS@:c"
];
# Specify a X geometry that describes the region in which shadow should not
# be painted in, such as a dock window region. Use
@@ -163,7 +149,7 @@ inactive-opacity = 0.9;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0
frame-opacity = 0.7;
frame-opacity = 0.5;
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
# menu-opacity = 1.0
@@ -187,9 +173,7 @@ active-opacity = 1.0;
# Specify a list of conditions of windows that should always be considered focused.
# focus-exclude = []
focus-exclude = [
"class_g = 'Cairo-clock'",
"class_g = 'Bar'", # lemonbar
"class_g = 'slop'" # maim
"class_g = 'rofi'",
];
# Use fixed inactive dim value, instead of adjusting according to window opacity.
@@ -204,6 +188,9 @@ focus-exclude = [
#
# opacity-rule = []
opacity-rule = [
"85:class_g = 'org.wezfurlong.wezterm'",
"85:class_g = 'discord'",
"85:class_g = 'Spotify'",
];

View File

@@ -35,3 +35,9 @@ unbind %
set -g status-right ""
set -g status-style 'bg=#98C379 fg=#282C34'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @resurrect-strategy-nvim 'session'
run '~/.tmux/plugins/tpm/tpm'