2023-10-14 22:38:12 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
describe="Installs i3"
|
|
|
|
scripts="@distro @self"
|
|
|
|
|
|
|
|
apply() {
|
|
|
|
[ -d "$HOME/.config/i3" ] || mkdir -p $HOME/.config/i3
|
|
|
|
[ -d "$HOME/.config/i3status" ] || mkdir -p $HOME/.config/i3status
|
|
|
|
[ -e "$HOME/.config/i3/config" ] || ln files/config $HOME/.config/i3/config
|
|
|
|
[ -e "$HOME/.config/i3status/config" ] || ln files/status_config $HOME/.config/i3status/config
|
|
|
|
}
|
|
|
|
|
|
|
|
undo() {
|
|
|
|
rm $HOME/.config/i3/config
|
|
|
|
rm $HOME/.config/i3status/config
|
|
|
|
}
|
|
|
|
|
|
|
|
super_apply() {
|
2023-11-16 15:54:49 +01:00
|
|
|
[ -d "/etc/X11/xorg.conf.d" ] || mkdir -p /etc/X11/xorg.conf.d/
|
2023-10-14 22:38:12 +02:00
|
|
|
cp files/40-proper-touchpad.conf /etc/X11/xorg.conf.d/40-proper-touchpad.conf
|
|
|
|
}
|
|
|
|
|
|
|
|
super_undo() {
|
|
|
|
rm /etc/X11/xorg.conf.d/40-proper-touchpad.conf
|
|
|
|
}
|