diff --git a/README.md b/README.md index 4daf909..c7f3358 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,3 @@ $ git clone https://github.com/justmeandopensource/myi3 $ cd myi3 $ ansible-playbook -i inventory setup.yaml (edit the username in setup.yaml before running) ``` - -#### Seafile einrichten (optional) -Nach dem Ansible-Run muss Seafile einmalig konfiguriert werden: -``` -$ seaf-cli init -d ~/Seafile -$ systemctl --user start seaf-cli -$ seaf-cli config -n "MeineBibliothek" -s https://files.goeckmanns.de -u BENUTZER -p PASSWORT -d ~/Seafile -``` -Dateien in `~/Seafile` werden danach automatisch synchronisiert. Weitere Details in `docs/i3-shortcuts.md`. diff --git a/docs/applications.md b/docs/applications.md index 0dc498d..c35f5e2 100644 --- a/docs/applications.md +++ b/docs/applications.md @@ -24,7 +24,6 @@ | autotiling | Automatische Split-Richtung | | brightnessctl | Helligkeitssteuerung | | pavucontrol | Audio-Einstellungen | -| seaf-cli | Seafile Datei-Synchronisation | ### Autostart @@ -40,7 +39,6 @@ Folgende Anwendungen starten automatisch beim Login: | autorandr | Automatische Monitor-Erkennung | | greenclip | Clipboard-Manager Daemon | | autotiling | Automatische Split-Richtung | -| seaf-cli | Seafile Sync-Daemon (systemd User-Service) | | KeePassXC | Passwort-Manager mit Keyfile | | sysinfo-notify | System-Info Notification beim Login | @@ -72,28 +70,3 @@ Screenshots werden in `~/Pictures/Screenshots/` gespeichert. Flameshot (`mod+Ctr Lautstärke- und Helligkeitsänderungen werden als Progress-Bar in einer Dunst-Notification angezeigt. Beim Login erscheint eine System-Info Notification mit IP, RAM, Disk und Akku-Status. -### Seafile (Datei-Synchronisation) - -Seafile synchronisiert Dateien mit dem Server `files.goeckmanns.de`. Der seaf-cli Daemon läuft als **systemd User-Service** und startet automatisch beim Login. - -**Einmalige Einrichtung nach dem ersten Ansible-Run:** -```bash -# Seafile initialisieren -seaf-cli init -d ~/Seafile - -# Service starten -systemctl --user start seaf-cli - -# Library verbinden (Username und Passwort anpassen) -seaf-cli config -n "MeineBibliothek" -s https://files.goeckmanns.de -u BENUTZER -p PASSWORT -d ~/Seafile -``` - -**Nützliche Befehle:** -```bash -seaf-cli status # Sync-Status anzeigen -systemctl --user status seaf-cli # Service-Status prüfen -journalctl --user -u seaf-cli # Logs anzeigen -systemctl --user restart seaf-cli # Service neustarten -``` - -Dateien einfach in `~/Seafile` kopieren - sie werden automatisch synchronisiert. diff --git a/docs/i3-shortcuts.md b/docs/i3-shortcuts.md index 8c7a71f..575007d 100644 --- a/docs/i3-shortcuts.md +++ b/docs/i3-shortcuts.md @@ -49,8 +49,8 @@ | mod+Ctrl+Right | Nächster Workspace | **Workspace-Zuweisungen:** -- WS 1:WEB - Vivaldi Browser -- WS 2-4 - Frei für Terminals und andere Anwendungen +- WS 1-3 - Frei verwendbar +- WS 4:WEB - Vivaldi Browser - WS 5:EDIT - Mousepad, Ghostwriter - WS 6:FILES - Thunar - WS 7-8 - Frei verwendbar diff --git a/files/configs/i3/i3/config b/files/configs/i3/i3/config index c34775a..5bfd686 100644 --- a/files/configs/i3/i3/config +++ b/files/configs/i3/i3/config @@ -106,10 +106,10 @@ bindsym $mod+Ctrl+Left workspace prev # Workspace names # Eg: set $ws1 1:mail # set $ws2 2: -set $ws1 1:WEB +set $ws1 1 set $ws2 2 set $ws3 3 -set $ws4 4 +set $ws4 4:WEB set $ws5 5:EDIT set $ws6 6:FILES set $ws7 7 @@ -136,7 +136,7 @@ bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7 bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8 # Open applications on specific workspaces -assign [class="Vivaldi-stable"] $ws1 +assign [class="Vivaldi-stable"] $ws4 assign [class="Mousepad"] $ws5 assign [class="ghostwriter"] $ws5 assign [class="Thunar"] $ws6 diff --git a/files/configs/systemd/seaf-cli.service b/files/configs/systemd/seaf-cli.service deleted file mode 100644 index 9a39db4..0000000 --- a/files/configs/systemd/seaf-cli.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Seafile CLI Client Daemon -After=network-online.target -Wants=network-online.target - -[Service] -Type=oneshot -ExecStart=/usr/bin/seaf-cli start -ExecStop=/usr/bin/seaf-cli stop -RemainAfterExit=yes - -[Install] -WantedBy=default.target diff --git a/tasks/configure-i3.yaml b/tasks/configure-i3.yaml index f2ceb06..40c1341 100644 --- a/tasks/configure-i3.yaml +++ b/tasks/configure-i3.yaml @@ -112,23 +112,3 @@ file: path: "{{ userhome }}/Pictures/Screenshots" state: directory - -- name: i3 Configuration - Create systemd user service directory - become_user: "{{ username }}" - file: - path: "{{ userhome }}/.config/systemd/user" - state: directory - -- name: i3 Configuration - Copy seaf-cli systemd user service - become_user: "{{ username }}" - copy: - src: files/configs/systemd/seaf-cli.service - dest: "{{ userhome }}/.config/systemd/user/seaf-cli.service" - -- name: i3 Configuration - Enable seaf-cli user service - become_user: "{{ username }}" - systemd: - name: seaf-cli - enabled: yes - scope: user - daemon_reload: yes diff --git a/tasks/configure-software-manjaro.yaml b/tasks/configure-software-manjaro.yaml index 80de4b7..e10ae77 100644 --- a/tasks/configure-software-manjaro.yaml +++ b/tasks/configure-software-manjaro.yaml @@ -10,7 +10,7 @@ - name: Package Installation - Install AUR packages become_user: "{{ username }}" - command: yay -S --noconfirm greenclip seafile-client + command: yay -S --noconfirm greenclip args: creates: /usr/bin/greenclip diff --git a/tasks/configure-user.yaml b/tasks/configure-user.yaml index 959d77f..9e7c04b 100644 --- a/tasks/configure-user.yaml +++ b/tasks/configure-user.yaml @@ -23,9 +23,3 @@ file: path: "{{ userhome }}/opt/scripts" state: directory - -- name: User Configuration - Create Seafile directory - become_user: "{{ username }}" - file: - path: "{{ userhome }}/Seafile" - state: directory