diff --git a/.config/deadd/deadd.conf b/.config/deadd/deadd.conf index af714aa..2be9498 100644 --- a/.config/deadd/deadd.conf +++ b/.config/deadd/deadd.conf @@ -67,12 +67,14 @@ defaultActionButton = mouse3 [buttons] -buttonsPerRow = 5 +buttonsPerRow = 3 buttonHeight = 60 buttonMargin = 2 # labels = "VPN":"Bluetooth":"Wifi":"Screensaver" +labels = "Pause Notifications":"Unpause Notifications":"Close Notification Center" # commands = "sudo vpnToggle":"bluetoothToggle":"wifiToggle":"screensaverToggle" +commands = "/home/sravan/.scripts/deadd.sh --pause":"/home/sravan/.scripts/deadd.sh --unpause":"/home/sravan/.scripts/deadd.sh --toggle-center" diff --git a/README.org b/README.org index 3c1181e..2ffe24c 100644 --- a/README.org +++ b/README.org @@ -1032,7 +1032,7 @@ Note: If you want your buttons in the notification center to be Numbers of buttons that can be drawn on a row of the notification center. #+BEGIN_SRC conf :tangle .config/deadd/deadd.conf -buttonsPerRow = 5 +buttonsPerRow = 3 #+END_SRC Height of buttons in the notification center (in pixels). @@ -1048,11 +1048,13 @@ buttonMargin = 2 Labels written on the buttons in the notification center. Labels should be written between quotes and separated by a colon. For example: #+BEGIN_SRC conf :tangle .config/deadd/deadd.conf # labels = "VPN":"Bluetooth":"Wifi":"Screensaver" +labels = "Pause Notifications":"Unpause Notifications":"Close Notification Center" #+END_SRC Each label is represented as a clickable button in the notification center. The commands variable below define the commands that should be launched when the user clicks on the associated button. There should be the same number of entries in `commands` and in `labels` #+BEGIN_SRC conf :tangle .config/deadd/deadd.conf # commands = "sudo vpnToggle":"bluetoothToggle":"wifiToggle":"screensaverToggle" +commands = "/home/sravan/.scripts/deadd.sh --pause":"/home/sravan/.scripts/deadd.sh --unpause":"/home/sravan/.scripts/deadd.sh --toggle-center" #+END_SRC *** Styling