Skip to content

Commit

Permalink
Picom, wallpaper and wezterm tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexvZyl committed Sep 30, 2024
1 parent c4fd1e5 commit 9b868b8
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 5 deletions.
27 changes: 25 additions & 2 deletions .config/picom/picom.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Example config: https://github.com/yshui/picom/blob/next/picom.sample.conf


# Shadows.


Expand Down Expand Up @@ -85,16 +84,19 @@ glx-no-stencil = true;
glx-no-rebind-pixmap = false;
use-damage = false;
log-level = "warn";

# Window specific settings.

wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
dock = { shadow = true; clip-shadow-above = true; }
dnd = { shadow = false; }
popup_menu = { opacity = 1; }
dropdown_menu = { opacity = 1; }
i3lock = { fade-exclude = true }
};


# Animations.


Expand Down Expand Up @@ -129,3 +131,24 @@ animations = (
duration = 0.25;
}
)

# Specific rules.

rules = (
{
match = "class_g='i3lock'";
animations = ({
triggers = [ "open", "show", "close", "hide", "geometry" ];
suppressions = [ "open", "show", "close", "hide", "geometry" ];
});
fade=true;
},
{
match = "class_g='i3bar'";
fade = false;
blur-background = false;
shadow = false;
opacity = 1.0;
},
);

6 changes: 5 additions & 1 deletion .config/wezterm/wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ config.animation_fps = 75
--config.cursor_blink_ease_out = 'Constant'

-- config.window_background_opacity = 0.96
config.window_background_opacity = 1
config.window_background_opacity = 0.9
config.use_resize_increments = true

config.font_size = 11.5
Expand Down Expand Up @@ -75,6 +75,10 @@ config.colors.cursor_bg = config.colors.foreground
config.colors.cursor_border = config.colors.foreground
config.colors.split = config.colors.foreground

config.underline_thickness = 1
config.anti_alias_custom_block_glyphs = true
config.custom_block_glyphs = true

local gpus = wezterm.gui.enumerate_gpus()
config.webgpu_preferred_adapter = gpus[1]
config.front_end = 'OpenGL'
Expand Down
2 changes: 1 addition & 1 deletion .password-store
3 changes: 2 additions & 1 deletion .scripts/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
# Core components (order is important!)
(
~/.scripts/screenlayout/box_double_monitor.sh
feh --bg-fill ~/.wallpapers/stay_by_aenami_dbnb1k3.png
# feh --bg-fill ~/.wallpapers/stay_by_aenami_dbnb1k3.png
feh --bg-fill ~/.wallpapers/Gruvbox_Forest_Mountain.png
picom -b
~/.config/polybar/launch.sh
nice -n 19 betterlockscreen -u "$HOME/.wallpapers/Gruvbox_Forest_Mountain.png" --display 1 &
Expand Down

0 comments on commit 9b868b8

Please sign in to comment.