From a68789572585b71c91c4f00c7ad0aad11a34e39c Mon Sep 17 00:00:00 2001 From: Benjamin Kyd Date: Wed, 10 May 2023 23:37:09 +0100 Subject: [PATCH] ok this is kinda epic --- common/.config/awesome/ben/keymaps.lua | 4 +-- common/.config/awesome/config/picom.conf | 37 ++++++++---------------- common/.tmux.conf | 6 ++++ 3 files changed, 20 insertions(+), 27 deletions(-) diff --git a/common/.config/awesome/ben/keymaps.lua b/common/.config/awesome/ben/keymaps.lua index 6e6a980..21948e0 100644 --- a/common/.config/awesome/ben/keymaps.lua +++ b/common/.config/awesome/ben/keymaps.lua @@ -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"} diff --git a/common/.config/awesome/config/picom.conf b/common/.config/awesome/config/picom.conf index 35e779f..3806a0f 100644 --- a/common/.config/awesome/config/picom.conf +++ b/common/.config/awesome/config/picom.conf @@ -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'", ]; diff --git a/common/.tmux.conf b/common/.tmux.conf index 2daed09..497e948 100644 --- a/common/.tmux.conf +++ b/common/.tmux.conf @@ -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' +