forked from vuleetu/home
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.compiz.sh
executable file
·44 lines (29 loc) · 1.07 KB
/
.compiz.sh
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
#!/bin/bash
# /usr/local/bin/start-fushion.sh
## pcmanfm 使用 gvfs 挂载移动设备时需要用到
## 依赖:dbus-launch --> 软件包 dbus
#dbuslaunch="`which dbus-launch 2>/dev/null`"
#if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
# eval `$dbuslaunch --sh-syntax --exit-with-session`
#fi
#(sleep 2 && adeskbar) &
#feh --bg-scale ~/pic/wall/sailor.starrynight.jpg &
# XXX man feh 将最近执行的桌面背景命令保存在 ~/.fehbg 文件,使用下面命令读取执行
eval $(cat ~/.fehbg)
xmobar &
# 在 compiz 下不生效
#xsetroot -solid "#a8a8a8"
#(sleep 4 && conky -c conky/compiz_conky) &
# 执行顺序 [?]
exec compiz --replace ccp & emerald --replace
# 缺少 emerald 无法启动 compiz 桌面
#exec compiz --replace ccp &
#################### Below the 'exec' will not run ######################
#exec compiz --replace ccp &
#exec emerald --replace
#sh /root/.scripts/start_compiz.sh
#exec compiz --replace ccp &
#exec emerald --replace &
#exec fusion-icon &
# Autostart applications
#(sleep 80 && conky) &