From 0777942dee42c1ceac45c0bb9739a8440d58f431 Mon Sep 17 00:00:00 2001 From: Stefano Cereda Date: Sat, 25 May 2019 08:21:42 +0200 Subject: [PATCH] Moved scripts in .config/screenlayouts --- .local/bin/i3cmds/displayselect | 4 ++-- .local/share/larbs/readme.mom | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.local/bin/i3cmds/displayselect b/.local/bin/i3cmds/displayselect index 5ddc1f0d..194ae4db 100755 --- a/.local/bin/i3cmds/displayselect +++ b/.local/bin/i3cmds/displayselect @@ -55,13 +55,13 @@ multimon() { # Multi-monitor handler. esac ;} loadconf() { # Load an existing configuration file saved from arandr - scripts=$(ls ~/.screenlayout/) + scripts=$(ls ~/.config/screenlayout/) if [ -z "$scripts" ]; then scripts="None" fi chosen=$(for s in $scripts; do echo $s; done | dmenu -i -p "Select configuration file:") && case "$chosen" in - *sh) ~/.screenlayout/$chosen ;; + *sh) ~/.config/screenlayout/"$chosen" ;; *) exit ;; esac ;} diff --git a/.local/share/larbs/readme.mom b/.local/share/larbs/readme.mom index 35cea054..235af35d 100644 --- a/.local/share/larbs/readme.mom +++ b/.local/share/larbs/readme.mom @@ -207,7 +207,8 @@ Naturally, you can use \f(CWyay\fP to look for and install any you want to add. .ITEM \f(CWMod+F2\fP \(en Refresh i3 .ITEM -\f(CWMod+F3\fP \(en Select screen/display to use +\f(CWMod+F3\fP \(en Select screen/display to use. +You can save ARandR configurations in \f(CW~/.config/screenlayout\fP and load them here .ITEM \f(CWMod+F4\fP \(en Hibernate (will ask to confirm) .ITEM