Skip to content

Latest commit

 

History

History
89 lines (65 loc) · 2.54 KB

awesome.org

File metadata and controls

89 lines (65 loc) · 2.54 KB

Sigil Meanings

sticky
floating
maximized horiz
max vert
on top

Two monitors

mod key +

ofocus_relativeput focus on other screen
S-omove_to_screenmove current window to other monitor

Basics

All commands below must also use the Windows Key

j (k)Cycle focus
S-j (S-k)Rotate window location
oSend a window to the other monitor
C-j (C-k)Move focus to other monitor
1..9move to desktop (tag)
S-1..9send window to desktop
h (l)In/decrease window size
SPACECycle through layouts
ENTERLaunch terminal
rrun a program
C-rrestart

Other

C-Enterswap focus
C-(1-9)toggle tag view
S-C-(1-9)Toggle tag on client
S-(F1-9)Tag marked clients with tag
LEFTview prev tag
RIGHTview next tag
h/l(in/de)crease master
S-h/l(in/de)crease master
C-h/l(in/de)crease non-master
j/kfocus next/prev window
S-j/kmove window

Global

ENTERopen terminal
rrun
S-cclose
W(-S)-SPC(next/prev) layouts
C-SPCtoggle floating
ufocus urgent client
ESCfocus prev selected tag set
S-qquit
xlua code prompt
m/nmaximize/minimize
ffullscreen
tmark window

Black wallpaper

% sudo sed -i ‘s/^theme.wallpaper.*/theme.wallpaper_cmd = { “xsetroot -solid black” }/’ /usr/share/awesome/themes/default/theme.lua % awesome -k

Need to reboot. Simply restarting awesome isn’t enough!

Keybindings

Say I want to set the ‘Function-F8’ key to mean mute speakers. In: ~/.config/awesome/rc.lua add an entry like:

awful.util.table.join(
---...
   awful.key({ modkey,           }, "F8", 
             function () 
                awful.util.spawn_with_shell("amixer -q set Master mute") 
   end),