If you just want a Window Manager instead of a full Desktop Environment such as GNOME or XFCE, you need the Xorg window system as a base. Easiest would be to just install the xorg group package which includes everything. If you did that correctly you should be able to run startx from your command line and enter a simple default environment with a few xterm terminals.
The first step is to select and install your WM of choice. I would suggest to start with i3/bspwm as they are easy to configure. Install them using pacman -S <your_wm_here>
Change the last lines in your .xinitrc to start you WM of choice when you run startx. The ArchWiki provides great guidance for these first 2 steps for most WMs!
At this point, you should be able to start your WM with the default configuration. You can probably spawn a terminal with the default super + enter keybinding
Some WMs come with a bar by default, such as i3 with i3bar. If your WM doesn't have a bar or if you want to use another one take a look at polybar/lemonbar/tint2. All of them have basic examples of how to install and run them.
From here on it's just changing the config files to your liking, adding colors, borders, hotkeys etc. There are many examples on this subreddit! In my dotfiles you can find configurations for i3, bspwm, herbstluftwm, and polybar. If you want a background I would recommend to use feh.
This is a very basic guide but it should get you started. The best way to learn setting up such an environment is to read the ArchWiki and the documentation by the authors and just play around with it. At some times it can be challenging, but you will also learn a lot of other useful things during this progress!
I'm using i3lock-color which adds more functionality so you can change color and add time/date. To lock my screen I use a simple script which runs i3lock with all my parameters. I use a hotkey (in my case super + F9) to run the lock.
You can also use this script with xautolock to automatically lock your screen after a certain time of inactivity. For example: xautolock -time 15 -locker 'path/to/lock.sh' &
You just made me realize my scripts are not in my dotfiles repository, including my lockscreen which I forgot to include in my screenshots! Can I still add it to the imgur album or will it change the URL?
If you just want a Window Manager instead of a full Desktop Environment such as GNOME or XFCE, you need the Xorg window system as a base. Easiest would be to just install the xorg group package which includes everything. If you did that correctly you should be able to run
startxfrom your command line and enter a simple default environment with a fewxtermterminals.pacman -S <your_wm_here>startx. The ArchWiki provides great guidance for these first 2 steps for most WMs!super + enterkeybindingfeh.This is a very basic guide but it should get you started. The best way to learn setting up such an environment is to read the ArchWiki and the documentation by the authors and just play around with it. At some times it can be challenging, but you will also learn a lot of other useful things during this progress!
dots
Yup :D
I'm using i3lock-color which adds more functionality so you can change color and add time/date. To lock my screen I use a simple script which runs i3lock with all my parameters. I use a hotkey (in my case
super + F9) to run the lock.You can also use this script with
xautolockto automatically lock your screen after a certain time of inactivity. For example:xautolock -time 15 -locker 'path/to/lock.sh' &You just made me realize my scripts are not in my dotfiles repository, including my lockscreen which I forgot to include in my screenshots! Can I still add it to the imgur album or will it change the URL?
I will add the scripts to my dotfiles.