fb6026dbfa7e

More
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 18 Nov 2019 11:10:44 -0500
parents 5a3902856597
children addae1d12a7c
branches/tags (none)
files bin/t bin/ws stumpwmrc

Changes

--- a/bin/t	Mon Nov 11 20:46:32 2019 -0500
+++ b/bin/t	Mon Nov 18 11:10:44 2019 -0500
@@ -2,4 +2,4 @@
 
 set -euo pipefail
 
-python ~/src/t/t.py --task-dir ~/.plan --list TODO "$@"
+python ~/src/t/t.py --task-dir ~/plan --list TODO "$@"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/ws	Mon Nov 18 11:10:44 2019 -0500
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -euo pipefail
+
+python -c 'import sys; sys.stdout.write(sys.stdin.read().strip())'
--- a/stumpwmrc	Mon Nov 11 20:46:32 2019 -0500
+++ b/stumpwmrc	Mon Nov 18 11:10:44 2019 -0500
@@ -7,8 +7,7 @@
 ;;;; Config -------------------------------------------------------------------
 (set-prefix-key (kbd "C-space"))
 
-
-(redirect-all-output (data-dir-file "debug" "text"))
+(redirect-all-output (data-dir-file "debug" "log"))
 
 (setf *mouse-focus-policy* :click
       *message-window-gravity* :center
@@ -299,11 +298,12 @@
   (only)
   (loop with laptop = "eDP1"
         with extern = "DP1"
-        for (output commands) in `((,extern ("--auto"))
+        for (output commands) in `(
+                                   (,laptop ("--off"))
+                                   (,extern ("--auto"))
                                    (,extern ("--primary"))
-                                   ;; (,laptop ("--off"))
-                                   (,laptop ("--auto"))
-                                   (,laptop ("--right-of" ,extern))
+                                   ;; (,laptop ("--auto"))
+                                   ;; (,laptop ("--right-of" ,extern))
                                    )
         do (uiop:run-program `("xrandr" "--output" ,output ,@commands))))