dotfiles

configuration files
git clone https://pi.duncano.de/git/dotfiles.git
Log | Files | Refs | README

commit af363d10381831bef8ac3f24ab86e3243a9493b1
parent b2706eb5f04ae86ddad8b02262ad3aefd7c7bf61
Author: Duncaen <mail@duncano.de>
Date:   Tue, 30 Jun 2015 22:12:18 +0200

dmenu_power add lock option

Diffstat:
bin/dmenu_power | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/dmenu_power b/bin/dmenu_power @@ -1,9 +1,10 @@ -#!/bin/mksh +#!/usr/bin/mksh : ${DMENU:=dmenu} -ret=$(echo "Suspend\nHibernate\nReboot\nShutdown" | ${DMENU} -p "Power:" -i | tr '[A-Z]' '[a-z]') +ret=$(echo "Suspend\nLock\nHibernate\nReboot\nShutdown" | ${DMENU} -p "Power:" -i | tr '[A-Z]' '[a-z]') case "$ret" in suspend) sudo zzz ;; + lock) slock ;; hibernate) sudo ZZZ ;; reboot) sudo reboot ;; shutdown) sudo halt ;;