Adding Editor
This commit is contained in:
parent
516a3a7071
commit
19b508a527
|
@ -4,9 +4,9 @@ arch=('any')
|
||||||
url='https://git.tipragot.fr/tipragot/tos'
|
url='https://git.tipragot.fr/tipragot/tos'
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
|
|
||||||
pkgver='0.1.3'
|
pkgver='0.1.4'
|
||||||
pkgrel='1'
|
pkgrel='1'
|
||||||
depends=('tos-core' 'xorg-server' 'tos-fonts' 'tos-tools')
|
depends=('tos-core' 'xorg-server' 'tos-fonts')
|
||||||
source=('tos-desktop.conf')
|
source=('tos-desktop.conf')
|
||||||
cksums=('SKIP')
|
cksums=('SKIP')
|
||||||
|
|
||||||
|
|
16
packages/tos-desktop-editor/PKGBUILD
Normal file
16
packages/tos-desktop-editor/PKGBUILD
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
pkgname='tos-desktop-editor'
|
||||||
|
pkgdesc='Editor for Tipragot OS'
|
||||||
|
arch=('any')
|
||||||
|
url='https://git.tipragot.fr/tipragot/tos'
|
||||||
|
license=('MIT')
|
||||||
|
|
||||||
|
pkgver='0.1.0'
|
||||||
|
pkgrel='1'
|
||||||
|
depends=('helix')
|
||||||
|
source=('config.toml')
|
||||||
|
cksums=('SKIP')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
mkdir -p ${pkgdir}/etc/tos/dotfiles/.config/helix
|
||||||
|
cp ${srcdir}/config.toml ${pkgdir}/etc/tos/dotfiles/.config/helix/config.toml
|
||||||
|
}
|
103
packages/tos-desktop-editor/config.toml
Normal file
103
packages/tos-desktop-editor/config.toml
Normal file
|
@ -0,0 +1,103 @@
|
||||||
|
theme = "dark_plus"
|
||||||
|
|
||||||
|
[editor]
|
||||||
|
mouse = false
|
||||||
|
|
||||||
|
[editor.cursor-shape]
|
||||||
|
insert = "bar"
|
||||||
|
normal = "block"
|
||||||
|
select = "underline"
|
||||||
|
|
||||||
|
[keys.normal]
|
||||||
|
n = "move_char_left"
|
||||||
|
e = "move_line_down"
|
||||||
|
i = "move_line_up"
|
||||||
|
o = "move_char_right"
|
||||||
|
|
||||||
|
h = "insert_mode"
|
||||||
|
H = "insert_at_line_start"
|
||||||
|
|
||||||
|
l = "open_below"
|
||||||
|
L = "open_above"
|
||||||
|
|
||||||
|
k = "move_next_word_end"
|
||||||
|
K = "move_next_long_word_end"
|
||||||
|
|
||||||
|
j = "search_next"
|
||||||
|
J = "search_prev"
|
||||||
|
|
||||||
|
E = "join_selections"
|
||||||
|
"A-E" = "join_selections_space"
|
||||||
|
|
||||||
|
I = "keep_selections"
|
||||||
|
"A-I" = "remove_selections"
|
||||||
|
|
||||||
|
[keys.normal.g]
|
||||||
|
n = "goto_line_start"
|
||||||
|
e = "move_line_down"
|
||||||
|
i = "move_line_up"
|
||||||
|
o = "goto_line_end"
|
||||||
|
|
||||||
|
[keys.normal.C-w]
|
||||||
|
n = "jump_view_left"
|
||||||
|
e = "jump_view_down"
|
||||||
|
i = "jump_view_up"
|
||||||
|
o = "jump_view_right"
|
||||||
|
|
||||||
|
N = "swap_view_left"
|
||||||
|
E = "swap_view_down"
|
||||||
|
I = "swap_view_up"
|
||||||
|
O = "swap_view_right"
|
||||||
|
|
||||||
|
h = "vsplit_new"
|
||||||
|
H = "hsplit_new"
|
||||||
|
|
||||||
|
a = "wonly"
|
||||||
|
|
||||||
|
[keys.insert]
|
||||||
|
"C-n" = "kill_to_line_start"
|
||||||
|
"C-o" = "kill_to_line_end"
|
||||||
|
"C-e" = "insert_newline"
|
||||||
|
|
||||||
|
[keys.select]
|
||||||
|
n = "move_char_left"
|
||||||
|
e = "move_line_down"
|
||||||
|
i = "move_line_up"
|
||||||
|
o = "move_char_right"
|
||||||
|
|
||||||
|
h = "insert_mode"
|
||||||
|
H = "insert_at_line_start"
|
||||||
|
|
||||||
|
l = "open_below"
|
||||||
|
L = "open_above"
|
||||||
|
|
||||||
|
k = "move_next_word_end"
|
||||||
|
K = "move_next_long_word_end"
|
||||||
|
|
||||||
|
j = "extend_search_next"
|
||||||
|
J = "extend_search_prev"
|
||||||
|
|
||||||
|
E = "join_selections"
|
||||||
|
"A-E" = "join_selections_space"
|
||||||
|
|
||||||
|
I = "keep_selections"
|
||||||
|
"A-I" = "remove_selections"
|
||||||
|
|
||||||
|
[keys.normal.z]
|
||||||
|
e = "scroll_down"
|
||||||
|
i = "scroll_up"
|
||||||
|
|
||||||
|
[keys.normal.Z]
|
||||||
|
e = "scroll_down"
|
||||||
|
i = "scroll_up"
|
||||||
|
|
||||||
|
[keys.normal.space.w]
|
||||||
|
n = "jump_view_left"
|
||||||
|
e = "jump_view_down"
|
||||||
|
i = "jump_view_up"
|
||||||
|
o = "jump_view_right"
|
||||||
|
|
||||||
|
N = "swap_view_left"
|
||||||
|
E = "swap_view_down"
|
||||||
|
I = "swap_view_up"
|
||||||
|
O = "swap_view_right"
|
|
@ -4,9 +4,11 @@ arch=('any')
|
||||||
url='https://git.tipragot.fr/tipragot/tos'
|
url='https://git.tipragot.fr/tipragot/tos'
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
|
|
||||||
pkgver='0.2.7'
|
pkgver='0.2.8'
|
||||||
pkgrel='1'
|
pkgrel='1'
|
||||||
depends=('tos-desktop-core' 'alacritty' 'fish' 'bat' 'exa' 'zoxide' 'fzf')
|
depends=(
|
||||||
|
'tos-desktop-core' 'alacritty' 'tos-desktop-editor' 'fish' 'bat' 'exa' 'zoxide' 'fzf' 'base-devel' 'openssh' 'git'
|
||||||
|
)
|
||||||
source=('config.toml' 'config.fish')
|
source=('config.toml' 'config.fish')
|
||||||
cksums=('SKIP' 'SKIP')
|
cksums=('SKIP' 'SKIP')
|
||||||
|
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
pkgname=tos-prism
|
|
||||||
pkgver=7.3
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="Minecraft launcher with ability to manage multiple instances."
|
|
||||||
arch=('x86_64')
|
|
||||||
url="https://prismlauncher.org"
|
|
||||||
license=('GPL3')
|
|
||||||
depends=('java-runtime=17' 'libgl' 'qt5-base' 'qt5-svg' 'qt5-imageformats' 'zlib' 'hicolor-icon-theme')
|
|
||||||
provides=('prismlauncher' 'prismlauncher-qt5')
|
|
||||||
conflicts=('prismlauncher' 'prismlauncher-qt5')
|
|
||||||
optdepends=('glfw: to use system GLFW libraries'
|
|
||||||
'openal: to use system OpenAL libraries'
|
|
||||||
'visualvm: Profiling support'
|
|
||||||
'xorg-xrandr: for older minecraft versions'
|
|
||||||
'java-runtime=8: support for Minecraft versions < 1.17'
|
|
||||||
)
|
|
||||||
source=("https://github.com/PrismLauncher/PrismLauncher/releases/download/7.2/PrismLauncher-Linux-7.2.tar.gz")
|
|
||||||
noextract=("PrismLauncher-Linux-7.2.tar.gz")
|
|
||||||
sha256sums=('6faffe40f978c65cf2f7806393e5563eaf299fd0e963b783f861e5b9087486b1')
|
|
||||||
|
|
||||||
package() {
|
|
||||||
install -d "${pkgdir}/usr"
|
|
||||||
tar -C "${pkgdir}/usr" -xvf PrismLauncher-Linux-7.2.tar.gz
|
|
||||||
chown -R root:root "${pkgdir}/usr" # files in tarball are not owned by root
|
|
||||||
}
|
|
|
@ -1,9 +0,0 @@
|
||||||
pkgname='tos-tools'
|
|
||||||
pkgdesc='Rust version of GNU tools'
|
|
||||||
arch=('any')
|
|
||||||
url='https://git.tipragot.fr/tipragot/tos'
|
|
||||||
license=('MIT')
|
|
||||||
|
|
||||||
pkgver='0.1.2'
|
|
||||||
pkgrel='1'
|
|
||||||
depends=('tos-core' 'base-devel' 'openssh' 'git')
|
|
Loading…
Reference in a new issue