dkwooa
This commit is contained in:
parent
e1c9a58312
commit
26cb9266d7
5 changed files with 132 additions and 26 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# This file contains fish universal variable definitions.
|
# This file contains fish universal variable definitions.
|
||||||
# VERSION: 3.0
|
# VERSION: 3.0
|
||||||
SETUVAR --export EDITOR:neovide
|
SETUVAR --export EDITOR:nvim
|
||||||
SETUVAR LESS:RAW\x2dCONTROL\x2dCHARS
|
SETUVAR LESS:RAW\x2dCONTROL\x2dCHARS
|
||||||
SETUVAR __fish_initialized:4300
|
SETUVAR __fish_initialized:4300
|
||||||
SETUVAR fish_greeting:\x1d
|
SETUVAR fish_greeting:\x1d
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ match-counter=yes
|
||||||
# delayed-filter-ms=300
|
# delayed-filter-ms=300
|
||||||
# delayed-filter-limit=20000
|
# delayed-filter-limit=20000
|
||||||
# show-actions=no
|
# show-actions=no
|
||||||
# terminal=$TERMINAL -e # Note: you cannot actually use environment variables here
|
terminal=alacritty -e # Note: you cannot actually use environment variables here
|
||||||
# launch-prefix=<not set>
|
# launch-prefix=<not set>
|
||||||
# list-executables-in-path=no
|
# list-executables-in-path=no
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -349,11 +349,11 @@ window-rule {
|
||||||
max-height 37
|
max-height 37
|
||||||
}
|
}
|
||||||
|
|
||||||
window-rule {
|
// window-rule {
|
||||||
match app-id=r#"ipe$"# title="^Create text object$"
|
// match app-id=r#"ipe$"# title="^Create text object$"
|
||||||
open-floating false
|
// open-floating false
|
||||||
default-column-width { proportion 0.2; }
|
// default-column-width { proportion 0.2; }
|
||||||
}
|
// }
|
||||||
|
|
||||||
window-rule {
|
window-rule {
|
||||||
match is-floating=true
|
match is-floating=true
|
||||||
|
|
|
||||||
|
|
@ -2,30 +2,33 @@
|
||||||
|
|
||||||
# Select folders in current semester
|
# Select folders in current semester
|
||||||
function open_semester
|
function open_semester
|
||||||
set recent "/home/never/Documents/InNa/26_SoSe/"
|
set options (ls $argv[1])
|
||||||
set options (ls $recent)
|
|
||||||
set input (menu $options)
|
set input (menu $options)
|
||||||
|
|
||||||
alacritty msg create-window --working-directory $recent/$input
|
if test -z "$input"
|
||||||
|
alacritty msg create-window --working-directory $argv[1]
|
||||||
|
else if test -d $argv[1]/$input
|
||||||
|
open_semester $argv[1]/$input
|
||||||
|
else
|
||||||
|
xdg-open $argv[1]/$input
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Open user directories
|
# Open user directories
|
||||||
function open_location
|
function open_location
|
||||||
set options "Semester" " Documents" " Music" " Pictures" " Videos" " Downloads"
|
set options " Documents" " Music" " Pictures" " Videos" " Downloads"
|
||||||
set input (menu $options)
|
set input (menu $options)
|
||||||
|
|
||||||
switch $input
|
switch $input
|
||||||
case $options[1]
|
case $options[1]
|
||||||
open_semester
|
|
||||||
case $options[2]
|
|
||||||
alacritty msg create-window --working-directory (xdg-user-dir)/Documents/
|
alacritty msg create-window --working-directory (xdg-user-dir)/Documents/
|
||||||
case $options[3]
|
case $options[2]
|
||||||
alacritty msg create-window --working-directory (xdg-user-dir)/Music/
|
alacritty msg create-window --working-directory (xdg-user-dir)/Music/
|
||||||
case $options[4]
|
case $options[3]
|
||||||
alacritty msg create-window --working-directory (xdg-user-dir)/Pictures/
|
alacritty msg create-window --working-directory (xdg-user-dir)/Pictures/
|
||||||
case $options[5]
|
case $options[4]
|
||||||
alacritty msg create-window --working-directory (xdg-user-dir)/Videos/
|
alacritty msg create-window --working-directory (xdg-user-dir)/Videos/
|
||||||
case $options[6]
|
case $options[5]
|
||||||
alacritty msg create-window --working-directory (xdg-user-dir)/Downloads/
|
alacritty msg create-window --working-directory (xdg-user-dir)/Downloads/
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
@ -144,39 +147,49 @@ function set_keyboard_backlight
|
||||||
brightnessctl --device=white:kbd_backlight set (menu --index "0" "1" "2" "3" "4")
|
brightnessctl --device=white:kbd_backlight set (menu --index "0" "1" "2" "3" "4")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function mirror_screen
|
||||||
|
wl-mirror eDP-1
|
||||||
|
end
|
||||||
|
|
||||||
# Select sub menu
|
# Select sub menu
|
||||||
set options " Open Location" " Open WueCampus Course" " Select Audio Source" " Select Audio Sink" " Select Bluetooth" " Select Network" " Select Color Scheme" " Restore Notifications" " Set Keyboard Backlight"
|
set options " Open Semester" " Open WueCampus Course" " Open Location" " Select Audio Source" " Select Audio Sink" " Select Bluetooth" " Select Network" " Select Color Scheme" " Restore Notifications" " Set Keyboard Backlight" " Mirror Screen"
|
||||||
set input (menu $options)
|
set input (menu $options)
|
||||||
|
|
||||||
switch $input
|
switch $input
|
||||||
case $options[1]
|
case $options[1]
|
||||||
open_location
|
open_semester "/home/never/Documents/InNa/26_SoSe/"
|
||||||
|
|
||||||
case $options[2]
|
case $options[2]
|
||||||
open_course
|
open_course
|
||||||
|
|
||||||
case $options[3]
|
case $options[3]
|
||||||
|
open_location
|
||||||
|
|
||||||
|
case $options[4]
|
||||||
wpsourcemenu.fish
|
wpsourcemenu.fish
|
||||||
# audio_source
|
# audio_source
|
||||||
|
|
||||||
case $options[4]
|
case $options[5]
|
||||||
wpsinkmenu.fish
|
wpsinkmenu.fish
|
||||||
# audio_sink
|
# audio_sink
|
||||||
|
|
||||||
case $options[5]
|
case $options[6]
|
||||||
bluetoothmenu.fish
|
bluetoothmenu.fish
|
||||||
# bluetooth_connection
|
# bluetooth_connection
|
||||||
|
|
||||||
case $options[6]
|
case $options[7]
|
||||||
networkmenu.fish
|
networkmenu.fish
|
||||||
# network_connection
|
# network_connection
|
||||||
|
|
||||||
case $options[7]
|
case $options[8]
|
||||||
color_scheme
|
color_scheme
|
||||||
|
|
||||||
case $options[8]
|
case $options[9]
|
||||||
restore_notifications
|
restore_notifications
|
||||||
|
|
||||||
case $options[9]
|
case $options[10]
|
||||||
set_keyboard_backlight
|
set_keyboard_backlight
|
||||||
|
|
||||||
|
case $options[11]
|
||||||
|
mirror_screen
|
||||||
end
|
end
|
||||||
|
|
|
||||||
93
.local/share/applications/org.neovim.nvim.desktop
Normal file
93
.local/share/applications/org.neovim.nvim.desktop
Normal file
|
|
@ -0,0 +1,93 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Neovim
|
||||||
|
GenericName=Text Editor
|
||||||
|
GenericName[ckb]=دەستکاریکەری دەق
|
||||||
|
GenericName[de]=Texteditor
|
||||||
|
GenericName[fr]=Éditeur de texte
|
||||||
|
GenericName[pl]=Edytor tekstu
|
||||||
|
GenericName[ru]=Текстовый редактор
|
||||||
|
GenericName[sr]=Едитор текст
|
||||||
|
GenericName[tr]=Metin Düzenleyici
|
||||||
|
Comment=Edit text files
|
||||||
|
Comment[af]=Redigeer tekslêers
|
||||||
|
Comment[am]=የጽሑፍ ፋይሎች ያስተካክሉ
|
||||||
|
Comment[ar]=حرّر ملفات نصية
|
||||||
|
Comment[az]=Mətn fayllarını redaktə edin
|
||||||
|
Comment[be]=Рэдагаваньне тэкставых файлаў
|
||||||
|
Comment[bg]=Редактиране на текстови файлове
|
||||||
|
Comment[bn]=টেক্স্ট ফাইল এডিট করুন
|
||||||
|
Comment[bs]=Izmijeni tekstualne datoteke
|
||||||
|
Comment[ca]=Edita fitxers de text
|
||||||
|
Comment[ckb]=دەستکاریی فایلی دەق بکە
|
||||||
|
Comment[cs]=Úprava textových souborů
|
||||||
|
Comment[cy]=Golygu ffeiliau testun
|
||||||
|
Comment[da]=Redigér tekstfiler
|
||||||
|
Comment[de]=Textdateien bearbeiten
|
||||||
|
Comment[el]=Επεξεργασία αρχείων κειμένου
|
||||||
|
Comment[en_CA]=Edit text files
|
||||||
|
Comment[en_GB]=Edit text files
|
||||||
|
Comment[es]=Edita archivos de texto
|
||||||
|
Comment[et]=Redigeeri tekstifaile
|
||||||
|
Comment[eu]=Editatu testu-fitxategiak
|
||||||
|
Comment[fa]=ویرایش پروندههای متنی
|
||||||
|
Comment[fi]=Muokkaa tekstitiedostoja
|
||||||
|
Comment[fr]=Éditer des fichiers texte
|
||||||
|
Comment[ga]=Eagar comhad Téacs
|
||||||
|
Comment[gu]=લખાણ ફાઇલોમાં ફેરફાર કરો
|
||||||
|
Comment[he]=ערוך קבצי טקסט
|
||||||
|
Comment[hi]=पाठ फ़ाइलें संपादित करें
|
||||||
|
Comment[hr]=Uređivanje tekstualne datoteke
|
||||||
|
Comment[hu]=Szövegfájlok szerkesztése
|
||||||
|
Comment[id]=Edit file teks
|
||||||
|
Comment[it]=Modifica file di testo
|
||||||
|
Comment[ja]=テキストファイルを編集します
|
||||||
|
Comment[kn]=ಪಠ್ಯ ಕಡತಗಳನ್ನು ಸಂಪಾದಿಸು
|
||||||
|
Comment[ko]=텍스트 파일을 편집합니다
|
||||||
|
Comment[lt]=Redaguoti tekstines bylas
|
||||||
|
Comment[lv]=Rediģēt teksta failus
|
||||||
|
Comment[mk]=Уреди текстуални фајлови
|
||||||
|
Comment[ml]=വാചക രചനകള് തിരുത്തുക
|
||||||
|
Comment[mn]=Текст файл боловсруулах
|
||||||
|
Comment[mr]=गद्य फाइल संपादित करा
|
||||||
|
Comment[ms]=Edit fail teks
|
||||||
|
Comment[nb]=Rediger tekstfiler
|
||||||
|
Comment[ne]=पाठ फाइललाई संशोधन गर्नुहोस्
|
||||||
|
Comment[nl]=Tekstbestanden bewerken
|
||||||
|
Comment[nn]=Rediger tekstfiler
|
||||||
|
Comment[no]=Rediger tekstfiler
|
||||||
|
Comment[or]=ପାଠ୍ଯ ଫାଇଲଗୁଡ଼ିକୁ ସମ୍ପାଦନ କରନ୍ତୁ
|
||||||
|
Comment[pa]=ਪਾਠ ਫਾਇਲਾਂ ਸੰਪਾਦਨ
|
||||||
|
Comment[pl]=Edytor plików tekstowych
|
||||||
|
Comment[pt]=Editar ficheiros de texto
|
||||||
|
Comment[pt_BR]=Edite arquivos de texto
|
||||||
|
Comment[ro]=Editare fişiere text
|
||||||
|
Comment[ru]=Редактирование текстовых файлов
|
||||||
|
Comment[sk]=Úprava textových súborov
|
||||||
|
Comment[sl]=Urejanje datotek z besedili
|
||||||
|
Comment[sq]=Përpuno files teksti
|
||||||
|
Comment[sr]=Уређујте текст фајлове
|
||||||
|
Comment[sr@Latn]=Izmeni tekstualne datoteke
|
||||||
|
Comment[sv]=Redigera textfiler
|
||||||
|
Comment[ta]=உரை கோப்புகளை தொகுக்கவும்
|
||||||
|
Comment[th]=แก้ไขแฟ้มข้อความ
|
||||||
|
Comment[tk]=Metin faýllary editle
|
||||||
|
Comment[tr]=Metin dosyaları düzenleyin
|
||||||
|
Comment[uk]=Редактор текстових файлів
|
||||||
|
Comment[vi]=Soạn thảo tập tin văn bản
|
||||||
|
Comment[wa]=Asspougnî des fitchîs tecses
|
||||||
|
Comment[zh_CN]=编辑文本文件
|
||||||
|
Comment[zh_TW]=編輯文字檔
|
||||||
|
TryExec=nvim
|
||||||
|
Exec=alacritty msg create-window -e nvim %F
|
||||||
|
Terminal=true
|
||||||
|
Type=Application
|
||||||
|
Keywords=Text;editor;
|
||||||
|
Keywords[ckb]=دەق;دەستکاریکەر;
|
||||||
|
Keywords[fr]=Texte;éditeur;
|
||||||
|
Keywords[ru]=текст;текстовый редактор;
|
||||||
|
Keywords[sr]=Текст;едитор;
|
||||||
|
Keywords[tr]=Metin;düzenleyici;
|
||||||
|
Icon=nvim
|
||||||
|
Categories=Utility;TextEditor;Development;
|
||||||
|
StartupNotify=false
|
||||||
|
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue