dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 0299a0be92bbeac30f9f02f573848ee8896c0cb3
parent e0e3472488d8e429ba50a164b80204d847777db0
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 23 May 2019 20:05:52 +0200

Fix quote issue in displayselect, use POSIX sh for articlesearch, update nnn

Diffstat:
M.local/bin/articlesearch | 2+-
M.local/bin/displayselect | 6+++---
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.local/bin/articlesearch b/.local/bin/articlesearch @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh set -e browser=${BROWSER:-firefox} diff --git a/.local/bin/displayselect b/.local/bin/displayselect @@ -79,15 +79,15 @@ if [ "$(echo "$screens" | wc -l)" -gt 1 ]; then "manual selection") arandr ; exit ;; "multi-monitor") multimon ;; *) xrandr --output "$chosen" --auto --scale 1.0x1.0 \ - "$(echo "$screens" | grep -v "$chosen" | \ - awk '{print "--output", $1, "--off"}' | tr '\n' ' ')" ;; + $(echo "$screens" | grep -v "$chosen" | \ + awk '{print "--output", $1, "--off"}' | tr '\n' ' ') ;; esac else xrandr --auto --scale 1.0x1.0 fi # Fix feh background if screen size/arangement has changed. -wallpaper.sh +wallpaper # Re-remap keys if keyboard added (for laptop bases) #remaps # Restart dunst to ensure proper location on screen