Compare commits
2 commits
5a1f8d3754
...
03c671307b
| Author | SHA1 | Date | |
|---|---|---|---|
| 03c671307b | |||
| 2ed6f73532 |
10 changed files with 27 additions and 28 deletions
4
.config/environment/backup
Normal file
4
.config/environment/backup
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# keep-sorted start
|
||||
export BORG_PASSCOMMAND="cat ${HOME}/.keys/borg-passphrase.txt"
|
||||
export BORG_REPO="/media/backup/"
|
||||
# keep-sorted end
|
||||
5
.config/environment/editor
Normal file
5
.config/environment/editor
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# keep-sorted start
|
||||
export EDITOR="emacsclient --create-frame --no-window-system"
|
||||
export SUDO_EDITOR="/usr/local/bin/emacs --no-init-file --no-splash --no-window-system"
|
||||
export VISUAL="emacsclient --create-frame --no-window-system"
|
||||
# keep-sorted end
|
||||
5
.config/environment/ime
Normal file
5
.config/environment/ime
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# keep-sorted start
|
||||
export GTK_IM_MODULE="fcitx"
|
||||
export QT_IM_MODULE="fcitx"
|
||||
export XMODIFIERS="@im=fcitx"
|
||||
# keep-sorted end
|
||||
3
.config/environment/poetry
Normal file
3
.config/environment/poetry
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# keep-sorted start
|
||||
export PYTHON_KEYRING_BACKEND="keyring.backends.null.Keyring"
|
||||
# keep-sorted end
|
||||
3
.config/environment/utf-8
Normal file
3
.config/environment/utf-8
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# keep-sorted start
|
||||
export LANG="en_IL.utf8"
|
||||
# keep-sorted end
|
||||
3
.config/environment/zoom
Normal file
3
.config/environment/zoom
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# keep-sorted start
|
||||
export XDG_CURRENT_DESKTOP="sway"
|
||||
# keep-sorted end
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#! /usr/bin/sh
|
||||
|
||||
sudo cp "$(systemd-path user-configuration)"/setup/sway.desktop /usr/share/wayland-sessions/
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Version=0.1
|
||||
Name=Sway
|
||||
Comment=An i3-compatible Wayland compositor
|
||||
Exec=/home/ohad/.local/bin/run-sway
|
||||
Type=Application
|
||||
DesktopNames=sway
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
#! /usr/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
source "$(systemd-path user)"/.profile
|
||||
exec /usr/bin/sway
|
||||
15
.profile
15
.profile
|
|
@ -36,17 +36,10 @@ if [ -d "$(systemd-path user-state-private)"/git-sync ] ; then
|
|||
fi
|
||||
|
||||
umask 0007
|
||||
export SUDO_EDITOR="/usr/local/bin/emacs --no-init-file --no-splash --no-window-system"
|
||||
export EDITOR="emacsclient --create-frame --no-window-system"
|
||||
export VISUAL="emacsclient --create-frame --no-window-system"
|
||||
export GTK_IM_MODULE="fcitx"
|
||||
export QT_IM_MODULE="fcitx"
|
||||
export XMODIFIERS="@im=fcitx"
|
||||
export LANG="en_IL.utf8"
|
||||
export BORG_REPO="/media/backup/"
|
||||
export BORG_PASSCOMMAND="cat ${HOME}/.keys/borg-passphrase.txt"
|
||||
export PYTHON_KEYRING_BACKEND="keyring.backends.null.Keyring"
|
||||
export XDG_CURRENT_DESKTOP="sway"
|
||||
|
||||
for filename in "$(systemd-path user-configuration)"/environment/*; do
|
||||
. "$filename"
|
||||
done
|
||||
|
||||
# Autolaunch sway for tty1 logins
|
||||
[ "$(tty)" = "/dev/tty1" ] &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue