return $ret
}
+psoff() {
+ # normally, i would just execute these commands in the function.
+ # however, DEBUG is not inherited, so we need to run it outside a function.
+ # And we want to run set -x afterwards to avoid spam, so we cram everything
+ # in here, and then it will run after this function is done.
+ PROMPT_COMMAND='trap DEBUG; unset PROMPT_COMMAND; PS1="\w \$ "'
+}
+pson() {
+ PROMPT_COMMAND=prompt-command
+ if [[ $TERM == *(screen*|xterm*|rxvt*) ]]; then
+ trap 'settitle "$BASH_COMMAND"' DEBUG
+ fi
+}
tx() { # toggle set -x, and the prompt so it doesnt spam
if [[ $- == *x* ]]; then
set +x
- PROMPT_COMMAND=prompt-command
- if [[ $TERM == *(screen*|xterm*|rxvt*) ]]; then
- trap 'settitle "$BASH_COMMAND"' DEBUG
- fi
+ pson
else
- # normally, i would just execute these commands in the function.
- # however, DEBUG is not inherited, so we need to run it outside a function.
- # And we want to run set -x afterwards to avoid spam, so we cram everything
- # in here, and then it will run after this function is done.
- PROMPT_COMMAND='trap DEBUG; unset PROMPT_COMMAND; PS1="\w \$ "; set -x'
+ psoff
fi
}
# shortcut to selection widget (primary)
bindsym $mod+End exec /a/opt/clipster/clipster -sp
+
+# file:///usr/share/doc/i3-wm/userguide.html#_border_style_for_new_windows
+new_window none
bindsym $mod+3 exec "x-www-browser"
bindsym $mod+4 exec "x-www-browser -no-remote -P firefox-main-profile"
bindsym $mod+5 exec "/usr/local/bin/start-tor-browser"
+bindsym $mod+6 exec "/a/bin/redshift.sh"
bindsym $mod+equal exec "t s w; t in"
bindsym $mod+Home exec "t out"
#bindsym $mod+End exec "t s x; t in"
# shortcut to selection widget (primary)
bindsym $mod+End exec /a/opt/clipster/clipster -sp
+
+new_window none
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+q exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
#loop=inf
-
+#pause
#loop-file=inf
loop-file=no
-shuffle
-volume=20
+#shuffle
+#volume=20
#save-position-on-quit
# use --profile d
bindsym $mod+3 exec "x-www-browser"
bindsym $mod+4 exec "x-www-browser -no-remote -P firefox-main-profile"
bindsym $mod+5 exec "/usr/local/bin/start-tor-browser"
+bindsym $mod+6 exec "/a/bin/redshift.sh"
bindsym $mod+equal exec "t s w; t in"
bindsym $mod+Home exec "t out"
#bindsym $mod+End exec "t s x; t in"
# shortcut to selection widget (primary)
bindsym $mod+End exec /a/opt/clipster/clipster -sp
+
+new_window none
# exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
# more secure hkps, but had problems with my gpg version
#keyserver hkps://hkps.pool.sks-keyservers.net
+
+### begin things added by enigmail
+cert-digest-algo SHA256
+no-emit-version
+no-comments
+personal-cipher-preferences AES AES256 AES192 CAST5
+personal-digest-preferences SHA256 SHA512 SHA384 SHA224
+ignore-time-conflict
+allow-freeform-uid
+### end things added by enigmail