You are not logged in.

#1 2011-01-05 23:57:17

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

/etc/laptop-mode/conf.d/exec-commands.conf help

I want conky to die when I unplug my laptop, but to come back when I plug it back in. So far I can get it to die when I unplug, but I can't get it back...

#
# Configuration file for Laptop Mode Tools module exec-commands
#
# For more information, consult the laptop-mode.conf(8) manual page.
#


###############################################################################
# Execute custom commands for power saving settings
# -------------------------------------------------
#
# If you enable this setting, laptop mode tools will execute the specified
# commands on mode change.
# Please double test your commands before adding them here
#
###############################################################################

# Control exec-commands power savings?
CONTROL_EXEC_COMMANDS="1"

# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0


# Command list
# You can populate the command list on the basis of the events
# Please double test your commands before adding them here
#
# Currently, a max of 10 commands are supported
#
BATT_EXEC_COMMAND_0="killall conky" # Enable power saving feature 0 here
LM_AC_EXEC_COMMAND_0="conky -c /home/rob/.conkyrc" # Enable power saving feature 0 here
NOLM_AC_EXEC_COMMAND_0="conky -c /home/rob/.conkyrc" # Disable power saving feature 0 here

Offline

Board footer

Powered by FluxBB