projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f65a55f
)
[rc] don't tangle some of the scripts I don't use anymore
author
Amin Bandali
<amin@gnu.org>
Fri, 17 Aug 2018 20:34:19 +0000
(16:34 -0400)
committer
Amin Bandali
<amin@gnu.org>
Fri, 17 Aug 2018 20:34:19 +0000
(16:34 -0400)
rc.org
patch
|
blob
|
blame
|
history
diff --git
a/rc.org
b/rc.org
index
7451fa4
..
525849d
100644
(file)
--- a/
rc.org
+++ b/
rc.org
@@
-5000,7
+5000,7
@@
fi
:header-args+: :tangle ~/.local/bin/toggle-layout :shebang "#!/bin/bash"
:END:
: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
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:
: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
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.
- 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
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:
: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())
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())