Iggy 2024 #1384
DaveDavenport
started this conversation in
General
Iggy 2024
#1384
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1.7.0: Iggy 2024
Rofi 1.7.0 is another bug-fix release that also removes a lot of deprecated features. One of the biggest changes is
the removal of the (deprecated) xresources based configuration setup. With this removal, also a lot of hack-ish code has
been removed that tried to patch old config setups. While the deprecation might be frustrating for people who have not
yet converted to the new format, I hope for some understanding. Even though this move might not be popular, the
deprecation in previous releases and consequential removal of these options is needed for two reasons.
The most important one is to keep rofi maintainable and secondary to open possibility to overhaul the config system in
the future and with that fixing some long standing bugs and add new options that
where hindered by the almost 10 year old system, the new system has been around for more than 4 years.
Beside mostly bug-fixes and removal of deprecated options, we also improved the theming and added features to help in
some of the more 'off-script' use of rofi.
This release was made possible by many contributors, see below for a full list. Big thanks again to SardemFF7 and
TonCherAmi.
Default theme loading
In older version of rofi the default theme was (almost) always loaded based on some unclear rules, sometimes
some random patch code was loaded and sometimes no theme was loaded before loading another theme.
The current version of rofi this is hopefully more logic. It loads the default
theme by default using the default configuration. (Can be disabled by
-no-default-config
).Using
-theme
, or@theme
primitive will discard the theme completely.So the below css completely removes the default theme, and loads
iggy
.File Browser
TonCherAmi made several very nice usability improvements to the file-browser. His changes allow you to define sorting
and ordering of the entries and changing the default start directory.
These options can be set using the new 'nested' configuration format that we are testing in rofi:
File Completion
In rofi 1.7.0 a long awaited patch I wrote many years ago landed into the rofi.
This patch adds some basic completion support by chaining modi. Currently it
only supports chaining the FileBrowser mode. This allows you to launch an
application with a file as argument. This is currently supported in the Run
and the DRun modi by pressing the
Control-l
keybinding. For the Run mode itwill add it as first argument, in DRun it only works if the Desktop file
indicates support for this.
This is not the final implementation, but a first investigation in how to
add/extend this feature. Ideally you can have multiple completers (including
custom ones) you can choose from.
Timeout actions
You can now configure an action to be taken when rofi has not been interacted
with for a certain amount of seconds. You can specify a keybinding to trigger
after X seconds.
This option can be set using the new 'nested' configuration format that we are
testing in rofi:
This setting will close rofi after 15 seconds of no interaction.
This setting will accept the current selection after 5 seconds of no
interaction.
Background image and gradients
To improve theming the
background-image
property was added with support forsetting images
url()
or a gradientlinear-gradient()
.The below screenshot shows both background image and gradients.
Or a more subtle change is the gradient on the tabs here:
Clickable button and icons
The screenshot below shows a non-squared image and clickable buttons (the close icon in the top right)
Changelog
Explicitly steal focus from from the current window and restore it on closing.
Enabling this might break the window switching mode.
Allow for nested configuration options, this allows for options to be grouped.
A quick work-around for handling old-style dynamic options. This should be resolved when all options are
converted to the new (internal) config system.
This option allows you to set a fallback icon from applications.
If you have an icon widget you can specify an image that exists in the theme directory.
See above.
Support KDE service desktop files.
See above.
This matching method matches each entered word to start of words in the target
entry.
By default all icons are squared, this can now be disabled. The icon will
occupy the actual space the image occupies.
See above.
This combines the custom and alt keybinding. Allowing a custom command to be
launched in terminal.
Automatically select the entry under the mouse cursor.
See above.
Force markup on text widgets.
-rasi-validate
)Add support for setting the mouse cursor on widgets.
For example the entry cursor on the textbox, or click hand cursor on the entry.
Allows you to scale the
background-image
on width, height and both.See above example.
See above.
Allows you to use pango-markup in the window format option.
Given how the lexer and the grammar parser interact, the reset did not happen at
the right point in the parsing process, causing unexpected behaviour.
Broken desktop files could cause a rofi crash.
Fix opening files with special characters that needs to be escaped.
Fixes theming of
element-index
.The quick switch between modi was broken when on a script mode. This now by default works,
unless the mode overrides this.
This should fix themes that mix differently sized fonts.
An old pre-1.6.1 rasi theme should work with the following section added:
This fixes the long broken feature of dashed borders.
FIX: [Build] Fix CI.
FIX: [Theme] Discard old theme, when explicitly passing one on command line.
In previous version there was a bug when passing
-theme
on commandline did not discard old theme.This caused problems loading themes (as it merged two themes instead of loading them).
To get old behaviour on commandline do:
rofi -theme-str '@import "mytheme"' -show drun
Thanks
Big thanks to:
Apologies if I mistyped or missed anybody.
This discussion was created from the release Iggy 2024.
Beta Was this translation helpful? Give feedback.
All reactions