Skip to content

Unable to change window size without cropping (horizontal) #27

@Jan-Aarela

Description

@Jan-Aarela

Wofi seems to cut last entry's visibility (as shown in example screenshots) if manually placing width parameter in the config file.

This issue happened after "pacman -Syu" and when restarting I noticed this issue (before reboot).

Downgraded to 1.5 and it does not have this issue.

Without "width: 600px:

Image

With "width: 600px:

Image

Example script:

#!/bin/bash

# Start wofi with selections
SELECTED=$(echo -e "\n\n󱀚" | wofi -dmenu -p "Power Profiles" -s ~/.config/wofi/icon.css -i -c ~/.config/wofi/power)

case "$SELECTED" in
"󱀚")
  powerprofilesctl set performance &
  aplay ~/.config/sounds/theme_switch.wav
  ;;
"")
  powerprofilesctl set balanced &
  aplay ~/.config/sounds/theme_switch.wav
  ;;
"")
  powerprofilesctl set power-saver &
  aplay ~/.config/sounds/theme_switch.wav
  ;;
esac

Style:

* {
  font-family: "jetbrainsmono nerd font mono";
}

#text {
  padding-left: 50px;
  padding-right: 50px;
  font-size: 128px;
}

/*Rest are for debugging */

window {
  background-color: red;
}

#input {
  background-color: blue;
}

#inner-box {
  background-color: yellow;
}

#outer-box {
  background-color: green;
}

#scroll {
  background-color: orange;
}

#text {
  background-color: cyan;
}

Config:

orientation=horizontal
hide_search=true
halign=center
valign=center
hide_scroll=true
; height=220
; width=600
lines=1
cache_file=/dev/null
close_on_focus_loss=true

EndeavourOS
Hyrpland 0.53.3
wofi 1.5.3

gtk3 1:3.24.51-1
pkgconf 2.5.1-1
wayland 1.24.0-1
wayland-protocols 1.47-1
wayland-utils 1.3.0-1
glib2 2.86.3-2
gobject-introspection-runtime 1.86.0-2
python-gobject 3.54.5-2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions