Add screenshot selection keybinding and fix GOPATH

This commit is contained in:
2020-04-15 02:48:56 +02:00
parent dbcb96e2c2
commit 4fe43f1c2e
3 changed files with 6 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ set PATH $PATH /$HOME/.local/share/go/bin
set PATH $PATH /$HOME/.emacs.d/bin
# Go workspace
set -x GOPATH /$HOME/.local/share/go/
set -x GOPATH $HOME/.local/share/go/
# fff
## Directory color [0-9]

View File

@@ -3,6 +3,8 @@ SSH_AGENT_PID DEFAULT=
SSH_AUTH_SOCK DEFAULT="/run/user/1000/gnupg/S.gpg-agent.ssh"
# Wayland config
MOZ_ENABLE_WAYLAND=1
MOZ_DBUS_REMOTE=1
GRIM_DEFAULT_DIR=/home/coolneng/Photos/Screenshots
_JAVA_AWT_WM_NONREPARENTING=1
QT_QPA_PLATFORM=xcb
QT_QPA_PLATFORM=wayland
QT_WAYLAND_DISABLE_WINDOWDECORATION="1"

View File

@@ -268,6 +268,8 @@ exec swaymsg split vertical
bindsym $mod+c exec clipman pick -t rofi
# grim
bindsym Print exec grim
# slurp + grim to clipboard
bindsym Shift+Print exec slurp | grim -g - - | wl-copy
# power menu
bindsym $mod+Pause mode "$Pause-break"