aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/.bashrc4
-rw-r--r--system/.config/mimeapps.list7
-rw-r--r--system/.config/zathura/zathurarc1
-rw-r--r--system/.profile6
4 files changed, 15 insertions, 3 deletions
diff --git a/system/.bashrc b/system/.bashrc
index 9d74f8f..4b59c4b 100644
--- a/system/.bashrc
+++ b/system/.bashrc
@@ -122,8 +122,8 @@ function _update_ps1() {
PS1="$(
$HOME/bin/powerline-go \
-max-width 40 \
- -modules host,user,cwd,git,nix-shell,jobs,exit \
- -priority host,user,git,cwd,nix-shell,jobs,exit \
+ -modules host,venv,cwd,git,nix-shell,jobs,exit \
+ -priority host,git,venv,cwd,nix-shell,jobs,exit \
-error $? \
-git-disable-stats untracked \
-hostname-only-if-ssh \
diff --git a/system/.config/mimeapps.list b/system/.config/mimeapps.list
index e0c6f2f..94181ee 100644
--- a/system/.config/mimeapps.list
+++ b/system/.config/mimeapps.list
@@ -12,6 +12,8 @@ application/x-extension-xhtml=firefox-esr.desktop
application/x-extension-xht=firefox-esr.desktop
application/x-desktop=gio-launch.desktop;
image/jpeg=feh.desktop;
+text/plain=org.gnome.gedit.desktop
+x-scheme-handler/ente=ente.desktop
[Added Associations]
x-scheme-handler/http=firefox-esr.desktop;
@@ -26,5 +28,8 @@ application/x-extension-xhtml=firefox-esr.desktop;
application/x-extension-xht=firefox-esr.desktop;
application/pdf=org.gnome.Evince.desktop;
application/x-desktop=gio-launch.desktop;
-image/jpeg=feh.desktop;
+image/jpeg=gimp.desktop;feh.desktop;
application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop;
+application/x-latex=org.gnome.gedit.desktop;
+txt/plain=org.gnome.gedit.desktop;
+text/plain=org.gnome.gedit.desktop;
diff --git a/system/.config/zathura/zathurarc b/system/.config/zathura/zathurarc
new file mode 100644
index 0000000..5406473
--- /dev/null
+++ b/system/.config/zathura/zathurarc
@@ -0,0 +1 @@
+set database sqlite
diff --git a/system/.profile b/system/.profile
index 39295eb..87ca52f 100644
--- a/system/.profile
+++ b/system/.profile
@@ -16,6 +16,10 @@ export PATH="$HOME/.local/bin:$PATH"
[ -f "/home/camil/.ghcup/env" ] && . "/home/camil/.ghcup/env"
+export NVM_DIR="$HOME/.nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
+[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
+
[ -f /home/camil/.nix-profile/etc/profile.d/nix.sh ] && . /home/camil/.nix-profile/etc/profile.d/nix.sh
# with TERM=rxvt-unicode-256color, backspace and other keys don't work in nix shells
[ "$IN_NIX_SHELL" = "" -a "$TERM" = "rxvt-unicode-256color" ] || TERM=rxvt-256color
@@ -35,6 +39,8 @@ export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=gasp -Dsun.java2d.opengl=tru
# Enable sync in Chromium: https://stackoverflow.com/a/67459416 and https://askubuntu.com/a/780874
export CHROMIUM_FLAGS="--oauth2-client-id=77185425430.apps.googleusercontent.com --oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT"
+export QT_QPA_PLATFORMTHEME=qt5ct
+
shopt -s globstar
[ "$(tty)" = "/dev/tty1" ] && exec startx