From e388ae6fc6f7376d07dd34788145fcf5fc0cc0c5 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 17 Aug 2018 16:34:19 -0400 Subject: [PATCH] [rc] don't tangle some of the scripts I don't use anymore --- rc.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rc.org b/rc.org index 7451fa4..525849d 100644 --- a/rc.org +++ b/rc.org @@ -5000,7 +5000,7 @@ fi :header-args+: :tangle ~/.local/bin/toggle-layout :shebang "#!/bin/bash" :END: -#+begin_src bash +#+begin_src bash :tangle no lang="$(setxkbmap -print | grep xkb_symbols | cut -d'+' -f 2)" if [ "$lang" = "us" ]; then @@ -5016,7 +5016,7 @@ fi :header-args+: :tangle ~/.local/bin/toggle-presentation-mode :shebang "#!/bin/bash" :END: -#+begin_src bash +#+begin_src bash :tangle no xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -T #+end_src @@ -5035,7 +5035,7 @@ a few things: - properly rotates the stylus pen and touch screen pointers, and - toggles between RGB and Vertical BGR sub-pixel order. -#+begin_src bash +#+begin_src bash :tangle no case $(xfconf-query -c pointers -p /Wacom_ISDv4_E6_Pen_stylus/Properties/Wacom_Rotation) in 0) # Screen is not rotated, we should rotate it right (90°) xrandr -o 3 @@ -5063,7 +5063,7 @@ esac :header-args+: :tangle ~/.local/bin/unlock-def-gk.py :shebang "#!/usr/bin/env python2" :END: -#+begin_src python +#+begin_src python :tangle no import gnomekeyring as gk # list_item_ids_sync('login')[0] == 1L gk.unlock_sync('Default_keyring',gk.item_get_info_sync('login',1L).get_secret()) -- 2.20.1