Compare commits

..

13 Commits

Author SHA1 Message Date
jolzem 6f7975fabe Included Alacritty color in config 2026-05-03 19:13:30 +02:00
jolzem 51e3ce3311 Outsourced Alacritty color 2026-05-03 19:12:05 +02:00
jolzem 2885a7d851 Updated colorscheme 2026-02-22 20:25:12 +01:00
jolzem c91d1f22ed Made yay config portable 2026-02-19 19:24:12 +01:00
jolzem e2c2cf41a3 Cleaned up vim config 2026-02-19 15:56:21 +01:00
jolzem 1d773607dd Removed old csgo config 2026-02-19 11:55:32 +01:00
jolzem 61be3cb0a7 Updated git editor 2026-02-19 11:55:08 +01:00
jolzem 01fb5edb24 Overhaul of alacritty config 2026-02-19 11:44:49 +01:00
jolzem 2c68ba6210 Overhaul of zsh config 2026-02-18 20:54:17 +01:00
jolzem 6bdde6f95b Updated gnome config 2025-12-22 14:14:13 +01:00
jolzem b23a393197 Suppressed output of librewolf when deploying 2025-12-22 14:09:35 +01:00
jolzem ba4fc5f8fb Removed neovim config 2025-12-22 14:05:22 +01:00
jolzem f2e79a79f1 Removed Copilot vim plugin 2025-12-22 14:04:25 +01:00
15 changed files with 379 additions and 676 deletions
+20 -121
View File
@@ -1,128 +1,27 @@
[general]
live_config_reload = true
[bell]
animation = "EaseOutExpo"
color = "0x1c1d27"
duration = 1
[colors]
draw_bold_text_with_bright_colors = true
[cursor]
style = "Beam"
unfocused_hollow = true
[font]
size = 12.0
[font.bold]
family = "DMMono Nerd Font"
style = "Bold"
[font.italic]
family = "DMMono Nerd Font"
style = "Italic"
[font.normal]
family = "DMMono Nerd Font"
style = "Medium"
[font.offset]
x = 0
y = 0
[[keyboard.bindings]]
action = "Paste"
key = "V"
mods = "Alt"
[[keyboard.bindings]]
action = "Copy"
key = "C"
mods = "Alt"
[[keyboard.bindings]]
action = "Quit"
key = "Q"
mods = "Super"
[[keyboard.bindings]]
action = "ToggleFullscreen"
key = "N"
mods = "Alt"
[[keyboard.bindings]]
action = "SpawnNewInstance"
key = "Return"
mods = "Super"
[[keyboard.bindings]]
action = "ScrollLineDown"
key = "J"
mods = "Alt"
[[keyboard.bindings]]
action = "ScrollLineUp"
key = "K"
mods = "Alt"
[[keyboard.bindings]]
action = "ScrollToBottom"
key = "L"
mods = "Alt"
[[keyboard.bindings]]
action = "ScrollToBottom"
key = "H"
mods = "Alt"
# Colors (Gruvbox dark)
# Default colors
[colors.primary]
# hard contrast background = = '#1d2021'
background = '#282828'
# soft contrast background = = '#32302f'
foreground = '#ebdbb2'
# Normal colors
[colors.normal]
black = '#282828'
red = '#cc241d'
green = '#98971a'
yellow = '#d79921'
blue = '#458588'
magenta = '#b16286'
cyan = '#689d6a'
white = '#a89984'
# Bright colors
[colors.bright]
black = '#928374'
red = '#fb4934'
green = '#b8bb26'
yellow = '#fabd2f'
blue = '#83a598'
magenta = '#d3869b'
cyan = '#8ec07c'
white = '#ebdbb2'
[mouse]
hide_when_typing = true
[scrolling]
history = 1000
[terminal.shell]
program = "/bin/zsh"
[window]
decorations = "None"
dynamic_padding = true
opacity = 0.9
import = [
"~/.config/alacritty/desktop.toml",
"~/.config/alacritty/color.toml"
]
[window.padding]
x = 32
y = 32
[font]
size = 12.0
[colors]
draw_bold_text_with_bright_colors = true
[cursor.style]
shape = "Block"
blinking = "On"
[keyboard]
bindings = [
{ key = "C", mods = "Alt", action = "Copy" },
{ key = "V", mods = "Alt", action = "Paste" }
]
+39
View File
@@ -0,0 +1,39 @@
# XTerm's default colors
# Default colors
[colors.primary]
background = '#000000'
foreground = '#ffffff'
# Normal colors
[colors.normal]
black = '#000000'
red = '#cd0000'
green = '#00cd00'
yellow = '#cdcd00'
blue = '#0000ee'
magenta = '#cd00cd'
cyan = '#00cdcd'
white = '#e5e5e5'
# Bright colors
[colors.bright]
black = '#7f7f7f'
red = '#ff0000'
green = '#00ff00'
yellow = '#ffff00'
blue = '#5c5cff'
magenta = '#ff00ff'
cyan = '#00ffff'
white = '#ffffff'
# Dim colors
[colors.dim]
black = '#000000'
red = '#9a0000'
green = '#009a00'
yellow = '#9a9a00'
blue = '#0000b4'
magenta = '#9a009a'
cyan = '#009a9a'
white = '#b2b2b2'
+21
View File
@@ -0,0 +1,21 @@
[window]
decorations = "None"
dynamic_padding = true
opacity = 0.9
[font.normal]
family = "JetBrainsMono Nerd Font"
style = "Light"
[font.bold]
family = "JetBrainsMono Nerd Font"
style = "Medium"
[font.italic]
family = "JetBrainsMono Nerd Font"
style = "Light Italic"
[font.bold_italic]
family = "JetBrainsMono Nerd Font"
style = "Medium Italic"
-152
View File
@@ -1,152 +0,0 @@
// Setup local server tick rate
tick 128
// Set rates according to your internet connection
rate 786432
// All the essential settings
con_enable // enable console
gameinstructor_enable 0 // disable instructions
cl_disablefreezecam 1 // disable death cam
cl_forcepreload 0 // force preloading
lobby_default_privacy_bits1 2 // lobby privacy: 0: private 1: public 2: clan 4: nearby 6: clan and nearby
cl_showloadout 1 // show weapons on bottom left
hud_showtargetid 1 // show enemy name on hover
cl_hud_bomb_under_radar 1 // show bomb under radar
cl_hud_playercount_pos 0 // show scoreboard/playercount on top
cl_hud_radar_scale 0.9 // how big radar is in hud
cl_cmdrate 128 // max command packets sent each second
cl_updaterate 128 // max command packets received each second
cl_teammate_colors_show 1 // show player colors
cl_radar_scale 0.4 // adjust zoom of radar
cl_radar_always_centered 0 // radar not centered on you
cl_radar_icon_scale_min 1 // how large character dots are
cl_use_opens_buy_menu 0 // dont open buy menu when pressing use
cl_interp 0.007813 // interpolation
cl_interp_ratio 1 // use cl_interp value
cl_predict 1 // predict on client side
cl_predictweapons 1 // predict weapon effects on client side
fps_max 150 // cap fps at 150
mm_dedicated_search_maxping 75 // matchmaking maximum ping 75
cl_autowepswitch 0 // don't auto switch weapon
joystick 0 // disable joystick
// Viewmodel
viewmodel_offset_x "2"
viewmodel_offset_y "2"
viewmodel_offset_z "-2"
viewmodel_fov "68"
viewmodel_presetpos "0" // don't reset after game restart
cl_viewmodel_shift_left_amt "0"
cl_viewmodel_shift_right_amt "0"
cl_bobcycle "0"
cl_bobamt_vert "0"
cl_bob_lower_amt "0"
cl_bobamt_lat "0"
cl_righthand 1
// Enable netgraph stats under scoreboard
net_graph 1
net_graphpos 2
// Crosshair
cl_crosshair_drawoutline "0"
cl_crosshaircolor "1"
cl_crosshairdot "0"
cl_crosshairgap "-2"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize "2"
cl_crosshairstyle "4"
cl_crosshairthickness "0.5"
cl_crosshairusealpha "1"
// Switch all music off except 10s round end warning
volume 0.3
snd_musicvolume 0.3
snd_deathcamera_volume 0
snd_mapobjective_volume 0
snd_menumusic_volume 0
snd_roundend_volume 0
snd_roundstart_volume 0
snd_tensecondwarning_volume 0.2
snd_mvp_volume 0.2
// Stereo Settings
snd_mixahead 0.05
snd_headphone_pan_exponent 1
snd_headphone_pan_radial_weight 0
snd_front_headphone_position 90
snd_rear_headphone_position 90
// Voice Chat
voice_enable 1
voice_loopback 0
voice_scale .8
// Binds
unbindall
// Mouse
sensitivity "1.32"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind mwheeldown "+jump"
m_rawinput 1
m_customaccel 0
m_mousespeed 0
// Keyboard
// Directional
bind "w" "+forward"
bind "s" "+back"
bind "a" "+moveleft"
bind "d" "+moveright"
bind "ctrl" "+speed"
bind "shift" "+duck"
// interact/select
bind "r" "+reload"
bind "e" "+use"
bind "g" "drop"
bind "q" "lastinv" // last used weapon
bind "1" "slot1" // SMG/Rifle
bind "2" "slot2" // Pistol
bind "3" "slot3" // Knife
bind "4" "slot4" // Grenades
bind "5" "slot5" // Bomb
bind "x" "slot12" // healthshot
bind "t" "+lookatweapon" // inspect
bind "k" "say_team" // team chat
bind "h" "say" // global chat
bind "y" "+spray_menu" // spray
bind "]" "toggleconsole" // console
bind "tab" "+score" // scoreboard
// Buy
bind "space" "buymenu"
bind "b" "buy vest"
bind "v" "buy vesthelm"
bind "u" "buy defuser"
bind "i" "buy hegrenade"
bind "o" "buy molotov"
bind "p" "buy flashbang"
bind "[" "buy smokegrenade"
bind "," "buy ak47"
bind "." "buy deagle"
bind "/" "buy awp"
bind "SEMICOLON" "buy mac10"
// Alias
alias "dm" "ignorerad; ignoremsg; voice_enable 0" // silence
alias "undodm" "ignorerad; ignorerad; ignoremsg; ignoremsg; voice_enable 1"
alias "dc" "disconnect" // easy disconnect
alias "cd" "disconnect"
alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump"
bind "c" "+jumpthrow"
host_writeconfig
+22 -20
View File
@@ -22,23 +22,25 @@ for option in "$@"; do
[ ! -d "$HOME/.config/alacritty" ] && mkdir -p "$HOME/.config/alacritty"
link "$PWD/alacritty/alacritty.toml" "$HOME/.config/alacritty/alacritty.toml"
;;
zsh)
[ ! -d "$HOME/.config/zsh" ] && mkdir -p "$HOME/.config/zsh"
link "$PWD/zsh/.zshrc" "$HOME/.config/zsh/.zshrc"
link "$PWD/zsh/aliases" "$HOME/.config/zsh/aliases"
[ -e "/etc/zsh/zshenv" ] && sudo mv /etc/zsh/zshenv /etc/zsh/zshenv.bak && sudo ln -s "$PWD/zsh/zshenv" /etc/zsh/zshenv || sudo ln -s "$PWD/zsh/zshenv" /etc/zsh/zshenv
curl -fLo $HOME/.config/zsh/zsh-autosuggestions.zsh --create-dirs \
https://raw.githubusercontent.com/zsh-users/zsh-autosuggestions/master/zsh-autosuggestions.zsh
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.config/zsh/zsh-syntax-highlighting
git clone https://github.com/romkatv/gitstatus.git $HOME/.config/zsh/gitstatus
mv "$HOME/.config/zsh/gitstatus/gitstatus.prompt.zsh" "$HOME/.config/zsh/gitstatus/gitstatus.prompt.zsh.bak"
link "$PWD/zsh/gitstatus.prompt.zsh" "$HOME/.config/zsh/gitstatus/gitstatus.prompt.zsh"
alacritty-desktop)
[ ! -d "$HOME/.config/alacritty" ] && mkdir -p "$HOME/.config/alacritty"
link "$PWD/alacritty/desktop.toml" "$HOME/.config/alacritty/desktop.toml"
;;
nvim)
[ ! -d "$HOME/.config/nvim" ] && mkdir -p "$HOME/.config/nvim"
link "$PWD/nvim/init.vim" "$HOME/.config/nvim/init.vim"
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
alacritty-color)
[ ! -d "$HOME/.config/alacritty" ] && mkdir -p "$HOME/.config/alacritty"
link "$PWD/alacritty/color.toml" "$HOME/.config/alacritty/color.toml"
;;
zsh)
mkdir -p "$HOME/.config/zsh"
mkdir -p "/etc/zsh"
echo "export ZDOTDIR=\"\$HOME\"/.config/zsh" | sudo tee /etc/zsh/zshenv
ZSH="$HOME/.config/zsh/ohmyzsh" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
mkdir -p ~/.config/zsh/ohmyzsh/custom/plugins
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.config/zsh/ohmyzsh/custom/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.config/zsh/ohmyzsh/custom/plugins/zsh-autosuggestions
link "$PWD/zsh/zshrc" "$HOME/.config/zsh/.zshrc"
;;
git)
[ ! -d "$HOME/.config/git" ] && mkdir -p "$HOME/.config/git"
@@ -55,7 +57,7 @@ for option in "$@"; do
;;
librewolf)
printf 'Paste the path of the Root Directory of your default profile\n'
librewolf about:profiles
librewolf about:profiles > /dev/null 2> /dev/null
read -r profile
link "$PWD/librewolf/user.js" "$profile/user.js"
;;
@@ -64,10 +66,10 @@ for option in "$@"; do
cp scripts/* "$HOME/.local/bin"
;;
vim)
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
link "$PWD/vim/vimrc" "$HOME/.vim/vimrc"
mkdir -p ~/.config/vim
git clone https://github.com/VundleVim/Vundle.vim.git ~/.config/vim/bundle/Vundle.vim
link "$PWD/vim/vimrc" "$HOME/.config/vim/vimrc"
vim +PluginInstall +qall
vim "+Copilot auth" +qall
;;
yay)
link "$PWD/yay/config.json" "$HOME/.config/yay/config.json"
+1 -1
View File
@@ -15,7 +15,7 @@
rebase = false
[core]
editor = nvim
editor = vim
[http]
sslVerify = false
+171 -86
View File
@@ -1,6 +1,12 @@
[org/gnome/desktop/calendar]
show-weekdate=true
[org/gnome/desktop/datetime]
automatic-timezone=false
[org/gnome/desktop/input-sources]
sources=[('xkb', 'us')]
xkb-options=['eurosign:e', 'eurosign:E']
mru-sources=[('xkb', 'us')]
sources=[('xkb', 'us+alt-intl')]
[org/gnome/desktop/interface]
clock-format='24h'
@@ -9,31 +15,37 @@ clock-show-seconds=true
clock-show-weekday=false
color-scheme='prefer-dark'
cursor-theme='Capitaine Cursors (Gruvbox)'
document-font-name='Fira Sans 11'
document-font-name='DM Sans Medium 11'
enable-hot-corners=false
font-antialiasing='rgba'
font-hinting='full'
font-name='Fira Sans 11'
gtk-theme='Gruvbox-Dark-BL'
icon-theme='Gruvbox-Dark'
monospace-font-name='FiraCode Nerd Font 10'
[org/gnome/desktop/peripherals/keyboard]
numlock-state=true
font-name='DM Sans Medium 11'
gtk-enable-primary-paste=false
gtk-theme='Gruvbox-BL-MB-Dark'
icon-theme='Gruvbox-Plus-Dark'
monospace-font-name='DMMono Nerd Font Medium 10'
toolkit-accessibility=false
[org/gnome/desktop/peripherals/mouse]
accel-profile='flat'
speed=-0.48818897637795278
speed=-0.45736434108527135
[org/gnome/desktop/peripherals/touchpad]
two-finger-scrolling-enabled=true
[org/gnome/desktop/screensaver]
color-shading-type='solid'
picture-options='zoom'
picture-uri='file:///usr/share/backgrounds/gnome/map-l.svg'
primary-color='#241f31'
secondary-color='#000000'
[org/gnome/desktop/search-providers]
sort-order=['org.gnome.Contacts.desktop', 'org.gnome.Documents.desktop', 'org.gnome.Nautilus.desktop']
sort-order=['org.gnome.Settings.desktop', 'org.gnome.Contacts.desktop', 'org.gnome.Nautilus.desktop']
[org/gnome/desktop/session]
idle-delay=uint32 0
[org/gnome/desktop/sound]
event-sounds=true
theme-name='__custom'
allow-volume-above-100-percent=true
[org/gnome/desktop/wm/keybindings]
close=['<Super>q']
@@ -42,8 +54,6 @@ move-to-monitor-left=['<Alt><Super>Left', '<Alt><Super>h']
move-to-monitor-right=['<Alt><Super>Right', '<Alt><Super>l']
move-to-workspace-down=['<Shift><Super>Down', '<Shift><Super>j']
move-to-workspace-up=['<Shift><Super>Up', '<Shift><Super>k']
switch-input-source=@as []
switch-input-source-backward=@as []
switch-to-workspace-1=['<Super>1']
switch-to-workspace-10=['<Super>0']
switch-to-workspace-2=['<Super>2']
@@ -57,9 +67,37 @@ switch-to-workspace-9=['<Super>9']
switch-to-workspace-down=['<Super>Tab']
switch-to-workspace-up=['<Shift><Super>Tab']
[org/gnome/evince/default]
continuous=true
dual-page=false
dual-page-odd-left=true
enable-spellchecking=true
fullscreen=false
inverted-colors=false
show-sidebar=true
sidebar-page='thumbnails'
sidebar-size=132
sizing-mode='automatic'
window-ratio=(1.5932773109243696, 0.58850574712643677)
[org/gnome/evolution-data-server]
migrated=true
[org/gnome/gnome-system-monitor]
cpu-colors=[(uint32 0, '#e01b24'), (1, '#ff7800'), (2, '#f6d32d'), (3, '#33d17a'), (4, '#26a269'), (5, '#62a0ea'), (6, '#1c71d8'), (7, '#613583'), (8, '#9141ac'), (9, '#c061cb'), (10, '#ffbe6f'), (11, '#f9f06b'), (12, '#8ff0a4'), (13, '#2ec27e'), (14, '#1a5fb4'), (15, '#c061cb'), (16, '#f3327999a4fd'), (17, '#7999c879f332'), (18, '#ebf4f3327999'), (19, '#d6f47999f332'), (20, '#7999f332b379'), (21, '#f3328ffe7999'), (22, '#799986aff332'), (23, '#aa2af3327999'), (24, '#f3327999cda6'), (25, '#7999f121f332'), (26, '#f332d1c77999'), (27, '#ae4c7999f332')]
maximized=false
show-dependencies=false
show-whose-processes='user'
window-height=1032
window-width=948
[org/gnome/gnome-system-monitor/proctree]
col-26-visible=false
col-26-width=0
[org/gnome/mutter]
edge-tiling=false
workspaces-only-on-primary=false
output-luminance=@a(ssssud) []
[org/gnome/mutter/keybindings]
toggle-tiled-left=@as []
@@ -68,46 +106,45 @@ toggle-tiled-right=@as []
[org/gnome/mutter/wayland/keybindings]
restore-shortcuts=@as []
[org/gnome/nautilus/compression]
default-compression-format='zip'
[org/gnome/nautilus/icon-view]
default-zoom-level='medium'
default-zoom-level='large'
[org/gnome/nautilus/list-view]
default-zoom-level='large'
use-tree-view=true
[org/gnome/nautilus/preferences]
default-folder-viewer='icon-view'
migrated-gtk-settings=true
search-filter-time-type='last_modified'
show-directory-item-counts='always'
show-image-thumbnails='always'
[org/gnome/nautilus/window-state]
initial-size=(1904, 1040)
initial-size-file-chooser=(890, 550)
initial-size=(1904, 1034)
initial-size-file-chooser=(948, 1034)
maximized=false
[org/gnome/settings-daemon/plugins/color]
night-light-enabled=true
night-light-schedule-automatic=false
night-light-schedule-to=9.0
night-light-temperature=uint32 2238
[org/gnome/settings-daemon/plugins/housekeeping]
donation-reminder-last-shown=int64 1758896451911646
[org/gnome/settings-daemon/plugins/media-keys]
custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom6/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom7/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom8/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom9/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom10/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom11/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom12/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom13/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom14/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom15/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom16/']
email=['<Super>e']
custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/']
home=['<Super>f']
next=['<Shift>AudioRaiseVolume']
play=['AudioMute']
previous=['<Shift>AudioLowerVolume']
rotate-video-lock-static=@as []
screensaver=['<Super>l']
search=['<Super>slash']
terminal=['<Super>Return']
volume-down=@as []
volume-mute=['<Control>AudioMute']
volume-up=['AudioRaiseVolume']
www=['<Super>w']
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0]
binding='<Super>w'
command='librewolf'
name='browser'
binding='<Super>Return'
command='alacritty'
name='term'
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1]
binding='<Super>s'
@@ -115,54 +152,91 @@ command='spotify-launcher'
name='spotify'
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2]
binding='<Super>Return'
command='alacritty'
name='terminal'
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4]
binding='<Super>m'
command='monero-wallet-gui'
name='monero wallet'
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5]
binding='<Super>b'
command='chromium'
command='brave'
name='chromium'
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3]
binding='<Ctrl><Alt><Shift>H'
command='dbus-send --session --dest=com.zoom.HotKeyService --type=method_call /com/zoom/HotKeyListener com.zoom.HotKeyListener.keyPressed int64:55834574920 string:"<Ctrl><Alt><Shift>H"'
name='ZMHKey55834574920'
[org/gnome/settings-daemon/plugins/power]
sleep-inactive-ac-timeout=3600
idle-dim=false
power-button-action='interactive'
sleep-inactive-ac-type='nothing'
[org/gnome/shell]
disabled-extensions=['workspace-indicator@gnome-shell-extensions.gcampax.github.com']
enabled-extensions=['system-monitor@gnome-shell-extensions.gcampax.github.com', 'native-window-placement@gnome-shell-extensions.gcampax.github.com', 'user-theme@gnome-shell-extensions.gcampax.github.com', 'windowsNavigator@gnome-shell-extensions.gcampax.github.com', 'lan-ip-address@mrhuber.com', 'pop-shell@system76.com', 'dash-to-panel@jderose9.github.com', 'freon@UshakovVasilii_Github.yahoo.com']
remember-mount-password=true
welcome-dialog-last-shown-version='47.4'
[org/gnome/shell/app-switcher]
current-workspace-only=false
[org/gnome/shell/extensions/dash-to-panel]
animate-appicon-hover-animation-extent={'RIPPLE': 4, 'PLANK': 4, 'SIMPLE': 1}
appicon-margin=4
appicon-padding=4
available-monitors=[1, 0, 2]
dot-position='BOTTOM'
extension-version=72
global-border-radius=2
hotkeys-overlay-combo='TEMPORARILY'
intellihide=false
leftbox-padding=-1
multi-monitors=true
panel-anchors='{"SAM-HNAR105096":"MIDDLE","AOC-AUFQ89A002758":"MIDDLE","ACR-LW9EE0058536":"MIDDLE","ACI- ":"MIDDLE","AOC-12VQ7HA014677":"MIDDLE"}'
panel-element-positions='{"SAM-HNAR105096":[{"element":"showAppsButton","visible":false,"position":"stackedTL"},{"element":"activitiesButton","visible":false,"position":"stackedTL"},{"element":"leftBox","visible":false,"position":"stackedTL"},{"element":"taskbar","visible":false,"position":"stackedTL"},{"element":"rightBox","visible":true,"position":"stackedTL"},{"element":"dateMenu","visible":true,"position":"centerMonitor"},{"element":"centerBox","visible":false,"position":"centered"},{"element":"systemMenu","visible":true,"position":"stackedBR"},{"element":"desktopButton","visible":false,"position":"stackedBR"}],"AOC-AUFQ89A002758":[{"element":"showAppsButton","visible":false,"position":"stackedTL"},{"element":"activitiesButton","visible":false,"position":"stackedTL"},{"element":"leftBox","visible":true,"position":"stackedTL"},{"element":"taskbar","visible":false,"position":"stackedTL"},{"element":"rightBox","visible":true,"position":"stackedTL"},{"element":"centerBox","visible":true,"position":"stackedBR"},{"element":"dateMenu","visible":true,"position":"centerMonitor"},{"element":"systemMenu","visible":true,"position":"stackedBR"},{"element":"desktopButton","visible":true,"position":"stackedBR"}],"ACR-LW9EE0058536":[{"element":"showAppsButton","visible":false,"position":"stackedTL"},{"element":"activitiesButton","visible":false,"position":"stackedTL"},{"element":"leftBox","visible":true,"position":"stackedTL"},{"element":"taskbar","visible":false,"position":"stackedTL"},{"element":"rightBox","visible":true,"position":"stackedTL"},{"element":"centerBox","visible":true,"position":"stackedBR"},{"element":"dateMenu","visible":true,"position":"centerMonitor"},{"element":"systemMenu","visible":true,"position":"stackedBR"},{"element":"desktopButton","visible":true,"position":"stackedBR"}],"ACI- ":[{"element":"showAppsButton","visible":false,"position":"stackedTL"},{"element":"activitiesButton","visible":false,"position":"stackedTL"},{"element":"leftBox","visible":true,"position":"stackedTL"},{"element":"taskbar","visible":false,"position":"stackedTL"},{"element":"rightBox","visible":true,"position":"stackedTL"},{"element":"centerBox","visible":true,"position":"stackedBR"},{"element":"dateMenu","visible":true,"position":"centerMonitor"},{"element":"systemMenu","visible":true,"position":"stackedBR"},{"element":"desktopButton","visible":false,"position":"stackedBR"}],"AOC-12VQ7HA014677":[{"element":"showAppsButton","visible":false,"position":"stackedTL"},{"element":"activitiesButton","visible":false,"position":"stackedTL"},{"element":"leftBox","visible":true,"position":"stackedTL"},{"element":"taskbar","visible":false,"position":"stackedTL"},{"element":"rightBox","visible":true,"position":"stackedTL"},{"element":"centerBox","visible":true,"position":"stackedBR"},{"element":"dateMenu","visible":true,"position":"centerMonitor"},{"element":"systemMenu","visible":true,"position":"stackedBR"},{"element":"desktopButton","visible":true,"position":"stackedBR"}]}'
panel-element-positions-monitors-sync=true
panel-lengths='{"SAM-HNAR105096":100,"AOC-AUFQ89A002758":100,"ACR-LW9EE0058536":100}'
panel-positions='{"SAM-HNAR105096":"TOP","AOC-AUFQ89A002758":"TOP","ACR-LW9EE0058536":"TOP","ACI- ":"TOP","AOC-12VQ7HA014677":"TOP"}'
panel-side-margins=8
panel-side-padding=0
panel-sizes='{"SAM-HNAR105096":24,"AOC-AUFQ89A002758":22,"ACR-LW9EE0058536":22,"ACI- ":22,"AOC-12VQ7HA014677":22}'
panel-top-bottom-margins=4
panel-top-bottom-padding=0
prefs-opened=false
primary-monitor='AOC-12VQ7HA014677'
status-icon-padding=-1
stockgs-keep-dash=false
stockgs-keep-top-panel=false
trans-gradient-bottom-opacity=0.35000000000000003
trans-gradient-top-opacity=0.0
trans-panel-opacity=0.95000000000000007
trans-use-custom-bg=false
trans-use-custom-gradient=false
trans-use-custom-opacity=true
trans-use-dynamic-opacity=false
tray-padding=-1
window-preview-title-position='TOP'
[org/gnome/shell/extensions/freon]
hot-sensors=['Core 0']
panel-box-index=1
position-in-panel=2
show-decimal-value=true
show-icon-on-panel=true
show-rotationrate-unit=true
show-voltage-unit=true
use-generic-liquidctl=false
use-gpu-aticonfig=false
[org/gnome/shell/extensions/pop-shell]
activate-launcher=['<Super>d']
activate-launcher=['<Super>d', '<Super>Space']
active-hint=true
active-hint-border-radius=uint32 12
active-hint-border-radius=uint32 13
focus-right=['<Super>Right']
gap-inner=uint32 2
gap-outer=uint32 2
hint-color-rgba='rgb(116,116,116)'
mouse-cursor-focus-location=uint32 4
mouse-cursor-follows-active-window=false
pop-monitor-left=@as []
pop-monitor-right=@as []
pop-monitor-up=@as []
pop-workspace-down=@as []
pop-workspace-up=@as []
hint-color-rgba='rgb(102,92,84)'
show-title=false
smart-gaps=false
snap-to-grid=true
stacking-with-mouse=false
tile-accept=['Return']
tile-by-default=true
tile-enter=['<Super>r']
tile-move-down=['<Shift>Down', '<Shift>j']
tile-move-down-global=['<Shift><Super>Down']
tile-move-left=['<Shift>Left', '<Shift>h']
tile-move-left-global=['<Shift><Super>Left']
tile-move-right=['<Shift>Right', '<Shift>l']
tile-move-right-global=['<Shift><Super>Right']
tile-move-up=['<Shift>Up', '<Shift>k']
tile-move-up-global=['<Shift><Super>Up']
tile-reject=['Escape']
tile-resize-down=['Down', 'j']
tile-resize-left=['Left', 'h']
@@ -172,16 +246,18 @@ tile-swap-down=['<Primary>Down', '<Primary>j']
tile-swap-left=['<Primary>Left', '<Primary>h']
tile-swap-right=['<Primary>Right', '<Primary>l']
tile-swap-up=['<Primary>Up', '<Primary>k']
toggle-floating=['<Shift><Super>space']
toggle-stacking-global=@as []
[org/gnome/shell/extensions/system-monitor]
show-swap=false
show-upload=false
[org/gnome/shell/extensions/user-theme]
name='Gruvbox-Dark-Medium-BL-GS'
name='Gruvbox-BL-MB-Dark'
[org/gnome/shell/keybindings]
focus-active-notification=@as []
open-application-menu=@as []
screenshot=['<Control><Alt>p']
screenshot=['<Shift><Super>s']
switch-to-application-1=@as []
switch-to-application-10=@as []
switch-to-application-2=@as []
@@ -202,37 +278,46 @@ switch-to-workspace-6=['<Super>6']
switch-to-workspace-7=['<Super>7']
switch-to-workspace-8=['<Super>8']
switch-to-workspace-9=['<Super>9']
toggle-message-tray=@as []
toggle-quick-settings=['<Shift><Super>e']
toggle-quick-settings=@as []
[org/gnome/shell/world-clocks]
locations=@av []
[org/gnome/software]
check-timestamp=int64 1766399042
first-run=false
flatpak-purge-timestamp=int64 1766406181
[org/gnome/tweaks]
show-extensions-notice=false
[org/gtk/gtk4/settings/color-chooser]
custom-colors=[(1.0, 0.0, 0.0, 0.6600000262260437)]
selected-color=(true, 1.0, 0.0, 0.0, 0.6600000262260437)
[org/gtk/gtk4/settings/file-chooser]
date-format='regular'
location-mode='path-bar'
show-hidden=true
show-size-column=true
show-type-column=true
sidebar-width=140
sort-column='modified'
sort-directories-first=false
sort-column='name'
sort-directories-first=true
sort-order='ascending'
type-format='category'
view-type='grid'
window-size=(1316, 1040)
view-type='list'
window-size=(948, 1040)
[org/gtk/settings/file-chooser]
clock-format='24h'
date-format='regular'
location-mode='path-bar'
show-hidden=false
show-hidden=true
show-size-column=true
show-type-column=true
sidebar-width=197
sidebar-width=172
sort-column='name'
sort-directories-first=false
sort-order='descending'
sort-order='ascending'
type-format='category'
window-position=(2260, 60)
window-size=(1239, 910)
window-position=(103, 103)
window-size=(1231, 902)
-98
View File
@@ -1,98 +0,0 @@
" init autocmd
autocmd!
set number relativenumber " Show relative line numbers on the left.
filetype plugin on " Auto-detect un-labeled filetypes
syntax on " Turn syntax highlighting on
set ai " Sets auto-indentation
set si " Sets smart-indentation
set cursorline " Highlight current cursor line
set tabstop=2 " Tab equal 2 spaces (default 4)
set shiftwidth=2 " Arrow function (>>) creates 2 spaces
set expandtab " Use spaces instead of a tab charater on TAB
set smarttab " Be smart when using tabs
set hlsearch " When searching (/), highlights matches as you go
set incsearch " When searching (/), display results as you type (instead of only upon ENTER)
set smartcase " When searching (/), automatically switch to a case-sensitive search if you use any capital letters
set ttyfast " Boost speed by altering character redraw rates to your terminal
set showmatch " Show matching brackets when text indicator is over them
set noerrorbells " Silence the error bell
set novisualbell " Visually hide the error bell
set encoding=utf8 " Set text encoding as utf8
set clipboard+=unnamedplus " Use the OS clipboard by default
set showtabline=2 " Use tabline
set splitright " split to the right instead of left
set textwidth=80 " Limit to 80 characters in width
set colorcolumn=80 " Colored Column after 80 Characters
set wrap
set bg=dark
set wildmode=longest,list,full
" PLUGINS
" download to ~/.local/share/nvim/site/autoload/plug.vim
call plug#begin("~/.local/share/nvim/site/autoload/plugged")
Plug 'junegunn/goyo.vim'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'https://github.com/jiangmiao/auto-pairs.git'
Plug 'lervag/vimtex'
Plug 'https://github.com/ap/vim-css-color'
Plug 'https://github.com/907th/vim-auto-save.git'
Plug 'https://github.com/alvan/vim-closetag'
Plug 'vim-airline/vim-airline'
Plug 'https://github.com/github/copilot.vim'
call plug#end()
let g:vimtex_view_method = 'zathura'
" let g:vimtex_view_forward_search_on_start = 0
let g:auto_save = 1
let mapleader =","
let g:airline#extensions#tabline#enabled = 1
let g:coc_disable_startup_warning = 1
" REMAPPING
" jump to last known position when opening a file
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
map <C-g> :Goyo<CR>
imap <C-g> <esc>:Goyo<CR>a
map ,, :keepp /<++><CR>ca<
imap ,, <esc>:keepp /<++><CR>ca<
" indent with tab
vnoremap <Tab> >gv
vnoremap <S-Tab> <gv
vnoremap <Tab> >>
inoremap <Tab> <Esc>>>a
nnoremap <Tab> >>
inoremap <S-Tab> <Esc><<a
nnoremap <S-Tab> <<
" jump to beginning of selection when exiting visual mode
vnoremap <Esc> o<Esc>
" use <tab> to trigger completion and navigate to the next complete item
function! CheckBackspace() abort
let col = col('.') - 1
return !col || getline('.')[col - 1] =~# '\s'
endfunction
inoremap <silent><expr> <Tab>
\ coc#pum#visible() ? coc#pum#next(1) :
\ CheckBackspace() ? "\<Tab>" :
\ coc#refresh()
autocmd BufWritePre,BufRead *.tex :VimtexCompile " init autocompiling tex docs
autocmd VimLeave *.tex :!texclear % " clear tex junk when closing tex file
autocmd BufWritePre * %s/\s\+$//e " auto delete trailing white space on save
autocmd BufWritePost *.vim source %
" LaTeX shortcuts
autocmd FileType tex inoremap <leader>b \textbf{}<Left>
autocmd FileType tex inoremap <leader>u \underline{}<Left>
autocmd FileType tex inoremap <leader>i \textit{}<Left>
autocmd FileType tex inoremap <leader>s \section{}<Left>
autocmd FileType tex inoremap <leader>ss \subsection{}<Left>
autocmd FileType tex inoremap <leader>sss \subsubsection{}<Left>
autocmd FileType tex inoremap <leader>l \begin{itemize}<CR><++><CR>\end{itemize},,
autocmd FileType tex inoremap <leader>o \begin{enumerate}<CR><++><CR>\end{enumerate},,
autocmd FileType tex inoremap <leader>c {\tt }<Left><Left>
+10 -20
View File
@@ -1,5 +1,5 @@
set nocompatible
filetype off
filetype plugin indent on
syntax on " enable syntax highlighting
set number relativenumber " relative line numbers
set ai " Sets auto-indentation
@@ -27,58 +27,48 @@ set bg=dark " set dark background
set wildmode=longest,list,full
set mouse=a " enable mouse
set splitright " always split right
set viminfo+=n$HOME/.vim/viminfo " save viminfo in .vim dir to keep ~/ clean
set viminfo+=n~/.config/vim/viminfo " save viminfo in .vim dir to keep ~/ clean
" Set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
set rtp+=~/.config/vim/bundle/Vundle.vim
" Download plug-ins to the ~/.vim/plugged/ directory
call vundle#begin('~/.vim/plugged')
" Download plug-ins to the ~/.config/vim/plugged/ directory
call vundle#begin('~/.config/vim/plugged')
Plugin 'VundleVim/Vundle.vim' " Let Vundle manage Vundle
Plugin 'sheerun/vim-polyglot' " Syntax highlighting
Plugin 'jiangmiao/auto-pairs' " Pair completion
Plugin 'lervag/vimtex' " LaTeX tools
Plugin 'vim-airline/vim-airline' " Nicer info line
Plugin 'junegunn/goyo.vim' " Zen Workspace
Plugin 'alvan/vim-closetag' " Auto close HTML tags
Plugin 'https://github.com/morhetz/gruvbox' " Color scheme
Plugin 'https://github.com/nanotech/jellybeans.vim' " Color Scheme
Plugin 'https://github.com/ap/vim-css-color' " highlight color codes in their color
Plugin 'https://github.com/907th/vim-auto-save.git' " auto save
Plugin 'https://github.com/github/copilot.vim' " github copilot
call vundle#end()
colorscheme gruvbox
filetype plugin indent on
try
colorscheme jellybeans
catch
endtry
let g:auto_save = 1
let g:AutoPairsShortcutToggle = '<C-P>' " Press Ctrl+P to disable pair completion
let g:vimtex_view_method = 'zathura'
let g:airline#extensions#tabline#enabled = 1
" REMAPPING
" jump to last known position when opening a file
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
map <C-g> :Goyo<CR>
imap <C-g> <esc>:Goyo<CR>a
" indent with tab
vnoremap <Tab> >gv
vnoremap <S-Tab> <gv
vnoremap <Tab> >>
inoremap <Tab> <Esc>>>a
nnoremap <Tab> >>
inoremap <S-Tab> <Esc><<a
nnoremap <S-Tab> <<
" jump to beginning of selection when exiting visual mode
vnoremap <Esc> o<Esc>
autocmd BufWritePre,BufRead *.tex :VimtexCompile " autocompile tex docs
autocmd VimLeave *.tex :!texclear % " clear tex junk when closing tex file
autocmd BufWritePre * %s/\s\+$//e " auto delete trailing white space on save
autocmd BufWritePost *.vim source %
+1 -1
View File
@@ -1,7 +1,7 @@
{
"aururl": "https://aur.archlinux.org",
"aurrpcurl": "https://aur.archlinux.org/rpc?",
"buildDir": "/home/johannes/.cache/yay",
"buildDir": "~/.cache/yay",
"editor": "",
"editorflags": "",
"makepkgbin": "makepkg",
-27
View File
@@ -1,27 +0,0 @@
autoload -Uz promptinit
promptinit
bindkey -e
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word
bindkey "^[[3;5~" backward-kill-word
setopt histignorealldups sharehistory
HISTSIZE=5000
SAVEHIST=5000
HISTFILE=$HOME/.config/zsh/zsh_history
# Modern completion system
autoload -Uz compinit
compinit -d ~/.cache/zsh/ > /dev/null 2>&1
_comp_options+=(globdots) # include hidden files
autoload -U colors && colors
source /etc/zsh/zshenv
source $HOME/.config/zsh/aliases
source $HOME/.config/zsh/zsh-autosuggestions.zsh
source $HOME/.config/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source $HOME/.config/zsh/gitstatus/gitstatus.prompt.zsh
-22
View File
@@ -1,22 +0,0 @@
alias sudo='/usr/bin/doas '
alias ls='ls --color=auto'
alias ll='ls -lAh --color=auto'
alias la='ls -A --color=auto'
alias l='ls -A --color=auto'
alias cp='rsync -ah --progress'
alias grep='grep --color=auto'
alias sc='source /home/johannes/.config/zsh/.zshrc' # reload zsh configuration
alias cn='clear && neofetch'
alias live-server='live-server --port=1111 --host=127.0.0.1 --no-css-inject'
alias pac='doas pacman'
alias minecraft-launcher='minecraft-launcher --workDir /home/johannes/.local/share/minecraft'
alias enablebluetooth='doas modprobe btusb'
alias virt-manager='/bin/sudo -i virt-manager'
# Typos
alias al="ls -lAh --color=auto"
alias s=""
alias vnim="nvim"
alias daos="doas "
alias celar="clear"
alias gti="git"
-111
View File
@@ -1,111 +0,0 @@
# Simple Zsh prompt with Git status.
# Source gitstatus.plugin.zsh from $GITSTATUS_DIR or from the same directory
# in which the current script resides if the variable isn't set.
source "${GITSTATUS_DIR:-${${(%):-%x}:h}}/gitstatus.plugin.zsh" || return
# Sets GITSTATUS_PROMPT to reflect the state of the current git repository. Empty if not
# in a git repository. In addition, sets GITSTATUS_PROMPT_LEN to the number of columns
# $GITSTATUS_PROMPT will occupy when printed.
#
# Example:
#
# GITSTATUS_PROMPT='master ⇣42⇡42 ⇠42⇢42 *42 merge ~42 +42 !42 ?42'
# GITSTATUS_PROMPT_LEN=39
#
# master current branch
# ⇣42 local branch is 42 commits behind the remote
# ⇡42 local branch is 42 commits ahead of the remote
# ⇠42 local branch is 42 commits behind the push remote
# ⇢42 local branch is 42 commits ahead of the push remote
# *42 42 stashes
# merge merge in progress
# ~42 42 merge conflicts
# +42 42 staged changes
# !42 42 unstaged changes
# ?42 42 untracked files
function gitstatus_prompt_update() {
emulate -L zsh
typeset -g GITSTATUS_PROMPT=''
typeset -gi GITSTATUS_PROMPT_LEN=0
# Call gitstatus_query synchronously. Note that gitstatus_query can also be called
# asynchronously; see documentation in gitstatus.plugin.zsh.
gitstatus_query 'MY' || return 1 # error
[[ $VCS_STATUS_RESULT == 'ok-sync' ]] || return 0 # not a git repo
local clean='%76F' # green foreground
local modified='%178F' # yellow foreground
local untracked='%39F' # blue foreground
local conflicted='%196F' # red foreground
local p
local where # branch name, tag or commit
if [[ -n $VCS_STATUS_LOCAL_BRANCH ]]; then
where=$VCS_STATUS_LOCAL_BRANCH
elif [[ -n $VCS_STATUS_TAG ]]; then
p+='%f#'
where=$VCS_STATUS_TAG
else
p+='%f@'
where=${VCS_STATUS_COMMIT[1,8]}
fi
(( $#where > 32 )) && where[13,-13]="…" # truncate long branch names and tags
p+="${clean}${where//\%/%%}" # escape %
# ⇣42 if behind the remote.
(( VCS_STATUS_COMMITS_BEHIND )) && p+=" ${clean}${VCS_STATUS_COMMITS_BEHIND}"
# ⇡42 if ahead of the remote; no leading space if also behind the remote: ⇣42⇡42.
(( VCS_STATUS_COMMITS_AHEAD && !VCS_STATUS_COMMITS_BEHIND )) && p+=" "
(( VCS_STATUS_COMMITS_AHEAD )) && p+="${clean}${VCS_STATUS_COMMITS_AHEAD}"
# ⇠42 if behind the push remote.
(( VCS_STATUS_PUSH_COMMITS_BEHIND )) && p+=" ${clean}${VCS_STATUS_PUSH_COMMITS_BEHIND}"
(( VCS_STATUS_PUSH_COMMITS_AHEAD && !VCS_STATUS_PUSH_COMMITS_BEHIND )) && p+=" "
# ⇢42 if ahead of the push remote; no leading space if also behind: ⇠42⇢42.
(( VCS_STATUS_PUSH_COMMITS_AHEAD )) && p+="${clean}${VCS_STATUS_PUSH_COMMITS_AHEAD}"
# *42 if have stashes.
(( VCS_STATUS_STASHES )) && p+=" ${clean}*${VCS_STATUS_STASHES}"
# 'merge' if the repo is in an unusual state.
[[ -n $VCS_STATUS_ACTION ]] && p+=" ${conflicted}${VCS_STATUS_ACTION}"
# ~42 if have merge conflicts.
(( VCS_STATUS_NUM_CONFLICTED )) && p+=" ${conflicted}~${VCS_STATUS_NUM_CONFLICTED}"
# +42 if have staged changes.
(( VCS_STATUS_NUM_STAGED )) && p+=" ${modified}+${VCS_STATUS_NUM_STAGED}"
# !42 if have unstaged changes.
(( VCS_STATUS_NUM_UNSTAGED )) && p+=" ${modified}!${VCS_STATUS_NUM_UNSTAGED}"
# ?42 if have untracked files. It's really a question mark, your font isn't broken.
(( VCS_STATUS_NUM_UNTRACKED )) && p+=" ${untracked}?${VCS_STATUS_NUM_UNTRACKED}"
GITSTATUS_PROMPT="${p}%f"
# The length of GITSTATUS_PROMPT after removing %f and %F.
GITSTATUS_PROMPT_LEN="${(m)#${${GITSTATUS_PROMPT//\%\%/x}//\%(f|<->F)}}"
}
# Start gitstatusd instance with name "MY". The same name is passed to
# gitstatus_query in gitstatus_prompt_update. The flags with -1 as values
# enable staged, unstaged, conflicted and untracked counters.
gitstatus_stop 'MY' && gitstatus_start -s -1 -u -1 -c -1 -d -1 'MY'
# On every prompt, fetch git status and set GITSTATUS_PROMPT.
autoload -Uz add-zsh-hook
add-zsh-hook precmd gitstatus_prompt_update
# Enable/disable the right prompt options.
setopt no_prompt_bang prompt_percent prompt_subst
# Customize prompt. Put $GITSTATUS_PROMPT in it to reflect git status.
#
# Example:
#
# user@host ~/projects/skynet master ⇡42
# % █
#
# The current directory gets truncated from the left if the whole prompt doesn't fit on the line.
PROMPT='%F{cyan}%n@%m%f ' # green user@host
PROMPT+='%F{blue}%$((-GITSTATUS_PROMPT_LEN-1))<…<%~%<<%f' # blue current working directory
PROMPT+='${GITSTATUS_PROMPT:+ $GITSTATUS_PROMPT}' # git status
PROMPT+=$'\n' # new line
PROMPT+='%F{%(?.green.red)}%#%f ' # %/# (normal/root); green/red (ok/error)
-17
View File
@@ -1,17 +0,0 @@
# XDG Base Directories
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_DATA_DIRS="/usr/local/share:/usr/share:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share"
export XDG_CONFIG_DIRS="/etc/xdg"
# ~/ Cleanup
export CARGO_HOME="$XDG_DATA_HOME"/cargo
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
export ZDOTDIR="$HOME"/.config/zsh
export HISTFILE="${XDG_STATE_HOME}"/bash/history
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
export TEXMFVAR="$XDG_CACHE_HOME"/texlive/texmf-var
export PATH="$PATH:$HOME/.local/bin:/sbin"
export GPG_TTY=$(tty)
+94
View File
@@ -0,0 +1,94 @@
export ZSH="$ZDOTDIR/ohmyzsh"
ZSH_THEME="bira"
zstyle ':omz:update' mode auto # update automatically without asking
# command execution time stamp shown in the history command output.
HIST_STAMPS="dd.mm.yyyy"
plugins=(
git
zsh-syntax-highlighting
zsh-autosuggestions
)
source $ZSH/oh-my-zsh.sh
#######################################################
#
# User configuration
#
#######################################################
#
# Aliases
#
alias pac="doas pacman"
alias sudo="doas "
alias mv="mv -i"
alias ls="ls --color=auto"
alias ll="ls -lAh --color=auto"
alias la="ls -A --color=auto"
alias l="ls -A --color=auto"
alias grep="grep --color=auto"
# Typos
alias al="ls -lAh --color=auto"
alias s=""
alias daos="doas "
alias celar="clear"
alias gti="git"
alias mc="mv -i"
#
# Variables
#
# XDG Base Directories
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.local/cache"
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_DATA_DIRS="/usr/local/share:/usr/share"
export XDG_CONFIG_DIRS="/etc/xdg"
# ~/ Cleanup
export CARGO_HOME="$XDG_DATA_HOME"/cargo
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
export ZDOTDIR="$HOME"/.config/zsh
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
export TEXMFVAR="$XDG_CACHE_HOME"/texlive/texmf-var
export PATH="$PATH:$HOME/.local/bin:/sbin"
export GPG_TTY=$(tty)
export XDG_DATA_DIRS="$XDG_DATA_DIRS:/var/lib/flatpak/exports/share"
export XDG_DATA_DIRS="$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share"
#
# Behaviour
#
# Modern completion system
autoload -Uz compinit
compinit -d ~/.cache/zsh/ > /dev/null 2>&1
_comp_options+=(globdots) # include hidden files
# shell history
HISTFILE=~/.config/zsh/history
HISTSIZE=100000
SAVEHIST=100000
# Search history with Up / Down
bindkey "\e[A" history-beginning-search-backward
bindkey "\e[B" history-beginning-search-forward
setopt hist_ignore_all_dups # remove older duplicate entries from history
setopt hist_reduce_blanks # remove superfluous blanks from history items
setopt inc_append_history # save history entries as soon as they are entered
setopt share_history # share history between different instances of the shell
setopt auto_cd # cd by typing directory name if it's not a command
setopt correct_all # autocorrect commands
setopt auto_list # automatically list choices on ambiguous completion
setopt auto_menu # automatically use menu completion
setopt always_to_end # move cursor to end if word had one match