siduck/dotfiles

what does sx do?

peppapig450 opened this issue · 3 comments

I couldnt find documentation for it anywhere, and I am curious what it does because it looks interesting

I couldnt find documentation for it anywhere, and I am curious what it does because it looks interesting

it starts a xorg server. I dont use a display manager so I directly run xorg from cli , Most use startx but sx's more minimal.

(My .xinitrc for example)
image

as you can see in the .xinitrc , there are cases of different wms being used. the default one is dwm.

startx (in tty, and this will run dwm)
sx sh ~/.xinitrc (will do the same!)
(To not run the default wm)

startx bsp
sx sh ~/.xinitrc bsp 

I dont want the long commands for sx so i made small aliases for them.

ohhhhh that's how you use it. Thanks!