-
Notifications
You must be signed in to change notification settings - Fork 1
/
.musca_start
executable file
·139 lines (111 loc) · 2.91 KB
/
.musca_start
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
exec musca
startup .musca_start
border_focus yellow
border_width 0
# focus on the new frame after split
frame_split_focus new
# close the un-fucusd & empty group
group_close_empty 1
#quit musca
bind on Mod4+Shift+q quit
# 按Mod4 + 数字键快速地切换工作组
bind on Mod4+1 use 0
bind on Mod4+2 use 1
bind on Mod4+3 use 2
bind on Mod4+4 use 3
bind on Mod4+5 use 4
bind on Mod4+6 use 5
bind on Mod4+7 use 6
bind on Mod4+8 use 7
bind on Mod4+9 use 8
bind on Mod4+0 use 9
bind on Mod4+q exec musca-off
bind on Mod4+i exec firefox
bind on Mod4+f exec thunar
bind on Mod1+Left slide left
bind on Mod1+Right slide right
bind on Mod1+Up slide up
bind on Mod1+Down slide down
bind on Mod4+Shift+h focus left
bind on Mod4+Shift+j focus down
bind on Mod4+Shift+k focus up
bind on Mod4+Shift+l focus right
bind on Mod4+Shift+1 move 0
bind on Mod4+Shift+2 move 1
bind on Mod4+Shift+3 move 2
bind on Mod4+Shift+4 move 3
bind on Mod4+Shift+5 move 4
bind on Mod4+Shift+6 move 5
bind on Mod4+Shift+7 move 6
bind on Mod4+Shift+8 move 7
bind on Mod4+Shift+9 move 8
bind on Mod4+Shift+0 move 9
bind on Mod1+Mod4+h swap left
bind on Mod1+Mod4+l swap right
bind on Mod1+Mod4+k swap up
bind on Mod1+Mod4+j swap down
# 切换相邻的虚拟桌面
bind on Mod4+n use (next)
bind on Mod4+p use (prev)
bind on XF86AudioRaiseVolume exec amixer sset Master,0 5%+
bind on XF86AudioLowerVolume exec amixer sset Master,0 5%-
frame_min_wh 150
frame_resize 10
stack_follow_mouse 1
frame_display_hidden 1
frame_split_focus current
pad 0 0 40 40
hook on ^add pad 0 0 40 40
# 使用xft字体
use_xft yes
# 默认的xft字体
xftfont wqy:size=16
# Text alpha when using Xft
xftalpha 1.0
# 每8秒更新一次
update_interval 8.0
# 更新的次数,设为0是永远更新
total_run_times 0
# 使用桌面,不用自己的窗口
own_window no
add 1
add 2
add 3
add 4
add 5
add 6
add 7
add 8
add 9
add 0
use 0
exec /usr/local/fcitx/bin/fcitx -d &
exec /usr/local/bin/sslocal -c /home/solos/.shadowsocks/config.json &
exec /usr/bin/python /home/solos/.dropbox.py start &
exec numlockx &
exec parcellite &
exec xmodmap ~/.xmodmap &
manage off tint2
manage off conky
manage off fcitx
manage off QEMU
manage off xmessage
#exec conky
#exec stalonetray
#exec xbindkeys
#exec feh --bg-scale ~/pic/wall/sailor.starrynight.jpg
#exec xmobar
# unclutter 用来隐藏 X 鼠标/光标
#exec unclutter -idle 2
exec tint2 &
#xfdesktop &
#xfce4-panel &
# [ notify ]# {{{
#--------------------------------------------
# 使用 xmessage 作为 提示 对话框,设置显示时间为 2s 之后自动关闭
# 要使 xmessage 居中生效,XXX 需要 manage off xmessage
#set notify xmessage -center -timeout 1 -file -
#set notify xmessage -center -file -
#silent set notify echo "$(cat)" | dzen2 -p 4 -bg \#D00 -fg white -fn '-misc-fixed-medium-r-normal--15-*-*-*-*-*-iso10646'
# 需要安装 notify-send 软件包 # From : man musca
#set notify notify-send -t 3000 Musca "$(cat)"