change default rofi?

Help for MX Fluxbox
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
Jerry3904
Administrator
Posts: 21939
Joined: Wed Jul 19, 2006 6:13 am

change default rofi?

#1 Post by Jerry3904 »

I'm thinking of changing the rofi theme and layout for the next (point?) release. My current preference is to combine drun (menu), window and calc. Without any modified colors etc., this is my working model. I want to get a link to the Help file in the bottom panel if at all possible.

Thoughts? Ideas?
You do not have the required permissions to view the files attached to this post.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
siamhie
Posts: 1602
Joined: Fri Aug 20, 2021 5:45 pm

Re: change default rofi?

#2 Post by siamhie »

Jerry3904 wrote: Mon Jun 27, 2022 9:39 am I'm thinking of changing the rofi theme and layout for the next (point?) release. My current preference is to combine drun (menu), window and calc. Without any modified colors etc., this is my working model. I want to get a link to the Help file in the bottom panel if at all possible.

Thoughts? Ideas?

That looks nice. I'm using an Ark-Dark theme with the run command as well.


rofi.png
You do not have the required permissions to view the files attached to this post.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
Jerry3904
Administrator
Posts: 21939
Joined: Wed Jul 19, 2006 6:13 am

Re: change default rofi?

#3 Post by Jerry3904 »

For very different look I am also attracted to and currently using sidebar.rasi, here with addy's minima tint2:


Image
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Melber
Developer
Posts: 832
Joined: Tue Mar 23, 2021 4:19 pm

Re: change default rofi?

#4 Post by Melber »

I quite like the current rofi setup with only drun. Not sure I have a use case for the window or calc tabs, but maybe that's just me.

Sidebar layout is interesting. Intended as an alternative or replacement for xfce app launcher?

Default rofi with neutral colouring is a good idea. A help button would be useful for new users. If buttons are possible, I'd vote for a button to automatically start rofi-theme-selector.

User avatar
Jerry3904
Administrator
Posts: 21939
Joined: Wed Jul 19, 2006 6:13 am

Re: change default rofi?

#5 Post by Jerry3904 »

I have it now just drun and filebrowser, two that I would use a lot. Filebrowser is super fast.

I've been looking through documentation on buttons and such, not having luck so far.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Melber
Developer
Posts: 832
Joined: Tue Mar 23, 2021 4:19 pm

Re: change default rofi?

#6 Post by Melber »

@Jerry3904
Re: help tab - in case you haven't got this far already, this seems to work

edit modi line in config.rasi to

Code: Select all

modi: "drun, help:~/.config/rofi/help";
and save this as an executable file named help in ~/.config/rofi
(The paths can be changed to someplace else if you don't want to put stuff in .config/rofi)

Code: Select all

#!/bin/bash

if [ x"$@" = x"mxfb-help" ];
then
killall rofi
sleep 0.25
roxterm -e "mxfb-help"
kill roxterm
fi

if [ x"$@" = x"theme-selector" ];
then
killall rofi
sleep 0.25
roxterm -e "rofi-theme-selector"
kill roxterm
fi

echo "mxfb-help"
echo "theme-selector"
rofi-help-tab.png
You do not have the required permissions to view the files attached to this post.

User avatar
Jerry3904
Administrator
Posts: 21939
Joined: Wed Jul 19, 2006 6:13 am

Re: change default rofi?

#7 Post by Jerry3904 »

Very cool, will give it a whirl! Thanks.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Jerry3904
Administrator
Posts: 21939
Joined: Wed Jul 19, 2006 6:13 am

Re: change default rofi?

#8 Post by Jerry3904 »

Works well! In the long run I will probably restrict the help to rofi (including your new app), add a bit of text and provide some links.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
kobaian
Posts: 357
Joined: Fri Jan 03, 2020 6:49 am

Re: change default rofi?

#9 Post by kobaian »

This is mine "MX-comfort"-like theme based on sidetab-adapta theme, that was previously based on sidetab theme by deadguy.
The buttons are: drun | windows | run with some symbols coming from the awesome-font from the MX-repository.
I have improved colors to match the MX-comfort-dark style and the default panel.

Image

Code: Select all

/*
 * mx-comfort theme,
 * based on sidetab-adapta theme,
 * that was based on sidetab theme by deadguy.
 *
 * This theme has been dedicated to the public domain.
 *
 */

configuration {
        show-icons:   true;
        sidebar-mode: true;
}

* {
        background-color: transparent;
        text-color:                 #ffffff;

        accent-color:               #0F56D9;
        accent2-color:              #0F56D9;
        hover-color:                #29353B;
        urgent-color:               #ff5252;
        window-color:               #ffffff;

        selected-normal-foreground: @window-color;
        normal-foreground:          @text-color;
        selected-normal-background: @hover-color;
        normal-background:          @background-color;

        selected-urgent-foreground: @background-color;
        urgent-foreground:          @text-color;
        selected-urgent-background: @urgent-color;
        urgent-background:          @background-color;

        selected-active-foreground: @window-color;
        active-foreground:          @text-color;
        selected-active-background: @hover-color;
        active-background:          @accent-color;
}

#window {
		background-color:           #1D2324EE;
		margin: 0px 0px 0px;
        anchor:   south west;
        location: south west;
        width:    25%;
        height:   60%;
}

#mainbox {
        children: [ entry, listview, mode-switcher ];
}

entry {
        expand: false;
        margin: 8px;
}

element {
        padding: 8px;
}

element normal.normal {
        background-color: @normal-background;
        text-color:       @normal-foreground;
}

element normal.urgent {
        background-color: @urgent-background;
        text-color:       @urgent-foreground;
}

element normal.active {
        background-color: @active-background;
        text-color:       @active-foreground;
}

element selected.normal {
        background-color: @selected-normal-background;
        text-color:       @selected-normal-foreground;
        border:           0 4px solid 0 0;
        border-color:     @accent2-color;
}

element selected.urgent {
        background-color: @selected-urgent-background;
        text-color:       @selected-urgent-foreground;
}

element selected.active {
        background-color: @selected-active-background;
        text-color:       @selected-active-foreground;
}

element alternate.normal {
        background-color: @normal-background;
        text-color:       @normal-foreground;
}

element alternate.urgent {
        background-color: @urgent-background;
        text-color:       @urgent-foreground;
}

element alternate.active {
        background-color: @active-background;
        text-color:       @active-foreground;
}

button {
        padding: 6px;
        text-color:       #8FBCBB;
}

button selected {
        background-color: @hover-color;
        text-color:       @selected-normal-foreground;
        border:           4px solid 0 0 0;
        border-color:     @accent2-color;
}

/* vim: ft=css
Desktop PC: Intel Core i5-4670K, Gigabyte H81M-S2PV, 16GB RAM, NVIDIA Quadro K2000. Laptop: MacBook Late 2008, Core2Duo 2.0GHz, 8GB RAM. Netbook: Asus EEEPC Intel Atom 1.6GHz, 2GB RAM. System: MX23 64bit/32bit Fluxbox.

User avatar
Jerry3904
Administrator
Posts: 21939
Joined: Wed Jul 19, 2006 6:13 am

Re: change default rofi?

#10 Post by Jerry3904 »

That looks great! Nice to see the theme code, thanks.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

Post Reply

Return to “MX Fluxbox Official Release”