aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-04-08 03:50:15 +0300
committerYaroslav <contact@yaroslavps.com>2020-04-08 03:50:15 +0300
commit2a7d8cecace432898722b0d2c7a2543e1057cf74 (patch)
tree81dcb500ad198e287f11fad5bab89839e132e7cc
parent0ef873ddfde53de66c54a84eb3a6c3c8d84deeaa (diff)
downloadswayrice-2a7d8cecace432898722b0d2c7a2543e1057cf74.tar.gz
swayrice-2a7d8cecace432898722b0d2c7a2543e1057cf74.zip
pam-gnupg fix. too problematic to move gnupg config folder out of ~
-rw-r--r--dotfiles/.config/sway/config4
-rw-r--r--dotfiles/.profile1
-rw-r--r--system/pam.d/system-local-login8
3 files changed, 10 insertions, 3 deletions
diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config
index 8a4c445..31c2ce0 100644
--- a/dotfiles/.config/sway/config
+++ b/dotfiles/.config/sway/config
@@ -182,8 +182,8 @@ bindsym --to-code {
$mod+Shift+F7 exec mpc seek +10
# Start Applications
- $mod+Shift+w exec --no-startup-id $browser
- $mod+Ctrl+w exec --no-startup-id chromium
+ $mod+Shift+w exec $browser
+ $mod+Ctrl+w exec chromium
$mod+F2 exec menumako
$mod+F3 exec menudisplay
$mod+F4 exec menublk
diff --git a/dotfiles/.profile b/dotfiles/.profile
index 5687e0a..d849ada 100644
--- a/dotfiles/.profile
+++ b/dotfiles/.profile
@@ -25,7 +25,6 @@ eval "$(sed 's/^[^#].*/export &/g;t;d' ~/.config/user-dirs.dirs)"
export LESSHISTFILE="-"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export INPUTRC="$XDG_CONFIG_HOME/zsh/inputrc"
-export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export CARGO_HOME="$XDG_DATA_HOME/cargo"
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
diff --git a/system/pam.d/system-local-login b/system/pam.d/system-local-login
new file mode 100644
index 0000000..397539d
--- /dev/null
+++ b/system/pam.d/system-local-login
@@ -0,0 +1,8 @@
+#%PAM-1.0
+
+auth include system-login
+auth optional pam_gnupg.so
+account include system-login
+password include system-login
+session include system-login
+session optional pam_gnupg.so