minor changes

master
Alessandro Mauri 5 years ago
parent 2d533e7845
commit 65b1867b42
  1. 4
      conf/config/micro/settings.json
  2. 13
      conf/config/scripts/screenshot
  3. 4
      conf/config/sxhkd/sxhkdrc
  4. 2
      conf/home/xinitrc

@ -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,

@ -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

@ -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

@ -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"

Loading…
Cancel
Save