Instruction
This is my awesome3.5 configration for Arch. Firstly, you need to install these packages:
Dependencies
ttf-font-awesome: Iconic font designed for Bootstrap yaourt -S ttf-font-awesome
vicious: Widgets for the Awesome window manager pacman -S vicious
mpd: Flexible, powerful, server-side application for playing music pacman -S mpd
mpc: Minimalist command line interface to MPD pacman -S mpc
scrot: A simple command-line screenshot utility for X pacman -S scrot
xcompmgr: Composite Window-effects manager for X.org pacman -S xcompmgr
devilspie: Window matching utility for X pacman -S devilspie
transset-df: A patched version of X.Org's transset with added functionality pacman -S transset -df
Install
cd ~/.config/awesome
git clone git@github.com:number317/Awesomewm_config.git
And you should replace "/home/cheon"(cheon is my username) in the rc.lua with your own username, or it will crash because of wrong icon path.
Now you can press ctrl+Mod4+r to restart awesome, I think it will work.
Screenshorts:
menunotification
applications
widgets
From left to right: memory, cpu, music, volume, battery, time, layout(seperate by space)
Functions
Memory:
- left click: show a short message about the uptime, users and average load.
Cpu:
- left click: show the first five task in the tasklist.
Music:
- left click: mpc toggle, pause when it plays and play when it pauses.
- right click: Stop the music.
- middle up: previous music.
- middle down: next music.
You should start mpd first if you want to use these functions, or it will display nothing. Usesudo systemctl start mpd
to start mpd or usesudo systemctl enable mpd
to auto start mpd when system starts.
Volume:
- left click: volume toggle, mute or unmute(if mute, the icon changes to red)
- middle up: volume up.
- middle down: volume down.
Battery:
- left click: switch to next level of brightness.
- right click: switch to privious level of brightness.
There are three level of brightness: 10, 50, 90.
Time:
- left click: switch between calendar and time.
Shortcut key
- Control + Mod4 + Space: switch to next layout.
- Shift + Mod4 + Space: switch to previous layout.
- Mod4 + Next: increase the transparence of current windows by 0.1.
- Mod4 + Prior: decrease the transparence of current windows by 0.1.
- Control + Mod4 + f: start firefox.
- Control + Mod4 + e: start thunderbird.
- Mod4 + Enter: start a terminal.
- Mod4 + b: hide or show the status bar.
- Control + Shift + Mod4 + Space: change the current windows to float or not.
网友评论