Giter Site home page Giter Site logo

rofi coloring problem about dotfiles HOT 7 CLOSED

codeheister avatar codeheister commented on July 23, 2024
rofi coloring problem

from dotfiles.

Comments (7)

CodeHeister avatar CodeHeister commented on July 23, 2024

Picom blurs the background and the transparent colors are stored in .config/rofi/colors.rasi. To add blur, configure it through picom or find blur section in my picom configs.
If you want to make it less transparent and include my colors, you should just copy colors.rasi directly to your rofi configs in the same directory or rewrite the path in rofi file.

To add colors :

  1. Copy .config/rofi/colors.rasi to your rofi configs.
  2. To make the background less transparent, find win-bg in colors.rasi, change or delete last 2 characters.

As an example :

  • win-bg : #282c34cc;

  • win-bg : #282c3411;
    to make it more transparent i set a lower number for alpha (last 2 characters)

  • win-bg : #282c34;
    to make the color solid i remove alpha

You may edit all colors in the same way.

To make easily a screenshot with a rofi without any external software you may use rofi -no-lazy-grab -show drun -theme "~/.config/rofi/searcher.rasi"; maim --hidecursor | xclip -selection clipboard -t image/png that uses maim and xclip or rofi -no-lazy-grab -show drun -theme "~/.config/rofi/searcher.rasi"; maim --hidecursor | tee ~/Pictures/Screenshots/$(date "+Screenshot-%G-%m-%d_%H.%M.%S").png | xclip -selection clipboard -t image/png that also uses tee to save screenshot in a file.

from dotfiles.

HarshalRathore avatar HarshalRathore commented on July 23, 2024

thank you a lot it is solved..

from dotfiles.

HarshalRathore avatar HarshalRathore commented on July 23, 2024

I have a one other problem please look at this post it is related to your dotfies

from dotfiles.

HarshalRathore avatar HarshalRathore commented on July 23, 2024

@CodeHeister did you have the same problem with i3lock while using rofi powermenu. If so how did you solve it?

from dotfiles.

CodeHeister avatar CodeHeister commented on July 23, 2024

I don't use system lock. I just suspend my system, logout or swap to another tty, but i have passwords everywhere so i don't have to worry about my system. Also nobody knows how to navigate in my system, so i'm calm.

  • bindsym $mod+Shift+p exec i3lock -c 000000 worked.
  • xss-lock -- i3lock -n -c 000000 in .xinitrc and loginctl lock-session in rofi also worked.

Both options worked for me, so there should be no troubles.

from dotfiles.

HarshalRathore avatar HarshalRathore commented on July 23, 2024

Thanks for the info 👍!
I looked at rofi's .rsai file and scripts and they look likes just CSS to me, is that right? If so could you guide me to some resources for rofi component creation with CSS and .sh scripts for them I happen to be learning Frontend right now so maybe I'll try practising my skills there.
Thank you

from dotfiles.

CodeHeister avatar CodeHeister commented on July 23, 2024

You can start with this or this. There's everything described. Look for configs of your interest and try to configure on your own.

from dotfiles.

Related Issues (5)

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.