GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sunbearc22/sb_show_wallpapers.wezterm: Plugin to show wallpapers in WezTerm and toggle their changes and brightness.

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
images
images
 
 
plugin
plugin
 
 
README.md
README.md
 
 

Repository files navigation

sb_show_wallpapers.wezterm

  • Shows your wallpapers in WezTerm and lets you toggle their change forward and backward. toggle_wallpapers

  • Lets you brighten and dim the wallpaper. toggle_brightness

Installation & Usage

local wezterm = require("wezterm")

local config = {}

if wezterm.config_builder then
    config = wezterm.config_builder()
end

-- Add these lines (to install & use plugin and its default options):
local repo = "https://github.com/sunbearc22/sb_show_wallpapers.wezterm.git"
wezterm.plugin.require(repo).apply_to_config(config, {})

return config

Options

Default options

local repo = "https://github.com/sunbearc22/sb_show_wallpapers.wezterm.git"
wezterm.plugin.require(repo).apply_to_config(config,
  {
    directory = "$HOME/Pictures/Wallpapers",        -- Wallpapers directory
    brightness = 0.06,                              -- Wallpaper initial brightness at 6%.
    toggle_forward_key = "b",                       -- see key bindings
    toggle_forward_mods = "SUPER",                  -- see key bindings
    toggle_backward_key = "B",                      -- see key bindings
    toggle_backward_mods = "SUPER|SHIFT",           -- see key bindings
    increase_brightness_key = "b",                  -- see key bindings
    increase_brightness_mods = "SUPER|ALT",         -- see key bindings
    decrease_brightness_key = "B",                  -- see key bindings
    decrease_brightness_mods = "SUPER|ALT|SHIFT"    -- see key bindings
  }
)

Change the value of these option fields to your preference.

Key Bindings

Default keys

Toggle Wallpaper

Key Binding Action
SUPERb Change to next wallpaper.
SUPERSHIFTB Change to previous wallpaper.

Toggle Brightness

Key Binding Action
SUPERALTb Increase brightness by 2%
SUPERALTSHIFTB Decrease brightness by 2%

Update

Press CTRLSHIFTL and run wezterm.plugin.update_all().

Removal

  1. Press CTRLSHIFTL and run wezterm.plugin.list().
  2. Delete the "plugin_dir" directory of this plugin.

About

Plugin to show wallpapers in WezTerm and toggle their changes and brightness.

Topics

backgroundbrightness-controllerlua-scriptwallpaper-changewezterm-plugin

Resources

Readme
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.