some minor changes, fix segmentation fault by removing options spmenu

cannot handle using .Xresources

the options removed can be set in the spmenu.conf
This commit is contained in:
speedie 2023-04-04 23:47:01 +02:00
parent 4bea5ab021
commit 4a1cc69f7f
3 changed files with 1 additions and 13 deletions

View file

@ -87,7 +87,6 @@ spmenu.minwidth: 1000
spmenu.dockproperty: 1
!! General
spmenu.class: spmenu
spmenu.fast: 0
spmenu.managed: 0
spmenu.mon: -1
@ -116,13 +115,6 @@ spmenu.hidecursor: 0
spmenu.hidehighlight: 0
spmenu.hideimage: 0
!! Text
spmenu.prompt:
spmenu.input:
spmenu.normtext: Normal
spmenu.instext: Insert
spmenu.password: *
!! Pango markup toggles
spmenu.pango_item: 1
spmenu.pango_prompt: 1

View file

@ -61,10 +61,6 @@ ResourcePref resources[] = {
{ "type", INTEGER, &type },
{ "minwidth", INTEGER, &minwidth },
{ "preselected", INTEGER, &preselected },
{ "password", STRING, &password },
{ "class", STRING, &class },
{ "normtext", STRING, &normtext },
{ "instext", STRING, &instext },
{ "borderwidth", INTEGER, &borderwidth },
{ "lines", INTEGER, &lines },
{ "lineheight", INTEGER, &lineheight },

View file

@ -3,5 +3,5 @@
# This script installs all the profiles, allowing spmenu to see and choose them.
CONFDIR="${XDG_CONFIG_HOME:-$HOME/.config}"
mkdir -p "$CONFDIR/spmenu/profiles/"
cp ./* legacy/* "$CONFDIR/spmenu/profiles/"
cp legacy/* "$CONFDIR/spmenu/profiles/"
rm -f "$CONFDIR/spmenu/profiles/install.sh" "$CONFDIR/spmenu/profiles/README.md" "$CONFDIR/spmenu/profiles/sample.theme"