Compare commits
6 commits
9ae31dc4be
...
46753a0c1d
| Author | SHA1 | Date | |
|---|---|---|---|
| 46753a0c1d | |||
| c00a5f6c79 | |||
| a5c4f7f9d1 | |||
| be9faf5b08 | |||
| ea474c6178 | |||
| 4b80f3f173 |
16 changed files with 33 additions and 52 deletions
4
.config/environment.d/backup.conf
Normal file
4
.config/environment.d/backup.conf
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
# keep-sorted start
|
||||||
|
BORG_PASSCOMMAND="cat ${HOME}/.keys/borg-passphrase.txt"
|
||||||
|
BORG_REPO="/media/backup/"
|
||||||
|
# keep-sorted end
|
||||||
5
.config/environment.d/editor.conf
Normal file
5
.config/environment.d/editor.conf
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
# keep-sorted start
|
||||||
|
EDITOR="emacsclient --create-frame --no-window-system"
|
||||||
|
SUDO_EDITOR="/usr/local/bin/emacs --no-init-file --no-splash --no-window-system"
|
||||||
|
VISUAL="emacsclient --create-frame --no-window-system"
|
||||||
|
# keep-sorted end
|
||||||
5
.config/environment.d/ime.conf
Normal file
5
.config/environment.d/ime.conf
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
# keep-sorted start
|
||||||
|
GTK_IM_MODULE="fcitx"
|
||||||
|
QT_IM_MODULE="fcitx"
|
||||||
|
XMODIFIERS="@im=fcitx"
|
||||||
|
# keep-sorted end
|
||||||
3
.config/environment.d/poetry.conf
Normal file
3
.config/environment.d/poetry.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# keep-sorted start
|
||||||
|
PYTHON_KEYRING_BACKEND="keyring.backends.null.Keyring"
|
||||||
|
# keep-sorted end
|
||||||
3
.config/environment.d/utf-8.conf
Normal file
3
.config/environment.d/utf-8.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# keep-sorted start
|
||||||
|
LANG="en_IL.utf8"
|
||||||
|
# keep-sorted end
|
||||||
3
.config/environment.d/wallpaper.conf
Normal file
3
.config/environment.d/wallpaper.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# keep-sorted start
|
||||||
|
SWAY_WALLPAPER="${HOME}/Documents/wallpapers/solar-system.jpg"
|
||||||
|
# keep-sorted end
|
||||||
3
.config/environment.d/zoom.conf
Normal file
3
.config/environment.d/zoom.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# keep-sorted start
|
||||||
|
XDG_CURRENT_DESKTOP="sway"
|
||||||
|
# keep-sorted end
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
systemctl --user enable --now syncthing.service
|
systemctl --user enable --now syncthing.service
|
||||||
|
|
||||||
mkdir -p ~/Pictures/screenshots
|
mkdir --parents ~/Pictures/screenshots
|
||||||
|
|
||||||
pre-commit install
|
pre-commit install
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
|
||||||
|
|
@ -77,9 +77,6 @@ input type:touchpad {
|
||||||
bindsym $launch+f exec firefox --private-window
|
bindsym $launch+f exec firefox --private-window
|
||||||
bindsym $launch+Shift+f exec firefox
|
bindsym $launch+Shift+f exec firefox
|
||||||
|
|
||||||
# Switch WiFi network
|
|
||||||
bindsym $launch+Equal exec .wifi-wizard
|
|
||||||
|
|
||||||
# Kill focused window
|
# Kill focused window
|
||||||
bindsym $wm_mod+q kill
|
bindsym $wm_mod+q kill
|
||||||
|
|
||||||
|
|
@ -306,4 +303,4 @@ include /etc/sway/config.d/*
|
||||||
exec systemctl --user import-environment XDG_CURRENT_DESKTOP
|
exec systemctl --user import-environment XDG_CURRENT_DESKTOP
|
||||||
exec dbus-update-activation-environment --systemd XDG_CURRENT_DESKTOP=sway
|
exec dbus-update-activation-environment --systemd XDG_CURRENT_DESKTOP=sway
|
||||||
|
|
||||||
output * bg ~/Documents/wallpapers/solar-system.jpg fill
|
output * bg ${SWAY_WALLPAPER} fill
|
||||||
|
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
#! /usr/bin/sh
|
|
||||||
|
|
||||||
ssid=$(nmcli --fields SSID,RATE,SIGNAL,BARS device wifi list | fuzzel --dmenu --width 40 | awk '{print $1}')
|
|
||||||
retval=$?
|
|
||||||
if [ -z "${ssid}" ]; then
|
|
||||||
exit $retval
|
|
||||||
fi
|
|
||||||
|
|
||||||
password=$(fuzzel --dmenu --password)
|
|
||||||
retval=$?
|
|
||||||
if [ $retval -ne 0 ]; then
|
|
||||||
exit $retval
|
|
||||||
fi
|
|
||||||
|
|
||||||
nmcli device wifi connect "${ssid}" password "${password}"
|
|
||||||
|
|
@ -38,4 +38,4 @@ ln \
|
||||||
--symbolic \
|
--symbolic \
|
||||||
"${outfile}" \
|
"${outfile}" \
|
||||||
"${WALLPAPERS}/today"
|
"${WALLPAPERS}/today"
|
||||||
swaymsg reload
|
swaymsg output "*" bg "${SWAY_WALLPAPER}" fill
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,5 @@
|
||||||
#! /usr/bin/sh
|
#! /usr/bin/sh
|
||||||
|
|
||||||
export BORG_REPO="/media/backup/"
|
|
||||||
export BORG_PASSCOMMAND="cat ${HOME}/.keys/borg-passphrase.txt"
|
|
||||||
|
|
||||||
TS_DIR="$(systemd-path user-state-private)"/backup
|
TS_DIR="$(systemd-path user-state-private)"/backup
|
||||||
|
|
||||||
mkdir -p "${TS_DIR}"
|
mkdir -p "${TS_DIR}"
|
||||||
|
|
|
||||||
|
|
@ -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
|
fi
|
||||||
|
|
||||||
umask 0007
|
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"
|
while read -r l; do
|
||||||
export VISUAL="emacsclient --create-frame --no-window-system"
|
eval export $l
|
||||||
export GTK_IM_MODULE="fcitx"
|
done < <(/usr/lib/systemd/user-environment-generators/30-systemd-environment-d-generator)
|
||||||
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"
|
|
||||||
|
|
||||||
# Autolaunch sway for tty1 logins
|
# Autolaunch sway for tty1 logins
|
||||||
[ "$(tty)" = "/dev/tty1" ] &&
|
[ "$(tty)" = "/dev/tty1" ] &&
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue