Coder Social home page Coder Social logo

lu0 / dotfiles_linuxmint Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 0.0 109.4 MB

Linux Mint (cinnamon) post-installation setup.

License: GNU General Public License v3.0

Shell 20.63% Scheme 1.62% CSS 69.00% Lua 0.76% JavaScript 5.91% Roff 2.08%
bash development-environment dotfiles linux mint scripts workflow

dotfiles_linuxmint's People

Contributors

dependabot[bot] avatar lu0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dotfiles_linuxmint's Issues

Make terminal hide/show on keybinding

Current keybinding META + Return opens a new terminal. Make the keybinding toggle the state (minimize/hide and raise/show) instead of raising a new one.

In addition, use other than gnome-terminal. I'd like to use panes + tabs. Maybe tmux? idk

Split into submodules

Analyze each case and then create an issue for each submodule to be implemented commit referencing this issue.

Optimize tiling actions

Is your feature request related to a problem? Please describe.
#14 was solved, but tiling windows is now much slower than before.

Describe the solution you'd like
Optimize time response of the Tiling functions

Describe alternatives you've considered
Maybe this can be optimized by refactoring core modules display_info.sh and gaps.sh

Window control scripts broken for multiple displays and resolutions

Describe the bug
Scripts to tile and maximize windows using keybindings work well with a single display, but not for multiple displays.

To Reproduce
Steps to reproduce the behavior:

  1. Let's assume we have at least one extra display attached to the machine, other than the built-in one.
  2. Let's say the mouse is located in a window placed in the second monitor.
  3. Trigger any keybinding set to tile or maximize the raised window: Alt + ( a, w, d, s, z, q, e, c or spacebar).
  4. The window is tiled in the built-in display rather than the one the mouse is currently in. It is sometimes tiled in weird positions and not the intended one.

Expected behavior
The window should be tiled in the correct position with the correct gaps (up, left, right, bottom, up-left, up-right, etc) and in the display/monitor the mouse is currently in.

Desktop (please complete the following information):

  • OS: [Linux Mint 20]
  • Desktop Environment: [Cinnamon 4.6.7]
  • Shell [Bash 5.0.16]
  • Repository version [current master (up to 522571f)]

Additional context
These scripts should also support any resolution.

Use pip package xdisplayinfo on window-related scripts

Is your feature request related to a problem? Please describe.
N/A

Describe the solution you'd like
current-x-display-info is now available as xdisplayinfo in PyPi: https://pypi.org/project/xdisplayinfo/ , better to have this as a dependency instead of a submodule, this way I'll be able to use the latest version automatically and the dependency will be explicit in Github's dependency graph.

Describe alternatives you've considered
Leaving it as a git submodule... but the repos don't get linked that way, and I wanted to stop fighting with submodules (I lose track of versions easily).

Additional context
lu0/current-x-display-info#1

Support multiple displays in 'toggle terminal' keybinding

Next steps/enhancements could include:

  • Center the cursor on the window after raising it.
  • Support multiple displays (initially for my setup of 1 display left, 1 right).
    • Raise the window in the display the cursor is on.
    • Resize the window accordingly, maybe just maximize it? with gaps :P of course.

Edited from comment posted by @lu0 in #10 (comment)

Update aliases

Update aliases with the ones I have locally across devices.

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.