From 89ba0219ab9eadec5f05b5f7f5a8deac887b8039 Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Fri, 20 Mar 2026 11:15:37 +0100 Subject: [PATCH 01/17] bugfix in waybar style.css --- hypr/.config/waybar/style.css | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hypr/.config/waybar/style.css b/hypr/.config/waybar/style.css index 791dca8..25bf1dc 100755 --- a/hypr/.config/waybar/style.css +++ b/hypr/.config/waybar/style.css @@ -2,11 +2,6 @@ Calm Glass (Hyprland / Waybar) — GTK CSS safe -------------------------------------------------- */ -# * { -# font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif; -# font-size: 13px; -# } - * { font-family: "JetBrainsMono Nerd Font", FontAwesome, sans-serif; font-size: 13px; From 1e1ec3ac53b08a495d4e967d309f000c3dc2369f Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Fri, 20 Mar 2026 11:20:21 +0100 Subject: [PATCH 02/17] basic nvim config --- .gitignore | 1 + hypr/.config/hypr/hyprland.conf | 2 +- nvim/.config/nvim/init.lua | 61 +++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 nvim/.config/nvim/init.lua diff --git a/.gitignore b/.gitignore index b314087..d70302d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ hypr/.config/hypr/env.conf hypr/.config/hypr/env.sh hypr/.config/wpaperd/wallpapers/linked *~lock.*# +lazy-lock.json diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf index c52bfa1..eb6c5f9 100755 --- a/hypr/.config/hypr/hyprland.conf +++ b/hypr/.config/hypr/hyprland.conf @@ -411,7 +411,7 @@ windowrule { windowrule { name = opacity-kitty-dolphin match:class = .*(kitty|dolphin).* - opacity = 0.85 0.55 + opacity = 0.90 0.80 } layerrule = blur on, ignore_alpha 0.30, match:namespace waybar diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua new file mode 100644 index 0000000..3f516cd --- /dev/null +++ b/nvim/.config/nvim/init.lua @@ -0,0 +1,61 @@ + +-- Basics +vim.opt.number = true +vim.opt.relativenumber = true +vim.opt.tabstop = 4 +vim.opt.shiftwidth = 4 +vim.opt.expandtab = true +vim.opt.smartindent = true +vim.g.mapleader = " " + + +-- Bootstrap lazy.nvim +local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +if not vim.loop.fs_stat(lazypath) then + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", + lazypath, + }) +end +vim.opt.rtp:prepend(lazypath) + + +-- Load Plugins +local plugins = { + + -- catppuccin: color scheme + { "catppuccin/nvim", name = "catppuccin", priority = 1000 }, + + -- telescope: fuzzy search + { "nvim-telescope/telescope.nvim", tag = '0.1.5', dependencies = { "nvim-lua/plenary.nvim" } }, + + -- treesitter: code parser + { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" } + +} +local opts = {} +require("lazy").setup(plugins, opts) + + +-- telescope set up +local builtin = require("telescope.builtin") +vim.keymap.set('n', '', builtin.find_files, {}) +vim.keymap.set('n', 'f', builtin.live_grep, {}) + + +-- treesitter set up +local config = require("nvim-treesitter.config") +config.setup({ + ensure_installed = {"python", "bash", "lua"}, + highlight = { enable = true }, + indent = { enable = true } +}) + + +-- catppuccin set up +require("catppuccin").setup() +vim.cmd.colorscheme "catppuccin" From 65c42d8c5d76cc63d50384a8a19fee151c73844f Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Fri, 20 Mar 2026 14:06:36 +0100 Subject: [PATCH 03/17] additional packages in basic install --- .install_skripte/install_basic_pcks.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.install_skripte/install_basic_pcks.sh b/.install_skripte/install_basic_pcks.sh index 386e899..9f21bad 100755 --- a/.install_skripte/install_basic_pcks.sh +++ b/.install_skripte/install_basic_pcks.sh @@ -27,6 +27,8 @@ else fi sudo pacman -S --needed \ + vim \ + nvim \ firefox \ nextcloud-client \ openssh \ @@ -47,7 +49,9 @@ sudo pacman -S --needed \ pipewire-session-manager \ qpwgraph \ cifs-utils \ - rbw + opencode \ + rbw \ + extra/ttf-jetbrains-mono-nerd From c92f3c0eba17e07c4272fdff5a5f5a735ffd0b27 Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Fri, 20 Mar 2026 14:10:05 +0100 Subject: [PATCH 04/17] modularize nvim config and some more plugins --- nvim/.config/nvim/init.lua | 42 ++------------------ nvim/.config/nvim/lua/basic-settings.lua | 11 +++++ nvim/.config/nvim/lua/plugins.lua | 2 + nvim/.config/nvim/lua/plugins/catppuccin.lua | 14 +++++++ nvim/.config/nvim/lua/plugins/lualine.lua | 11 +++++ nvim/.config/nvim/lua/plugins/neo-tree.lua | 17 ++++++++ nvim/.config/nvim/lua/plugins/telescope.lua | 14 +++++++ nvim/.config/nvim/lua/plugins/treesitter.lua | 16 ++++++++ 8 files changed, 89 insertions(+), 38 deletions(-) create mode 100644 nvim/.config/nvim/lua/basic-settings.lua create mode 100644 nvim/.config/nvim/lua/plugins.lua create mode 100644 nvim/.config/nvim/lua/plugins/catppuccin.lua create mode 100644 nvim/.config/nvim/lua/plugins/lualine.lua create mode 100644 nvim/.config/nvim/lua/plugins/neo-tree.lua create mode 100644 nvim/.config/nvim/lua/plugins/telescope.lua create mode 100644 nvim/.config/nvim/lua/plugins/treesitter.lua diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua index 3f516cd..7f0a164 100644 --- a/nvim/.config/nvim/init.lua +++ b/nvim/.config/nvim/init.lua @@ -1,14 +1,4 @@ --- Basics -vim.opt.number = true -vim.opt.relativenumber = true -vim.opt.tabstop = 4 -vim.opt.shiftwidth = 4 -vim.opt.expandtab = true -vim.opt.smartindent = true -vim.g.mapleader = " " - - -- Bootstrap lazy.nvim local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not vim.loop.fs_stat(lazypath) then @@ -24,38 +14,14 @@ end vim.opt.rtp:prepend(lazypath) --- Load Plugins -local plugins = { - - -- catppuccin: color scheme - { "catppuccin/nvim", name = "catppuccin", priority = 1000 }, - - -- telescope: fuzzy search - { "nvim-telescope/telescope.nvim", tag = '0.1.5', dependencies = { "nvim-lua/plenary.nvim" } }, - - -- treesitter: code parser - { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" } - -} local opts = {} -require("lazy").setup(plugins, opts) + +require("basic-settings") +require("lazy").setup("plugins") + --- telescope set up -local builtin = require("telescope.builtin") -vim.keymap.set('n', '', builtin.find_files, {}) -vim.keymap.set('n', 'f', builtin.live_grep, {}) --- treesitter set up -local config = require("nvim-treesitter.config") -config.setup({ - ensure_installed = {"python", "bash", "lua"}, - highlight = { enable = true }, - indent = { enable = true } -}) --- catppuccin set up -require("catppuccin").setup() -vim.cmd.colorscheme "catppuccin" diff --git a/nvim/.config/nvim/lua/basic-settings.lua b/nvim/.config/nvim/lua/basic-settings.lua new file mode 100644 index 0000000..1c99267 --- /dev/null +++ b/nvim/.config/nvim/lua/basic-settings.lua @@ -0,0 +1,11 @@ + +-- Basics +vim.opt.number = true +vim.opt.relativenumber = true +vim.opt.tabstop = 4 +vim.opt.shiftwidth = 4 +vim.opt.expandtab = true +vim.opt.smartindent = true +vim.g.mapleader = " " + +vim.keymap.set("t", "", [[]], { desc = "Exit terminal mode" }) diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua new file mode 100644 index 0000000..35d5f70 --- /dev/null +++ b/nvim/.config/nvim/lua/plugins.lua @@ -0,0 +1,2 @@ + +return {} diff --git a/nvim/.config/nvim/lua/plugins/catppuccin.lua b/nvim/.config/nvim/lua/plugins/catppuccin.lua new file mode 100644 index 0000000..6c84a92 --- /dev/null +++ b/nvim/.config/nvim/lua/plugins/catppuccin.lua @@ -0,0 +1,14 @@ + +-- catppuccin: color scheme +return { + "catppuccin/nvim", + lazy = false, + name = "catppuccin", + priority = 1000, + + -- set up + config = function() + vim.cmd.colorscheme "catppuccin" + end +} + diff --git a/nvim/.config/nvim/lua/plugins/lualine.lua b/nvim/.config/nvim/lua/plugins/lualine.lua new file mode 100644 index 0000000..f683625 --- /dev/null +++ b/nvim/.config/nvim/lua/plugins/lualine.lua @@ -0,0 +1,11 @@ + +return { + "nvim-lualine/lualine.nvim", + config = function() + require('lualine').setup({ + options = { + theme = 'dracula' + } + }) + end +} diff --git a/nvim/.config/nvim/lua/plugins/neo-tree.lua b/nvim/.config/nvim/lua/plugins/neo-tree.lua new file mode 100644 index 0000000..466c689 --- /dev/null +++ b/nvim/.config/nvim/lua/plugins/neo-tree.lua @@ -0,0 +1,17 @@ + +-- nvim-neo-tree: Tree file browser +return { + "nvim-neo-tree/neo-tree.nvim", + branch = "v3.x", + dependencies = { + "nvim-lua/plenary.nvim", + "MunifTanjim/nui.nvim", + "nvim-tree/nvim-web-devicons", -- optional, but recommended + }, + lazy = false, -- neo-tree will lazily load itself + + -- set up + config = function() + vim.keymap.set('n', '', ':Neotree filesystem reveal left', {}) + end +} diff --git a/nvim/.config/nvim/lua/plugins/telescope.lua b/nvim/.config/nvim/lua/plugins/telescope.lua new file mode 100644 index 0000000..3527376 --- /dev/null +++ b/nvim/.config/nvim/lua/plugins/telescope.lua @@ -0,0 +1,14 @@ + +-- telescope: fuzzy search +return { + "nvim-telescope/telescope.nvim", + -- tag = '0.1.5', + dependencies = { "nvim-lua/plenary.nvim" }, + + -- set up + config = function() + local builtin = require("telescope.builtin") + vim.keymap.set('n', '', builtin.find_files, {}) + vim.keymap.set('n', 'f', builtin.live_grep, {}) + end +} diff --git a/nvim/.config/nvim/lua/plugins/treesitter.lua b/nvim/.config/nvim/lua/plugins/treesitter.lua new file mode 100644 index 0000000..78b8048 --- /dev/null +++ b/nvim/.config/nvim/lua/plugins/treesitter.lua @@ -0,0 +1,16 @@ + +-- treesitter: code parser +return { + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + + -- set up + config = function() + local config = require("nvim-treesitter.config") + config.setup({ + ensure_installed = {"python", "bash", "lua"}, + highlight = { enable = true }, + indent = { enable = true } + }) + end +} From 0ecc3ba401f33cf6ee380fcf5cec05418e08c32f Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Fri, 20 Mar 2026 21:31:16 +0100 Subject: [PATCH 05/17] stow nvim --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index c2e8b01..913dcb0 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ .PHONY: basic basic: + stow nvim bash .install_skripte/install_basic_pcks.sh hypr: basic stow hypr From d6489bf1118c6bc1295cb7cf7a4c66339a8f7d51 Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Fri, 20 Mar 2026 21:32:19 +0100 Subject: [PATCH 06/17] link nerd font in kitty --- hypr/.config/kitty/kitty.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hypr/.config/kitty/kitty.conf b/hypr/.config/kitty/kitty.conf index c7594f1..4d4f166 100644 --- a/hypr/.config/kitty/kitty.conf +++ b/hypr/.config/kitty/kitty.conf @@ -3,3 +3,10 @@ map ctrl+shift+c copy_to_clipboard map ctrl+shift+v paste_from_clipboard copy_on_select yes +# Font +font_family JetBrainsMono NF +bold_font auto +italic_font auto +bold_italic_font auto +font_size 12.0 + From 96e04eb2514e5c904bbb8b02e1b2c811ec8b518d Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Fri, 20 Mar 2026 21:53:31 +0100 Subject: [PATCH 07/17] first basic installs then stow --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 913dcb0..a00c66d 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ .PHONY: basic basic: - stow nvim bash .install_skripte/install_basic_pcks.sh + stow nvim hypr: basic stow hypr bash .install_skripte/install_hypr_pcks.sh From 703663da1f1b7529d2b2afa6476ca28c906ed52c Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Fri, 20 Mar 2026 23:02:58 +0100 Subject: [PATCH 08/17] fix nextcloud and modularize --- .install_skripte/install_basic_pcks.sh | 10 ---------- .install_skripte/nextcloud.sh | 17 +++++++++++++++++ Makefile | 1 + 3 files changed, 18 insertions(+), 10 deletions(-) create mode 100644 .install_skripte/nextcloud.sh diff --git a/.install_skripte/install_basic_pcks.sh b/.install_skripte/install_basic_pcks.sh index 9f21bad..3d8a3e8 100755 --- a/.install_skripte/install_basic_pcks.sh +++ b/.install_skripte/install_basic_pcks.sh @@ -55,13 +55,3 @@ sudo pacman -S --needed \ -# Setup rbw -rbw config set email mathias2784@web.de -rbw register - -# Nextcloud -if [ ! -d "$HOME/nextcloud/local_configs" ]; then - echo "Fehler: Benötige $HOME/nextcloud/local_configs" >&2 - exit 1 -fi -stow --dir=$HOME/nextcloud/local_configs default diff --git a/.install_skripte/nextcloud.sh b/.install_skripte/nextcloud.sh new file mode 100644 index 0000000..1e6a24b --- /dev/null +++ b/.install_skripte/nextcloud.sh @@ -0,0 +1,17 @@ +EXPORT NC_USER="mathias" +EXPORT NC_PASSWORD="$(rbw get Nextcloud)" + +# Setup rbw +rbw config set email mathias2784@web.de +rbw register + +nextcloudcmd --non-interactive \ + ~/nextcloud \ + https://nextcloud.schneiderserver.site + +# Nextcloud +if [ ! -d "$HOME/nextcloud/local_configs" ]; then + echo "Fehler: Benötige $HOME/nextcloud/local_configs" >&2 + exit 1 +fi +stow --dir=$HOME/nextcloud/local_configs default diff --git a/Makefile b/Makefile index a00c66d..fb8caf9 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ basic: bash .install_skripte/install_basic_pcks.sh stow nvim + bash .install_skripte/nextcloud.sh hypr: basic stow hypr bash .install_skripte/install_hypr_pcks.sh From d52ceeef693ef50b8a336d2cfea9bb00a249b741 Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Fri, 20 Mar 2026 23:09:04 +0100 Subject: [PATCH 09/17] some fixes to .install_skripte/nextcloud.sh --- .install_skripte/nextcloud.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 .install_skripte/nextcloud.sh diff --git a/.install_skripte/nextcloud.sh b/.install_skripte/nextcloud.sh old mode 100644 new mode 100755 index 1e6a24b..77ec907 --- a/.install_skripte/nextcloud.sh +++ b/.install_skripte/nextcloud.sh @@ -1,5 +1,5 @@ -EXPORT NC_USER="mathias" -EXPORT NC_PASSWORD="$(rbw get Nextcloud)" +export NC_USER="mathias" +export NC_PASSWORD="$(rbw get Nextcloud)" # Setup rbw rbw config set email mathias2784@web.de From 6479c0b6ffe2b0aac132e5afe783d60d618497e0 Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Fri, 20 Mar 2026 23:15:30 +0100 Subject: [PATCH 10/17] some nextcloud fixes --- .install_skripte/nextcloud.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.install_skripte/nextcloud.sh b/.install_skripte/nextcloud.sh index 77ec907..1565f59 100755 --- a/.install_skripte/nextcloud.sh +++ b/.install_skripte/nextcloud.sh @@ -3,6 +3,7 @@ export NC_PASSWORD="$(rbw get Nextcloud)" # Setup rbw rbw config set email mathias2784@web.de +rbw config set base_url https://nextcloud.schneiderserver.site rbw register nextcloudcmd --non-interactive \ From ec749beb0a22a32f44159200c2916684975dd9fc Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Fri, 20 Mar 2026 23:18:32 +0100 Subject: [PATCH 11/17] some nextcloud fixes --- .install_skripte/nextcloud.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.install_skripte/nextcloud.sh b/.install_skripte/nextcloud.sh index 1565f59..3a32ff1 100755 --- a/.install_skripte/nextcloud.sh +++ b/.install_skripte/nextcloud.sh @@ -6,6 +6,8 @@ rbw config set email mathias2784@web.de rbw config set base_url https://nextcloud.schneiderserver.site rbw register +mkdir -p $HOME/nextcloud + nextcloudcmd --non-interactive \ ~/nextcloud \ https://nextcloud.schneiderserver.site From 838bff42fe6fc37b23f596d3d4070aac00709d06 Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Fri, 20 Mar 2026 23:20:56 +0100 Subject: [PATCH 12/17] some nextcloud fixes --- .install_skripte/nextcloud.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/.install_skripte/nextcloud.sh b/.install_skripte/nextcloud.sh index 3a32ff1..fa62b40 100755 --- a/.install_skripte/nextcloud.sh +++ b/.install_skripte/nextcloud.sh @@ -3,7 +3,6 @@ export NC_PASSWORD="$(rbw get Nextcloud)" # Setup rbw rbw config set email mathias2784@web.de -rbw config set base_url https://nextcloud.schneiderserver.site rbw register mkdir -p $HOME/nextcloud From d120e8fb557edaac03e8774366a88f23219bb2a7 Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Fri, 20 Mar 2026 23:24:35 +0100 Subject: [PATCH 13/17] some nextcloud fixes --- .install_skripte/nextcloud.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.install_skripte/nextcloud.sh b/.install_skripte/nextcloud.sh index fa62b40..63ea19d 100755 --- a/.install_skripte/nextcloud.sh +++ b/.install_skripte/nextcloud.sh @@ -1,10 +1,11 @@ -export NC_USER="mathias" -export NC_PASSWORD="$(rbw get Nextcloud)" # Setup rbw rbw config set email mathias2784@web.de rbw register +export NC_USER="mathias" +export NC_PASSWORD="$(rbw get Nextcloud)" + mkdir -p $HOME/nextcloud nextcloudcmd --non-interactive \ From e0053e04f64fccd8ee00cbb53ae5d5fd7b44d9ed Mon Sep 17 00:00:00 2001 From: Mathias Date: Sat, 21 Mar 2026 10:26:34 +0100 Subject: [PATCH 14/17] some installer updates --- .install_skripte/install_basic_pcks.sh | 4 ++-- .install_skripte/nextcloud.sh | 17 +++++++++++------ Makefile | 4 ++-- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.install_skripte/install_basic_pcks.sh b/.install_skripte/install_basic_pcks.sh index 3d8a3e8..6b6e793 100755 --- a/.install_skripte/install_basic_pcks.sh +++ b/.install_skripte/install_basic_pcks.sh @@ -49,9 +49,9 @@ sudo pacman -S --needed \ pipewire-session-manager \ qpwgraph \ cifs-utils \ - opencode \ + opencode \ rbw \ - extra/ttf-jetbrains-mono-nerd + extra/ttf-jetbrains-mono-nerd diff --git a/.install_skripte/nextcloud.sh b/.install_skripte/nextcloud.sh index 63ea19d..9f6ef3b 100755 --- a/.install_skripte/nextcloud.sh +++ b/.install_skripte/nextcloud.sh @@ -1,12 +1,17 @@ -# Setup rbw -rbw config set email mathias2784@web.de -rbw register +# # Setup rbw +# rbw config set email mathias2784@web.de +# rbw register +# +# export NC_USER="mathias" +# export NC_PASSWORD="$(rbw get Nextcloud)" +# +# mkdir -p $HOME/nextcloud -export NC_USER="mathias" -export NC_PASSWORD="$(rbw get Nextcloud)" +nextcloud +echo "warte kurz..." +sleep 10 -mkdir -p $HOME/nextcloud nextcloudcmd --non-interactive \ ~/nextcloud \ diff --git a/Makefile b/Makefile index fb8caf9..b4d9162 100644 --- a/Makefile +++ b/Makefile @@ -6,13 +6,13 @@ basic: stow nvim bash .install_skripte/nextcloud.sh hypr: basic - stow hypr bash .install_skripte/install_hypr_pcks.sh + stow hypr bash hypr/.config/hypr/scripts/ensure-env.sh bash hypr/.config/hypr/scripts/portal-host-override.sh bash hypr/.config/hypr/scripts/fix_dolphin_file_associations.sh kreation: basic - stow kreation bash .install_skripte/install_kreation_pcks.sh + stow kreation bunters-monster: basic hypr kreation .install_skripte/buntes-monster-links.sh From 11ab3fa713f53efcbc4fc0ef885971699207bba1 Mon Sep 17 00:00:00 2001 From: Mathias Date: Sat, 21 Mar 2026 10:58:45 +0100 Subject: [PATCH 15/17] Nextcloud GUI setup --- .install_skripte/nextcloud.sh | 38 +++++++++++++++++------------------ 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/.install_skripte/nextcloud.sh b/.install_skripte/nextcloud.sh index 9f6ef3b..154dcef 100755 --- a/.install_skripte/nextcloud.sh +++ b/.install_skripte/nextcloud.sh @@ -1,25 +1,23 @@ -# # Setup rbw -# rbw config set email mathias2784@web.de -# rbw register -# -# export NC_USER="mathias" -# export NC_PASSWORD="$(rbw get Nextcloud)" -# -# mkdir -p $HOME/nextcloud +retry() { + local N=$1; shift + local t=$2; shift + for i in $(seq 1 $N); do + "$@" && return 0 || sleep $t + done + return 1 +} -nextcloud -echo "warte kurz..." -sleep 10 +stow_nextcloud() { + # Nextcloud + if [ ! -d "$HOME/nextcloud/local_configs" ]; then + echo "Fehler: Benötige $HOME/nextcloud/local_configs" >&2 + exit 1 + fi + stow --dir=$HOME/nextcloud/local_configs default +} +nextcloud & -nextcloudcmd --non-interactive \ - ~/nextcloud \ - https://nextcloud.schneiderserver.site +retry 30 10 stow_nextcloud -# Nextcloud -if [ ! -d "$HOME/nextcloud/local_configs" ]; then - echo "Fehler: Benötige $HOME/nextcloud/local_configs" >&2 - exit 1 -fi -stow --dir=$HOME/nextcloud/local_configs default From 255bc97b4cea49550650307a628d09ab80af6cc8 Mon Sep 17 00:00:00 2001 From: Mathias Date: Sat, 21 Mar 2026 11:47:16 +0100 Subject: [PATCH 16/17] some optimizations --- .install_skripte/nextcloud.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.install_skripte/nextcloud.sh b/.install_skripte/nextcloud.sh index 154dcef..0584c01 100755 --- a/.install_skripte/nextcloud.sh +++ b/.install_skripte/nextcloud.sh @@ -14,10 +14,10 @@ stow_nextcloud() { echo "Fehler: Benötige $HOME/nextcloud/local_configs" >&2 exit 1 fi - stow --dir=$HOME/nextcloud/local_configs default + stow --dir=$HOME/nextcloud/local_configs --target=$HOME default } nextcloud & -retry 30 10 stow_nextcloud +retry 90 10 stow_nextcloud From 24455eb1a2f67d1dc3621faf7a9b27ac8be3c58e Mon Sep 17 00:00:00 2001 From: Mathias Date: Sat, 21 Mar 2026 11:54:02 +0100 Subject: [PATCH 17/17] fish as standard --- .install_skripte/install_basic_pcks.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.install_skripte/install_basic_pcks.sh b/.install_skripte/install_basic_pcks.sh index 6b6e793..ca64fb7 100755 --- a/.install_skripte/install_basic_pcks.sh +++ b/.install_skripte/install_basic_pcks.sh @@ -27,6 +27,7 @@ else fi sudo pacman -S --needed \ + fish \ vim \ nvim \ firefox \ @@ -53,5 +54,5 @@ sudo pacman -S --needed \ rbw \ extra/ttf-jetbrains-mono-nerd - - +# fish as standard terminal +chsh -s /usr/bin/fish