Code Monkey home page Code Monkey logo

sway-fader's Introduction

sway-fader

sway-fader fades in containers on workspace focus and window new events.

Install

Installation from release or from source:

go install github.com/mgnsk/sway-fader@latest

Configuration

exec sway-fader

By default a rule of --class=".*:0.7:1.0" is applied which can be overridden by user specified flags.

Advanced config

Example config in ~/.config/sway/config to keep foot terminal transparent and other windows opaque:

exec sway-fader --app_id="foot:0.7:0.97"

sway-fader's People

Contributors

mgnsk avatar

Stargazers

 avatar

Watchers

 avatar

sway-fader's Issues

error when starting it

hi!

i guess I have to add my ~/go/bin to PATH variable, but anyways, this is my error

/home/parallels/go/bin/sway-fader
error: command "[con_id=187651031411744] opacity 0.7125;" unsuccessful: Expected one of these tokens: , '[', 'move', 'exec', 'exit', 'restart', 'reload', 'shmlog', 'debuglog', 'border', 'layout', 'append_layout', 'workspace', 'focus', 'kill', 'open', 'fullscreen', 'sticky', 'split', 'floating', 'mark', 'unmark', 'resize', 'rename', 'nop', 'scratchpad', 'swap', 'title_format', 'title_window_icon', 'mode', 'bar', 'gaps'error: command "[con_id=187651031558032] opacity 0.7125;" unsuccessful: Expected one of these tokens: , '[', 'move', 'exec', 'exit', 'restart', 'reload', 'shmlog', 'debuglog', 'border', 'layout', 'append_layout', 'workspace', 'focus', 'kill', 'open', 'fullscreen', 'sticky', 'split', 'floating', 'mark', 'unmark', 'resize', 'rename', 'nop', 'scratchpad', 'swap', 'title_format', 'title_window_icon', 'mode', 'bar', 'gaps'error: command "[con_id=187651032242064] opacity 0.7125;" unsuccessful: Expected one of these tokens: , '[', 'move', 'exec', 'exit', 'restart', 'reload', 'shmlog', 'debuglog', 'border', 'layout', 'appe....

running on Ubuntu 23.10 for ARM

Multi-monitor fades

Currently workspace change stops all previous fades. It should stop fades only on nonvisible workspaces instead of all workspaces.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.