wezterm: dropped

This commit is contained in:
John McQuah 2024-09-04 11:05:44 +00:00
parent e696c144ac
commit 196530eb80
6 changed files with 0 additions and 108 deletions

View File

@ -1,18 +0,0 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/xdg/
drwxr-xr-x root/root etc/xdg/wezterm/
-rw-r--r-- root/root etc/xdg/wezterm/wezterm.lua
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/strip-ansi-escapes
-rwxr-xr-x root/root usr/bin/wezterm
-rwxr-xr-x root/root usr/bin/wezterm-gui
-rwxr-xr-x root/root usr/bin/wezterm-mux-server
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/org.wezfurlong.wezterm.desktop
drwxr-xr-x root/root usr/share/icons/
drwxr-xr-x root/root usr/share/icons/hicolor/
drwxr-xr-x root/root usr/share/icons/hicolor/128x128/
drwxr-xr-x root/root usr/share/icons/hicolor/128x128/apps/
-rw-r--r-- root/root usr/share/icons/hicolor/128x128/apps/org.wezfurlong.wezterm.png

View File

@ -1,6 +0,0 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxORprbEhGkvdSpPf76FUiqU8AIB957DfjnxCdXWczE1W/DPeSRRZpF/yaAIe1s+/+27r7HU3ZXFTldqOGI25Fwo=
SHA256 (Pkgfile) = 40317a57f230da0af24d9ccb68b95d16cf0acec81d761976a3eec17c31d22b66
SHA256 (.footprint) = 8dd66b161ba5a509708a3ade8c9d8d411fb6f0da5ec8994ce5268e93661f4db4
SHA256 (wezterm-20240203-110809-5046fc22-src.tar.gz) = df60b1081d402b5a9239cc4cef16fc699eab68bbbeac9c669cb5d991a6010b2c
SHA256 (wezterm.lua) = 1973f4481dc3af749283a7260449b9d809e744ebe1ff28ffa92c4f56660372b9

View File

@ -1,5 +0,0 @@
#!/bin/sh
curl -s "https://github.com/wez/wezterm/tags" \
| awk '/a href=.\/wez\/wezterm\/releases\/tag/ { print }' \
| sed 's/.*a href=".*">//; s/<\/a>.*//;' | head -n 1

View File

@ -1,35 +0,0 @@
# Description: fancy terminal emulator for xorg and wayland
# URL: https://wezfurlong.org/wezterm/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: rust git fontconfig libxkbcommon hicolor-icon-theme xorg-libx11 xorg-xcb-util xorg-xcb-util-image xorg-xcb-util-keysyms xorg-xcb-util-wm
# Optional: wayland
name=wezterm
version=20240203-110809-5046fc22
release=1
source=(https://github.com/wez/$name/releases/download/$version/$name-$version-src.tar.gz wezterm.lua)
build() {
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
mkdir -p "$PKGMK_SOURCE_DIR/rust"
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
CARGO_OPTS="--release"
prt-get isinst wayland || CARGO_OPTS+=" --no-default-features"
cd $name-$version
cargo build ${CARGO_OPTS}
cd target/release
mkdir -p $PKG/usr/bin
install -Dm 0755 $name $PKG/usr/bin
install -Dm 0755 $name-gui $PKG/usr/bin
install -Dm 0755 $name-mux-server $PKG/usr/bin
install -Dm 0755 strip-ansi-escapes $PKG/usr/bin
cd ../../assets
mkdir -p $PKG/usr/share/icons/hicolor/128x128/apps
mkdir -p $PKG/usr/share/applications
install -Dm 0644 icon/terminal.png $PKG/usr/share/icons/hicolor/128x128/apps/org.wezfurlong.$name.png
install -Dm 0644 $name.desktop $PKG/usr/share/applications/org.wezfurlong.$name.desktop
mkdir -p $PKG/etc/xdg/wezterm
install -Dm 0644 $SRC/wezterm.lua $PKG/etc/xdg/wezterm
}

View File

@ -1,6 +0,0 @@
In order to use the configuration file provided by this port, you should
do one of the following:
- copy it to $XDG_CONFIG_HOME/wezterm/wezterm.lua,
- set the environment variable $WEZTERM_CONFIG_FILE,
- start wezterm with the --config-file argument.
Please visit the project homepage to discover more configuration possibilities.

View File

@ -1,38 +0,0 @@
local wezterm = require 'wezterm';
return {
enable_wayland = true,
font = wezterm.font("Inconsolata"),
font_size = 22.0,
color_scheme = "Treehouse",
window_background_image = "/usr/share/backgrounds/xfce/tipas.jpg",
window_background_image_hsb = {
-- Darken the background image by reducing it to 1/3rd
brightness = 0.3,
-- You can adjust the hue by scaling its value.
-- a multiplier of 1.0 leaves the value unchanged.
hue = 1.0,
-- You can adjust the saturation also.
saturation = 1.0,
},
text_background_opacity = 0.8,
audible_bell = "Disabled",
visual_bell = {
fade_in_duration_ms = 75,
fade_out_duration_ms = 75,
target = "CursorColor",
},
disable_default_key_bindings = true,
keys = {
{key = "c", mods="CTRL|SHIFT", action=wezterm.action{CopyTo="Clipboard"}},
{key = "v", mods="CTRL|SHIFT", action=wezterm.action{PasteFrom="Clipboard"}},
{key = "x", mods="CTRL|SHIFT", action="ActivateCopyMode"},
{key = "f", mods="CTRL|SHIFT", action=wezterm.action{Search={CaseInSensitiveString=""}}},
{key = "t", mods="SUPER", action=wezterm.action{SpawnTab="CurrentPaneDomain"}},
{key = "w", mods="SUPER", action=wezterm.action{CloseCurrentTab={confirm=true}}},
{key = "[", mods="SUPER", action=wezterm.action{ActivateTabRelative=-1}},
{key = "]", mods="SUPER", action=wezterm.action{ActivateTabRelative=1}},
{key = "PageUp", mods="SHIFT", action=wezterm.action{ScrollByPage=-1}},
{key = "PageDown", mods="SHIFT", action=wezterm.action{ScrollByPage=1}},
{key = "u", mods="CTRL|SHIFT", action="QuickSelect"},
},
}