-
On sway I had a bar that would only appear when I pressed a key bind and show the mode name. I would like to replicate this on hyprland but can't find a way to do so. I can get the name of the submap to appear on an already opened bar if it has the Launching the bar with the same key bind as the submap doesn't work, as the name will not appear on the bar when its launched. If you don't have the submap reset to also kill the bar, pressing the key bind again will create an additional bar and the submap name will be displayed on the old bar. The waybar bar I'm using:
Added the The submap key bind:
Added the Is there any way to get this working? Want:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You can make the bar transparent and the widget have background in your style.css, something like this:
|
Beta Was this translation helpful? Give feedback.
Done it!
Had to make another bar because in the style config for
#submap
if I went more thanpadding: 0 677px;
it would start to cut off the text on the 1080p screens. I needed it to go longer though as my main monitor is 2160p, and needpadding: 0 1637px;
.The only solution was to make a new identical bar, add/change some settings, create style configs for both, and open the bars with the style path set. Many thanks to @alttabber for helping me.
Bar Configs
hyprland-mode-system_1080