new programs

This commit is contained in:
Reid 2025-12-31 20:02:21 -08:00
parent 382ad9052f
commit 2dee155b68
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
3 changed files with 13 additions and 15 deletions

View file

@ -7,7 +7,7 @@
hm.home.packages = with pkgs; [ hm.home.packages = with pkgs; [
# archives # archives
zip xz unrar unzip p7zip zstd zip xz unrar unzip p7zip zstd lrzip
# utils # utils
ffmpeg ripgrep ripgrep-all jq libqalculate imagemagick pandoc ffmpeg ripgrep ripgrep-all jq libqalculate imagemagick pandoc
# dev # dev

View file

@ -224,11 +224,8 @@ in {
clip-to-geometry = true; clip-to-geometry = true;
} }
{ {
matches = [ matches = [ { app-id = "^org\.wezfurlong\.wezterm$"; } ];
{ app-id = "^org\.wezfurlong\.wezterm$"; } shadow.draw-behind-window = false; # transparent bg
];
# see earlier shadow config; this is here because it's a transparent window, special case
shadow.draw-behind-window = false;
} }
{ {
matches = [ matches = [
@ -318,7 +315,10 @@ in {
# also for some reason int literals aren't accepted # also for some reason int literals aren't accepted
# so multiply by 1.0 to make it a float # so multiply by 1.0 to make it a float
{ {
matches = [ { namespace = "^rofi$"; } ]; matches = [
{ namespace = "^rofi$"; }
{ namespace = "^waybar$"; }
];
geometry-corner-radius = allCorners (config.modules.desktop.fonts.fonts.monospace.size * 1.0); # its 1em, so geometry-corner-radius = allCorners (config.modules.desktop.fonts.fonts.monospace.size * 1.0); # its 1em, so
} }
{ {
@ -329,10 +329,6 @@ in {
matches = [ { namespace = "^notifications$"; } ]; matches = [ { namespace = "^notifications$"; } ];
geometry-corner-radius = allCorners (config.hm.services.dunst.settings.global.corner_radius * 1.0); geometry-corner-radius = allCorners (config.hm.services.dunst.settings.global.corner_radius * 1.0);
} }
{
matches = [ { namespace = "^waybar$"; } ];
geometry-corner-radius = allCorners (config.modules.desktop.fonts.fonts.monospace.size * 1.0); # its 1em, so
}
]; ];
binds = with config.hm.lib.niri.actions; let binds = with config.hm.lib.niri.actions; let
@ -441,6 +437,7 @@ in {
"XF86AudioPlay".action = sh "${lib.getExe pkgs.playerctl} play-pause"; "XF86AudioPlay".action = sh "${lib.getExe pkgs.playerctl} play-pause";
"XF86AudioNext".action = sh "${lib.getExe pkgs.playerctl} next"; "XF86AudioNext".action = sh "${lib.getExe pkgs.playerctl} next";
"Mod+Shift+C".action = sh "${lib.getExe pkgs.hyprpicker} -a";
"Mod+V".action = sh "${config.modules.desktop.cliphist.summonScript}"; "Mod+V".action = sh "${config.modules.desktop.cliphist.summonScript}";
"Mod+Shift+Control+T".action = toggle-debug-tint; "Mod+Shift+Control+T".action = toggle-debug-tint;

View file

@ -30,14 +30,15 @@ in {
config.font = wezterm.font '${fonts.monospace.family}' config.font = wezterm.font '${fonts.monospace.family}'
-- this is a hack to get the font size to be the same as the bitmap font -- this is a hack to get the font size to be the same as the bitmap font
-- the size is in px, but wezterm uses pt, so we use a conversion -- the size is in px, but wezterm uses pt, so we use a conversion
-- TODO: support non-bitmaps and variable dpi better blah blah blah
config.font_size = ${toString fonts.monospace.size} / (4 / 3) config.font_size = ${toString fonts.monospace.size} / (4 / 3)
config.adjust_window_size_when_changing_font_size = false
config.freetype_load_flags = 'MONOCHROME' config.freetype_load_flags = 'MONOCHROME'
config.enable_wayland = true config.enable_wayland = true
config.use_fancy_tab_bar = false config.use_fancy_tab_bar = false
-- TODO: tiling acting WACK. these just make it even worse config.use_resize_increments = true
--config.use_resize_increments = true config.initial_cols = 120
--config.initial_cols = 120 config.initial_rows = 40
--config.initial_rows = 40
config.window_background_opacity = 0.8 config.window_background_opacity = 0.8
${config.modules.desktop.themes.wezterm or ""} ${config.modules.desktop.themes.wezterm or ""}