cleanup more

This commit is contained in:
speedie 2022-12-04 22:10:50 +01:00
parent 76b987870b
commit 78ffe6731d
3 changed files with 0 additions and 18 deletions

View file

@ -18,17 +18,12 @@ speedwm.bar.hide.sticky: 0 ! Hide the sticky indicator (0/1)
speedwm.bar.hide.status: 0 ! Hide the status bar (0/1)
speedwm.bar.hide.systray: 0 ! Hide the systray (0/1)
speedwm.bar.hide.title: 0 ! Hide the window title (0/1)
speedwm.bar.hide.unseltitle: 0 ! Hide the unselected window title (0/1)
speedwm.bar.hide.icon: 0 ! Hide the window icon (0/1)
!! Title options
speedwm.bar.titleposition: 1 ! Position of the title (0: Left, 1: Center)
!! Layout indicator options
speedwm.bar.layoutposition: 1 ! Position of the layout indicator (0: Right, 1: Left)
!! Border options
speedwm.border.roundedcorners: 0 ! Enable rounded corners around the border of windows (0/1)

View file

@ -313,7 +313,6 @@ struct Monitor {
/* bar items */
int hidelayout;
int hidetitle;
int hideunselectedtitle;
int hidestatus;
int hideicon;
int hidetags;
@ -1720,7 +1719,6 @@ createmon(void)
/* bar items */
m->hidelayout = hidelayout;
m->hidetitle = hidetitle;
m->hideunselectedtitle = hideunselectedtitle;
m->hidestatus = hidestatus;
m->hideicon = hideicon;
m->hidetags = hidetags;
@ -5485,15 +5483,6 @@ viewtoleft_vacant(const Arg *arg)
view(&(const Arg){.ui = prevtag_skip_vacant()});
}
void
toggleltpos(const Arg *arg)
{
selmon->layoutposition = !selmon->layoutposition;
updatebarpos(selmon);
arrange(selmon);
}
void
togglebar(const Arg *arg)
{

View file

@ -79,11 +79,9 @@ ResourcePref resources[] = {
{ "cursor.warp", INTEGER, &warpcursor },
{ "tag.pertag", INTEGER, &pertag },
{ "stack.i3mcount", INTEGER, &i3mastercount },
{ "bar.layoutposition", INTEGER, &layoutposition },
{ "bar.titleposition", INTEGER, &titleposition },
{ "bar.hide.layout", INTEGER, &hidelayout },
{ "bar.hide.title", INTEGER, &hidetitle },
{ "bar.hide.unseltitle", INTEGER, &hideunselectedtitle },
{ "bar.hide.icon", INTEGER, &hideicon },
{ "bar.hide.tags", INTEGER, &hidetags },
{ "bar.hide.emptytags", INTEGER, &hideemptytags },