GithubHelp home page GithubHelp logo

awesome-config's Introduction

Welcome to my GitHub profile 👋

🌍 ❬ www.timroes.de
👥 ❬ LinkedInMastodonYouTube
👨‍💻 ❬ Working at Airbyte

Tools and Techstack

🖥️ ❬ Arch Linux · Awesome WM · zsh ❭
🛠️ ❬ TypeScript · React · Gatsby · Netlify ❭
📝 ❬ Visual Studio Code · GitHub · Todoist · Notion ❭
🎨 ❬ iPad Pro · Concepts · Affinity Designer ❭

awesome-config's People

Contributors

timroes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

awesome-config's Issues

Implement multi screen hidpi support

When multiple screens are connected each one can have a different DPI. This should be respected for all heights, widths and anything else in pixels that is set.

Support in the dpi helper

  • Basic support to calculate dpi of a screen
  • Find the correct output in screen.outputs to read the mm_width and mm_height value from
  • Allow to specify a factor for dpi in the config
  • Allow a per screen factor for dpi in the config

Use the new xdpi and ydpi methods everywhere

Titlebars

  • Calculate titlebar height and values depending on client screen
  • Recalculate the titlebar values when screen of the client changes

Widgets in bar

  • Font size in orglendar
  • Battery Widget
  • Network monitor
  • Screensaver

Misc

  • Hotkey_badge in lunaconf.widgets.common
  • screen_tag in lunaconf.widgets.common

Create fullscreen mode

Create a fullscreen mode (replaces old titlebar and bar toggle mode) to make a client fullscreen and hide the bar while it's fullscreen (best with a hotkey/moving mouse to top of screen to show it again).

require("lgi").GLib.get_system_data_dirs() returns paths without trailing /

This is on ubuntu 17.10 running xfce4 git.

Patch to rectify:

diff --git a/lib/lunaconf/xdg.lua b/lib/lunaconf/xdg.lua
index 3061d4c..11a037c 100644
--- a/lib/lunaconf/xdg.lua
+++ b/lib/lunaconf/xdg.lua
@@ -10,9 +10,17 @@ local xdg = {}
 local apps = {}
 local apps_by_id = {}
 
+local function appendSlashes(folder)
+       if not folder:match("/$") then return folder .. "/" end
+       return folder
+end
+
 function xdg.refresh(callback)
        local data_dirs = glib.get_system_data_dirs()
-       table.insert(data_dirs, glib.get_user_data_dir() .. '/')
+       table.insert(data_dirs, glib.get_user_data_dir())
+       for i = 1, #data_dirs do
+               data_dirs[i] = appendSlashes(data_dirs[i])
+       end
        log.info("data_dirs: %s", inspect(data_dirs))
 
        apps = {}

With patch:
aug. 12 19:13:40 edbpc awesome[16707]: data_dirs: { /usr/share/xfce/, /usr/share/xfce4/, /usr/local/share/, /usr/share/, /usr/share/, /home/folk/.local/share/ }

Without patch:
aug. 12 19:06:06 edbpc awesome[15171]: data_dirs: { /usr/share/xfce, /usr/share/xfce4, /usr/local/share/, /usr/share/, /usr/share, /home/folk/.local/share/ }

MOD + Page up/down correct order

Currently the order when pressing MOD + Page up/down is kind of broken, since it randomly jumps between tabs. It should instead follow the order the clients have in the tasklist, i.e. jump through all clients in one tag and then jump to the next tag, etc.

Pin applications as own tags

What currently is hard coded for pidgin and thunderbird, could be made a bit more flexible and configurable (or usable via hotkeys) so different computers could use different pinned applications.

Move displayswitcher to the new design

The displayswitcher widget should be moved to the new design. This mainly should include changing the icon color. It would be even better to determine the correct contrast color depending on the screen bar color, what could be tricky (to not possible) when using (fake) transparency and we don't know the actual color.

Create nice progress dialog

Create a nice progress dialog, that can be used in replace for notifications for brightness and volume. It could look like the displayswitcher dialog, placed in the middle of the screen and use a proper progress bar to show the progress. The dialog should auto hide itself and be easy to use in the conf.d scripts

Create better display support

A more intelligent display support would be great, i.e. detect all the displays and try to create the best matching display config, and also detect disconnected displays and change settings according to that.

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.