This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/apps/de/x/profile

23 lines
845 B
Plaintext
Raw Normal View History

2020-01-20 09:12:52 -06:00
#!/usr/bin/env sh
2017-02-07 16:16:45 -06:00
2020-01-17 03:02:53 -06:00
[ -z "$XDG_CONFIG_HOME" ] && export XDG_CONFIG_HOME="$HOME/.config"
[ -z "$DOTFILES_PATH" ] && export DOTFILES_PATH="$XDG_CONFIG_HOME/dotfiles"
2017-02-07 16:16:45 -06:00
2020-01-17 03:02:53 -06:00
. "$DOTFILES_PATH/bin/prelude"
2017-02-07 16:16:45 -06:00
2020-01-17 03:02:53 -06:00
[ -f "$DOTFILES_PATH/apps/de/x/loadresources" ] && "$DOTFILES_PATH/apps/de/x/loadresources"
[ -f "$HOME/.xmodmap" ] && xmodmap "$HOME/.xmodmap"
has_command xcape && xcape -e 'Control_L=Escape' &
has_command libinput-gestures-setup && libinput-gestures-setup start
2020-01-22 17:25:47 -06:00
has_command autocutsel && autocutsel -s PRIMARY &
2020-01-17 03:02:53 -06:00
has_command autorandr && autorandr -c
has_command redshift && redshift -r -l 39.1:-94.6 -t 6500K:3000K &
has_command kdeconnect-indicator && kdeconnect-indicator &
2019-03-13 22:12:37 -05:00
2020-01-20 09:12:52 -06:00
eval "$(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)"
export SSH_AUTH_SOCK
2020-01-17 03:02:53 -06:00
xset r rate 250 80 & # keyrepeat
2019-11-14 14:11:36 -06:00
2020-01-17 03:02:53 -06:00
. maybe_source_env_file x/profile