This is just a specific awesomewm
configuration that works well on ArchLinux.
This project is not an invention of how things shall be done, but a good maintained example of how to configure awesomewm
for daily use. It is a current solution to various daily desktop usage needs of the author and is shared here in the hope of helping others to start with awesomewm
. The author uses XFCE4 as a backup DE. XFCE tools are used when appropriate. Screenshot tool is a good example.
Status: it is in daily use.
Clone into $XDG_CONFIG_HOME
directory or $HOME/.config
:
cd $HOME/.config
git clone https://github.com/Kulak/bawesome.git awesome
cd awesome
git submodule init
git submodule update
- on screen help demonstrates that all on screen help text is readable
- run application provides a quick way to start application with
command-shift-Enter
shortcut. - clipboard manager
- active window is at the bottom right corner of the screenshot and it has a lighter blue border around the window than others.
Features at a glance copared to default script:
- better launcher
- blue color scheme
- active window highlight
- readable help screen window
- multiple monitor support
- keyboard shortcuts to manage sound volume mapped to keyboard "volume" management buttons
- laptop keyboard highlight with keyboard shortcuts
- automatic laptop power indicator visible only when battery is present
- screenshooter with keyboard shortcuts
- optional require
- better support for spawning a process
- parts of configuration script are overridable without need to commit upstream
- one large rc script is broken into manageable parts with clear dependencies between scripts (reduced reliance on globals)
The color scheme is just a copy of default scheme with tweaks to improve usability.
The color scheme uses classic blue color to indicate window in focus. It uses blue window border for focused window. This visually connects "taskbar" area with window border and makes it more intuitive to identify focused window.
Non-focused windows are of darker blue color.
Minimized windows have dark background.
Keyboard shortcuts text in Help dialog window is readble.
Mapped nice XFCE4 screenshot taking application to standard set of Print Scr key combinations.
Use of "rofi" as launcher, because it is easy to see and to read. Default launcher steals focus and its focus can be easily missed.
"rofi" is used as Window Switcher and matches standard "Alt-Tab" keyboard shortcut.
Keyboard volume management keys (up, down and mute toggle) are properly mapped via pactl
.
Monitor brightness control keys are mapped.
Requires loading GIT submodule.
To generate "classic" menu for your installed applicatinons:
xdg_menu --format awesome --root-menu /etc/xdg/menus/arch-applications.menu > ~/.config/awesome/overrides/xdg_menu.lua
About xdg_menu on ArchLinux.
Create overrides/my.lua
file. Start with template:
cp overrides/templates/my.lua overrides/my.lua
Included randr
script from the main website and mapped it to command-O
to turn on and off multiple monitors.
See notes.
References are to Arch Linux packages. Use "Upstream URL" on corresponding package pages to identify actual application dependency for your Linux distribution.
- alacritty default terminal emulator, overridable.
- vim required internally.
- rofi for effecient program and window management.
- XFCE4 Tools
- xfce4-screenshooter;
- xfce4-clipman for screenshooter clipboard support.
- pactl to raise and reduce volume.
- pavucontrol pulse audio UI control.
- xbacklight for laptop monitor brightness.
- pgrep to start programs once.
- whoami.