From 65b1867b424e5cb08b119e3d2bd08db3777a8faa Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Sat, 20 Jun 2020 21:19:03 +0200 Subject: [PATCH] minor changes --- conf/config/micro/settings.json | 4 ++-- conf/config/scripts/screenshot | 13 +++++++++++++ conf/config/sxhkd/sxhkdrc | 4 ++++ conf/home/xinitrc | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) create mode 100755 conf/config/scripts/screenshot diff --git a/conf/config/micro/settings.json b/conf/config/micro/settings.json index c564243..9427471 100644 --- a/conf/config/micro/settings.json +++ b/conf/config/micro/settings.json @@ -6,7 +6,7 @@ "backup": true, "basename": false, "colorcolumn": 0, - "colorscheme": "simple", + "colorscheme": "solarized", "comment": true, "cursorline": true, "diff": true, @@ -28,7 +28,7 @@ "indentchar": " ", "infobar": true, "keepautoindent": false, - "keymenu": false, + "keymenu": true, "linter": true, "literate": true, "matchbrace": true, diff --git a/conf/config/scripts/screenshot b/conf/config/scripts/screenshot new file mode 100755 index 0000000..6c524c0 --- /dev/null +++ b/conf/config/scripts/screenshot @@ -0,0 +1,13 @@ +#!/bin/sh + +slop=$(slop -f "%g") || exit 1 +file="$HOME"/Pictures/screen-"$(date '+%d-%m-%y_%H:%M:%S')".png + +case $1 in + "sel") + exec import -window root -silent -crop "$slop" "$file" + ;; + *) + exec import -window root -silent "$file" + ;; +esac diff --git a/conf/config/sxhkd/sxhkdrc b/conf/config/sxhkd/sxhkdrc index c6e2f64..bc81639 100644 --- a/conf/config/sxhkd/sxhkdrc +++ b/conf/config/sxhkd/sxhkdrc @@ -27,6 +27,10 @@ super + @space super + shift + space rofi -show run +# Screenshot +Print + $SCRIPT_DIR/screenshot + # make sxhkd reload its configuration files: super + Escape pkill -USR1 -x sxhkd diff --git a/conf/home/xinitrc b/conf/home/xinitrc index cfbc7e3..0aeb93e 100644 --- a/conf/home/xinitrc +++ b/conf/home/xinitrc @@ -100,7 +100,7 @@ usermodmap="$XDG_CONFIG_HOME"/X11/Xmodmap # Set user script dir export SCRIPT_DIR="$XDG_CONFIG_HOME"/scripts # Wallpaer -export WALLPAPER="$HOME/Pictures/walls/waves.png" +export WALLPAPER="$HOME/Pictures/walls/sculptor.png" # Lock screen config export XSECURELOCK_SAVER=saver_mpv export XSECURELOCK_LIST_VIDEOS_COMMAND="echo ~/Videos/bounce.mkv"