Giter VIP home page Giter VIP logo

Comments (8)

tmo793 avatar tmo793 commented on July 22, 2024

This is a repeat of #14, but #14 is marked as resolved - should it be marked resolved, if the issue still exists? Can the suggest fix be rolled into this project?
I'm happy to follow the instructions in #14 to fix the issue at my end, but it's strange only a small number of people are being affected.

from debian-titus.

aphive avatar aphive commented on July 22, 2024

To add to this, even when the icons are working, in .config/rofi/powermenu/powermenu.sh there is this entry

# Confirmation
confirm_exit() {
	rofi -dmenu\
		-i\
		-no-fixed-num-lines\
		-p "Are You Sure? : "\
		-theme $dir/confirm.rasi
}

# Message
msg() {
	rofi -theme "$dir/message.rasi" -e "Available Options  -  yes / y / no / n"
}

which causes using power options to fail as there is no message.rasi file in the dir.

In issue 14 it does give a solution but this should be fixed in the code and not something the end user needs to troubleshoot if it's a known issue.

#14 (comment)

from debian-titus.

aphive avatar aphive commented on July 22, 2024

Here is how I fixed mine... It's just the first few lines that need tweaking.

dir="$HOME/.config/rofi/"

theme="$dir/powermenu/drop_square"
confirm="$dir/applets/styles/confirm.rasi"
rofi_command="rofi -theme $dir/$theme"

# Options
shutdown=""
reboot=""
lock=""
suspend=""
logout=""

# Confirmation
confirm_exit() {
	rofi -dmenu\
		-i\
		-no-fixed-num-lines\
		-p "Are You Sure? : "\
		-theme $confirm
}

# Message
msg() {
	rofi -theme "$confirm" -e "Available Options  -  yes / y / no / n"
}

from debian-titus.

aphive avatar aphive commented on July 22, 2024

Question @ChrisTitusTech what is the packages.txt for? Are those packages that should be installed on the system after? Is there a way to ensure this all gets install if they should?

from debian-titus.

Tchutcha87 avatar Tchutcha87 commented on July 22, 2024

image

I'm having trouble to see what's inside the " " () For me, it appears like a hollow box with a few numbers inside. I'm using firefox to see this webpage, on my script I also can't see what's happening inside the " " so my polybar doesn't show a lot of symbols... Is there a way to fix this?

from debian-titus.

aphive avatar aphive commented on July 22, 2024

@Tchutcha87, that is because of the fonts you use, those are "special" characters. The original repo is here with examples of what hey look like in the GUI: https://github.com/adi1090x/rofi

Basically this is how it plays out:

shutdown="" =
reboot="" =
lock="" =
suspend="" =
logout="" =

from debian-titus.

trekie86 avatar trekie86 commented on July 22, 2024

I was able to get the icons loading by going to https://github.com/adi1090x/rofi and running their setup script. Then I went to ~/.config and moved rofi to rofi.back and then rofi.old to rofi and reloaded the window manager. After that, it looks like things load accordingly.

from debian-titus.

nikosszzz avatar nikosszzz commented on July 22, 2024

Also experiencing this issue.

from debian-titus.

Related Issues (20)

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.