From 4fe43f1c2e73f283bbe524e84b50a2a7591d8a94 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 15 Apr 2020 02:48:56 +0200 Subject: [PATCH] Add screenshot selection keybinding and fix GOPATH --- fish/.config/fish/config.fish | 2 +- pam-gpg/.pam_environment | 4 +++- sway/.config/sway/config | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index ed43a30..cde697b 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -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] diff --git a/pam-gpg/.pam_environment b/pam-gpg/.pam_environment index 56a8e1c..694db59 100644 --- a/pam-gpg/.pam_environment +++ b/pam-gpg/.pam_environment @@ -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" diff --git a/sway/.config/sway/config b/sway/.config/sway/config index a14d72f..5890554 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -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"