summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Bellanger <keeguon@perception.(none)>2007-05-28 19:30:30 +0200
committerFelix Bellanger <keeguon@perception.(none)>2007-05-28 19:30:30 +0200
commit23bed014c00de0f408ec5d5f457858055038facb (patch)
tree2377f0e63ea70c03740a8e77cfc9ab793373d4c6
parent3d0e02867ec4e15ebab0dcd0c1ca1ed39cd2fee1 (diff)
downloadcompiz-icon-23bed014c00de0f408ec5d5f457858055038facb.tar.gz
compiz-icon-23bed014c00de0f408ec5d5f457858055038facb.tar.bz2
=> Major changes
Renamed Compiz Manager by Compiz Tray Icon Modified: ChangeLogs Modified: Makefile Modified: README Modified: setup.py Renamed: compiz-manager.py > compiz-icon.py Renamed: compiz-manager > compiz-icon Modified: compiz-icon.py
-rw-r--r--ChangeLogs2
-rwxr-xr-xMakefile6
-rw-r--r--README8
-rwxr-xr-xbin/compiz-icon (renamed from bin/compiz-manager)0
-rwxr-xr-xsetup.py8
-rwxr-xr-xsrc/compiz-icon.py (renamed from src/compiz-manager.py)10
6 files changed, 17 insertions, 17 deletions
diff --git a/ChangeLogs b/ChangeLogs
index da3dd31..8595f96 100644
--- a/ChangeLogs
+++ b/ChangeLogs
@@ -1,6 +1,6 @@
# Version 0.6
=> Recoded the apps from scratch
-=> Adding a config file to save your compiz manager configuration
+=> Adding a config file to save your compiz tray icon configuration
=> CCSM now default Settings Manager
# Version 0.5.2
diff --git a/Makefile b/Makefile
index a7bea24..fbe452d 100755
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,6 @@ install:
clean:
./setup.py clean
uninstall:
- rm -R $(TARGET)/share/compiz-manager
- rm -R $(TARGET)/share/pixmaps/compiz-manager
- rm -R $(TARGET)/bin/compiz-manager
+ rm -R $(TARGET)/share/compiz-trayicon
+ rm -R $(TARGET)/share/pixmaps/compiz-trayicon
+ rm -R $(TARGET)/bin/compiz-trayicon
diff --git a/README b/README
index 53c8c14..6943e5c 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
-## Compiz Manager ##
-Compiz Manager is a small program written in python which lets you control your GL Desktop it handles your different decorators (non-GL/GL) and configurators.
+## Compiz Tray Icon ##
+Compiz Tray Icon is a small program written in python which lets you control your GL Desktop it handles your different decorators (non-GL/GL) and configurators.
## Decorators
Supported non-GL decorator(s):
@@ -11,10 +11,10 @@ Supported GL decorator(s):
=> Emerald
## Installation
-Untar the Compiz Manager direcory and cd into it then run:
+Untar the Compiz Tray Icon direcory and cd into it then run:
sudo make install
-## Go-Compiz Tray Icon Requirements
+## Compiz Tray Icon Requirements
=> It's written in python and using GTK so I think you might need these two and their libraries...
## Thanks to:
diff --git a/bin/compiz-manager b/bin/compiz-icon
index 8584df2..8584df2 100755
--- a/bin/compiz-manager
+++ b/bin/compiz-icon
diff --git a/setup.py b/setup.py
index 791a184..10657bb 100755
--- a/setup.py
+++ b/setup.py
@@ -17,15 +17,15 @@ setup(
description = 'Compiz-Manager is a tray icon tool to launch Compiz with different window manager or window decorator. You can also ask Compiz to start different options or configure active plugins with some configuring tools...',
# Files that needs to be installed
data_files = [
- (INSTALL_PREFIX + '/share/compiz-manager',
- ['src/compiz-manager.py']),
- (INSTALL_PREFIX + '/share/pixmaps/compiz-manager',
+ (INSTALL_PREFIX + '/share/compiz-trayicon',
+ ['src/compiz-icon.py']),
+ (INSTALL_PREFIX + '/share/pixmaps/compiz-trayicon',
['pixmaps/about.png',
'pixmaps/tray-icon.svg',
'pixmaps/wm-select.png',
'pixmaps/wd-select.png']),
(INSTALL_PREFIX + '/bin',
- ['bin/compiz-manager']),
+ ['bin/compiz-trayicon']),
#(INSTALL_PREFIX + '/share/compiz-manager/docs',
# ['docs/*.*']),
]
diff --git a/src/compiz-manager.py b/src/compiz-icon.py
index 161e3e5..6ce3b81 100755
--- a/src/compiz-manager.py
+++ b/src/compiz-icon.py
@@ -36,7 +36,7 @@ def fallback_wm():
def create_config_file():
default_config = open(config_file, 'w')
- default_config.write('# Config file for compiz-manager (generated with python)\n')
+ default_config.write('# Config file for compiz-trayicon (generated with python)\n')
default_config.write('\n')
default_config.write('[window_manager]\n')
default_config.write('set_active_wm = compiz\n')
@@ -361,7 +361,7 @@ for line in processes:
# Get installed application
app_is_installed = []
-apps = ('compiz.real', 'ccs-settings' , 'gtk-window-decorator', 'kde-window-decorator', 'emerald' , 'metacity' , 'kwin')
+apps = ('compiz.real', 'ccsm' , 'gtk-window-decorator', 'kde-window-decorator', 'emerald' , 'metacity' , 'kwin')
for application in apps:
if system("which " + application) == 0:
app_is_installed.append(application)
@@ -371,14 +371,14 @@ default_gl_decorator()
# Variables
user = getoutput("whoami")
-home_directory = '/home/' + user + '/.compiz-manager'
+home_directory = '/home/' + user + '/.compiz-trayicon'
config_file = home_directory + '/config.ini'
-pixmap_dir = '/usr/share/pixmaps/compiz-manager/'
+pixmap_dir = '/usr/share/pixmaps/compiz-trayicon/'
# Home directory related stuffs
if exists(home_directory) == False:
# Create home directory
- Popen(['mkdir /home/' + user + '/.compiz-manager'])
+ Popen(['mkdir' , home_directory])
# Create and Write the default config_file
create_config_file()
if exists(home_directory) == True and exists(config_file) == False: