Git Product home page Git Product logo

simple-task-bar's People

Contributors

fthx avatar leleat avatar

Stargazers

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

Watchers

 avatar

simple-task-bar's Issues

Extension fails to load (TypeError)

Hi,

I'm using Gnome Shell 3.30 (Debian 10). Since 50ef969, I get the following error preventing this extension from working:

TypeError: activities_indicator.hide is not a function

Style update proposal

Hey! First of all: thanks for this! Coming from tiling WMs, I feel right at home with this extension 👍

After using it for a few hours, I realized that the visual style of workspace numbers is a bit too heavy for my taste, so I made some tweaks.

I realize that it's personal preference, but how do you feel about this direction? Would you be interested in a PR that changes these styles?

image

[FEATURE REQUEST] put monitor workspace after last primary workspace

Note: this issue happens when GNOME multi-monitor handling is set to "Workspaces on primary display only".

Icons for apps that are placed on the secondary display appear on the left of the workspaces list. Not sure if that's intended design, but it feels and looks weird.

image

I think, ideally, i'd rather not see the icons for apps on secondary display at all since they're not attached to any workspace.
Alternatively, maybe show them at the very end of the task bar instead, after some sort of visual divider.

[FEATURE REQUEST] Setting to hide workspaces without active apps

For example when using 2 workspaces/desktops, you would have [1] and [2] with active apps but it shows [3] as well but it has no active apps. It would be great to have an option to make it possible to hide workspaces with no active windows/apps. This would make it look even cleaner.

GNOME 40

I'm testing GNOME 40 and extension is working, but opening extension settings don't. It crashes with

Gtk.BuilderError: /home/vuk/.local/share/gnome-shell/extensions/simple-task-bar@fthx/prefs.ui:55:1 Unhandled tag: <packing>

Stack trace:
  _init@/home/vuk/.local/share/gnome-shell/extensions/simple-task-bar@fthx/prefs.js:36:17
  wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
  buildPrefsWidget@/home/vuk/.local/share/gnome-shell/extensions/simple-task-bar@fthx/prefs.js:10:16
  _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:209:40
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:22
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
  run@resource:///org/gnome/gjs/modules/script/package.js:222:19
  start@resource:///org/gnome/gjs/modules/script/package.js:206:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
  

Symbolic icons instead of just desaturated icons?

Currently the extension just desaturates all icons (if the setting is enabled) but still uses the icons of the theme. GNOME uses symbolic icons by default and only falls back to the theme icon if there is no symbolic icon (and desaturates it). GNOME applies it via a css file.

Here is a screenshot. The bottom half shows how it is currently. The top half uses symbolic icons (you can see GNOME's default on the appmenu).

Screenshot from 2020-09-29 11-16-42

Do you want to add it to your extension or do you want to leave it as is?

[FEATURE REQUEST] Support for multiple monitors (Dash to panel)

Hi, Do you know hot to display this extension on a dual monitor setting? I use the dash to panel extension, and I wish to see the simple-task-bar on both monitor's bars if possible. I made an issue on the dash-to-panel github page, but the developer said it is something better to be handled on the individual extension's side.

This issue

All i need is a labelled workspace indicator, so I forked you extension and commented out the part where you add the application icons, and modified the css to look a bit cleaner to my taste. and it looks like that:
image

I know some JS but I am not familiar with how the Gnome shell works at all, so is it a hard one to achieve?
If you don't have time, but have some idea how to do it, can you share them, so I may be able to tinker around with it maybe?

Thanks for this amazing extension btw, I was searching a lot for sg like that 👍

[FEATURE REQUEST] Right click menu

Hi @fthx I made a comment in Gnome Extensions website before about drag-able icons, understand that could be a hard feature to implement.

Another thought... Perhaps if right click could revel a context menu giving options... Move to workspace 1, Move to workspace 2, Close Window etc... that could be an easier win and a step toward drag-able icons anyway.

[FEATURE REQUEST] Settings page/more setting variables

I read in a closed issue that you didn't plan to include a settings page for "now" (half a year ago). Did your stance on this change?

I tried using your extension but it clashes with another extension I use ("Unite"). I use Unite to add a Close button into my topbar so I can close windows with a quick wrist flick. It also disables the Window titles. Here is a screenshot with both extensions enabled.

scr

If I use Simple-Task-Bar, the Activities button get hidden (even if I re-enable it in Unite). Window titles will also be shown (which I tried to disable via Unite. I only wanted to see the app name).

While you added easy-to-edit variables at the top of extension.js, my issue with Window titles doesn't seem to be one an option there. So a dedicated Settings page could help here or at least an additional variable to disable window titles.

If you do decide to add a Settings page (or more variables), here are some ideas:

  • add configurable spacing between each workspace section for clearer visibility (e. g. 35 px before the [2] / after the Firefox icon in my screenshot)

  • shortcuts for window switching within the current workspace (with wraparound) based on the currently focused window. For example: Super+Left/Right or A/D. While people can use Alt/Super+Tab, the order of it is based on recent usage and it shows all apps. So having a non-changing order (like your extension does it) could also be useful and quicker since you don't have to first search for the app in the list of all open apps. found an extension which disables listing of all open apps in the Alt+Tab, so this is also kinda obsolete now.

  • always show the overview when switching workspaces (and not just when pressing a button on the taskbar), if no app is running on the new workspace.

  • disable Window titles and only show app name (or at least not forcing the Window title update) pr opened

  • maybe monochrome icons (since that seems to be GNOME's default look) looks kinda bad


It's kinda redundant to have the normal Window title (menu) and your "Line" to indicate the currently focused window. How about merging these 2 (although I don't know how difficult that would be). Here is a mockup of what I mean:

Mockup

[Edit]

BTW do you accept PRs? While I am only looking into learning Gnome extensions right now, adding a variable to disable the window title update seems easy to do even for a beginner.

[BUG] Missing schmas.compiled after update

Hi,

This morning, my system automatically updates simple-task-bar, and upon start up produced this trace:

GLib.FileError: Failed to open file “/home/tez/.local/share/gnome-shell/extensions/simple-task-bar@fthx/schemas/gschemas.compiled”: open() failed: No such file or directory

Stack trace:
  _init@/home/tez/.local/share/gnome-shell/extensions/simple-task-bar@fthx/prefs.js:23:48
  wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
  buildPrefsWidget@/home/tez/.local/share/gnome-shell/extensions/simple-task-bar@fthx/prefs.js:10:16
  _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:175:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
  run@resource:///org/gnome/gjs/modules/script/package.js:222:19
  start@resource:///org/gnome/gjs/modules/script/package.js:206:5
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

I am running Fedora 32, and Gnome 3.36.2. I pulled the extension from https://extensions.gnome.org/extension/2672/simple-task-bar/, and I use the Firefox/gnome-shell integration plugin to install and manage extensions.

In /home/tez/.local/share/gnome-shell/extensions/simple-task-bar@fthx, there is not even a schemas subdirectory. I am totally unfamiliar with Gnome Shell extension development, building, packaging. Can you advise how this can be fixed?

Your help and your extension are much appreciated. Many thanks!

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.