aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-10-06 05:27:04 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-10-06 05:27:04 +0200
commit4148edba74c1c87fce0a624d3fe54666263c2eef (patch)
treed3d4fcaac3d5573876d8ae24fbacd3eeda80bd03
parent3dcd153c29157b2479f1b0fa6405387775d15766 (diff)
downloaddotfiles-4148edba74c1c87fce0a624d3fe54666263c2eef.tar.gz
dotfiles-4148edba74c1c87fce0a624d3fe54666263c2eef.zip
[xprofile] start gnome-key-ring and use gb layout on fishtank
-rw-r--r--xprofile13
1 files changed, 12 insertions, 1 deletions
diff --git a/xprofile b/xprofile
index 4da5f10..7843bc7 100644
--- a/xprofile
+++ b/xprofile
@@ -63,7 +63,12 @@ fi
[[ -f $HOME/.Xresources ]] && xrdb -merge $HOME/.Xresources
# Set keyboard layout
-setxkbmap de
+if [ $HOSTNAME = "fishtank" ]
+then
+ setxkbmap gb
+else
+ setxkbmap de
+fi
function start_if_avail {
if type $1 >/dev/null
@@ -78,6 +83,12 @@ start_if_avail dunst '&'
# Start touchpad daemon
start_if_avail "syndaemon" "-i 1 -d"
+# Start gnome-keyring mostly for nextcloud
+if type gnome-keyring-daemon >/dev/null
+then
+ eval $(gnome-keyring-daemon --start --components=pkcs11,secrets)
+fi
+
# Start nextcloud client
start_if_avail nextcloud "&"