Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
BullShark committed Nov 22, 2023
1 parent eeb2b37 commit 4d41304
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 29 deletions.
2 changes: 1 addition & 1 deletion src/.aliases
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ alias weather='curl wttr.in'
alias moon='curl wttr.in/Moon'

# Run youtube-dl for music without looking at --help every time
alias yt-audio='youtube-dl -x --audio-quality 0 --audio-format mp3 --add-metadata'
alias yt-audio='yt-dlp --yes-playlist --continue --progress -x --audio-quality 0 --audio-format mp3 --add-metadata --xattrs'

# Write those tags to file
alias youtube-dl='youtube-dl --add-metadata'
Expand Down
1 change: 1 addition & 0 deletions src/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ function xdebug {

[[ -e ~/.functions ]] && . ~/.functions

[[ -f /usr/share/doc/pkgfile/command-not-found.bash ]] && . /usr/share/doc/pkgfile/command-not-found.bash

#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
Expand Down
2 changes: 1 addition & 1 deletion src/.functions
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ function oui {

# http://standards-oui.ieee.org/oui/oui.txt
if [[ ! -f /var/tmp/oui.txt ]]; then
wget https://linuxnet.ca/ieee/oui.txt -qO /var/tmp/oui.txt >/dev/null 2>&1
wget https://standards-oui.ieee.org -qO /var/tmp/oui.txt >/dev/null 2>&1
fi

grep "$mac" /var/tmp/oui.txt | cut -d')' -f2 | tr -d '\t'
Expand Down
2 changes: 1 addition & 1 deletion src/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ ZSH_THEME="mh"
# Add wisely, as too many plugins slow down shell startup.
# XXX ls ~/.oh-my-zsh/plugins
#plugins=(git adb archlinux colorize github gradle mvn nmap pip screen sdk sudo systemd web-search)
plugins=(git adb archlinux)
plugins=(git adb archlinux command-not-found)

source "$ZSH/oh-my-zsh.sh"

Expand Down
2 changes: 1 addition & 1 deletion src/dotfiles
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ files=(
/var/spool/cron/bullshark
/etc/default/grub
# /etc/xdg/plasma-workspace/env/envars.sh
/etc/X11/mhwd.d/nvidia.conf
# /etc/X11/mhwd.d/nvidia.conf
/etc/X11/xorg.conf
/etc/resolv.conf
)
Expand Down
10 changes: 8 additions & 2 deletions src/resolv.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,16 @@
#nameserver 127.0.0.1
#nameserver ::1

# Adguard Public
nameserver 94.140.14.14
nameserver 94.140.15.15
nameserver 2a10:50c0::ad1:ff
nameserver 2a10:50c0::ad2:ff

# expectusafterlun.ch
#nameserver 10.0.0.1
nameserver 202.61.205.246
nameserver 2a03:4000:5b:456:542a:e1ff:fe66:8f0
#nameserver 202.61.205.246
#nameserver 2a03:4000:5b:456:542a:e1ff:fe66:8f0

# OpenDNS
#nameserver 206.67.222.222
Expand Down
Binary file modified src/search.json.mozlz4
Binary file not shown.
26 changes: 3 additions & 23 deletions src/xorg.conf
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 470.86

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 450.66
# nvidia-xconfig: version 470.141.03

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Expand All @@ -27,7 +22,6 @@ Section "InputDevice"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
Expand All @@ -36,37 +30,23 @@ EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "AUS VG245"
HorizSync 30.0 - 90.0
VertRefresh 40.0 - 75.0
ModelName "Unknown"
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 680"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Coolbits" "28"
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "1920x1080_75 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "COMPOSITE" "Enable"
EndSection

0 comments on commit 4d41304

Please sign in to comment.