-
Notifications
You must be signed in to change notification settings - Fork 4
/
wmiirc_local
executable file
·61 lines (56 loc) · 1.72 KB
/
wmiirc_local
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
MODKEY=Mod4
# Tagging Rules
wmiir write /tagrules <<EOF
/Mplayer|VLC/ floating=on
/MPlayer|VLC/ -> ~
/Gnome-terminal/ -> sel
/Firefox|Chrome/ -> sel
EOF
WMII_TERM="urxvt"
# Reference:
#wmiir write /tagrules <<!
# # Apps with system tray icons like to their main windows
# # Give them permission.
# /^Pidgin:/ allow=+activate
#
# # MPlayer and VLC don't float by default, but should.
# /MPlayer|VLC/ floating=on
#
# # ROX puts all of its windows in the same group, so they open
# # with the same tags. Disable grouping for ROX Filer.
# /^ROX-Filer:/ group=0
# #
# #
# /MPlayer.*/ -> ~+video+code+social+web
# /VLC.*|vlc.*/ -> ~+video+code+social+web
# /Boxee.*|boxee.*/ -> ~+video+code+social+web
# /huludesktop|huludesktop.*/ -> ~+video+code+social+web
# /firefox.*|Firefox.*|Namoroka.*|Mozilla.*/ -> +web
# /Thunderbird.*|Muttator.*/ -> +web
# /dwb.*|DWB.*/ -> +web
# /vimprobable2.*|uzbl.*/ -> +web
# /gedit|leafpad/ -> +code
# /Gimp.*|Darktable/ -> ~+art
# /xcalc/ -> ~
# /CP shell/ -> +code
# /SU shell/ -> +admin
# /HS shell/ -> +social
# /VE shell/ -> +video+code+social+web
# /KDX.*/ -> ~+social
# /nautilus|thunar|FM shell/ -> +file
# /LibreOffice|libreoffice|apvlv|xchm|mcomix/ -> +office
# /armagetronad/ -> +game
# /.*/ -> sel
# /.*/ -> 1
#!
# Status Bar Info
status() {
BAT=`acpi -b`;
LEFT=`echo $BAT | cut -d ',' -f 2`;
#TEMP=`acpi -t -B -c | cut -d ',' -f 2 | cut -d "." -f 1`;
TEMP=`acpi -t | awk '{print $4}'`;
LOAD=$(uptime | sed 's/.*://; s/,//g');
DATE=`date +"%d/%m/%y %R:%S"`;
echo -n T: $TEMP '|' B: $LEFT '|' $LOAD '|' $DATE;
}
setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,il