Giter VIP home page Giter VIP logo

Comments (5)

r4t1o avatar r4t1o commented on July 27, 2024

I have some issues with 1.7 as well. I just use 1.6 for now.

from dotfiles.

simonvic avatar simonvic commented on July 27, 2024

Hey @Loxeno,
thanks for the report.
Yes I'm having the same problem (currently on Rofi 1.7): wrong theme and segmentation fault .

I haven't identified the cause yet, probably the multiple imports that I do along side with some changes done in 1.7.
I'll investigate to see if it's a problem on my end or a bug introduced with Rofi 1.7

from dotfiles.

simonvic avatar simonvic commented on July 27, 2024

I've read the release notes more carefully: the way themes get loaded has been changed.

In the meanwhile that I'll rework the themes, here is a temporary solution:

  1. Don't launch rofi with the -theme option but with -theme-str option.
    In your i3 config, replace the rofi stuff with this
bindsym $mod+a                           exec rofi -show combi -combi-modi "drun#window" -modi "combi#drun" -theme-str '@import $rofi_theme_drun' -no-default-config
bindsym $mod+Ctrl+a                      exec rofi -show combi -theme-str '@import $rofi_theme_combi' -no-default-config
bindsym $mod+Tab                         exec rofi -modi "window#windowcd" -show window -theme-str '@import $rofi_theme_windowSwitcher' -no-default-config
bindsym $mod+Shift+Tab                   exec rofi -show "filebrowser" -theme-str '@import $rofi_theme_fileBrowser' -no-default-config
bindsym $mod+c                           exec rofi -show calc -modi calc -no-show-match -no-sort -calc-command "echo -n '{result}' | xclip -selection clipboard -i" -theme-str '@import $rofi_theme_calc' -no-default-config
  1. Rename file-browser modi to filebrowser
    Inside your config.rasi, use this
modi: [combi, drun, filebrowser, window, run, windowcd, ssh, calc, keys] ;
  1. To fix white elements, append this to your config.rasi
element-text,
element-icon {
	background-color: transparent;
	text-color: inherit;
}

from dotfiles.

Loxeno avatar Loxeno commented on July 27, 2024

Hi,

I confirm that this is working, thank you for your help :)

Do I close this issue now or after your changes ?

Best regards,
Jonathan

from dotfiles.

simonvic avatar simonvic commented on July 27, 2024

hey,

happy that it works :)

I'd keep the issue open until I update the theme, somebody may also need this temp fix

from dotfiles.

Related Issues (4)

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.