regolith-linux / i3-next-workspace Goto Github PK
View Code? Open in Web Editor NEWNavigate to the next unused workspace in i3
License: GNU General Public License v3.0
Navigate to the next unused workspace in i3
License: GNU General Public License v3.0
After upgrading to newest Regolith Desktop Super + `
keybinding stopped working. After fast investigation I found out that i3-next-workspace
errors out with following error:
$ i3-next-workspace
Traceback (most recent call last):
File "/usr/bin/i3-next-workspace", line 38, in <module>
startnum = min(mapping_names.keys())
ValueError: min() arg is an empty sequence
The problem seems to be with xrdb -query
call which does not list anything that would match regex re.search("^i3-wm\.workspace\...\.name:",line)
:
$ xrdb -query | grep workspace
i3-wm.bar.workspace.active.background.color: #9A9996
i3-wm.bar.workspace.active.border.color: #9A9996
i3-wm.bar.workspace.active.text.color: #B8B8B8
i3-wm.bar.workspace.focused.background.color: #393939
i3-wm.bar.workspace.focused.border.color: #C0BFBC
i3-wm.bar.workspace.focused.text.color: #FFFFFF
i3-wm.bar.workspace.inactive.background.color: #393939
i3-wm.bar.workspace.inactive.border.color: #393939
i3-wm.bar.workspace.inactive.text.color: #F6F5F4
i3-wm.bar.workspace.urgent.background.color: #E01B24
i3-wm.bar.workspace.urgent.border.color: #E01B24
i3-wm.bar.workspace.urgent.text.color: #FFFFFF
i3xrocks.label.next-workspace-widget:
My system configuration:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
$ cat /etc/regolith/version
REGOLITH_VERSION=2.2
$ xrdb -version
xrdb 1.2.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.