From a43a8ef90d95af64eb0e9a95b97d8cc199e6fad1 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Sun, 20 Aug 2023 19:59:21 -0300 Subject: [PATCH] Update dotfiles --- .gitignore | 1 + dotfiles/.config/gtk-3.0/bookmarks | 6 +-- dotfiles/.config/mimeapps.list | 29 +++++++++---- dotfiles/.config/zsh/.zshrc | 11 ++--- dotfiles/.nvidia-settings-rc | 11 ++--- dotfiles/.xinitrc | 2 + .../other/etc/X11/xorg.conf.d/10-monitor.conf | 43 +++++++++++++++---- 7 files changed, 67 insertions(+), 36 deletions(-) diff --git a/.gitignore b/.gitignore index 3a4073c..80dd3e5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ dotfiles/.gitconfig dotfiles/.gitconfig-work +dotfiles/.ssh/config diff --git a/dotfiles/.config/gtk-3.0/bookmarks b/dotfiles/.config/gtk-3.0/bookmarks index 6c4c53f..c46098d 100644 --- a/dotfiles/.config/gtk-3.0/bookmarks +++ b/dotfiles/.config/gtk-3.0/bookmarks @@ -1,12 +1,8 @@ file:///home/slococo/ITBA ITBA -file:///home/slococo/ITBA/5C/IS IS -file:///home/slococo/ITBA/5C/BD BD -file:///home/slococo/ITBA/5C/MN MN -file:///home/slococo/ITBA/5C/HCI HCI -file:///home/slococo/ITBA/5C/SO SO file:///home/slococo/Desktop Desktop file:///home/slococo/Downloads Downloads file:///home/slococo/Documents Documents file:///home/slococo/Pictures Pictures file:///home/slococo/Videos Videos file:///run/media/slococo slococo +file:///mnt mnt diff --git a/dotfiles/.config/mimeapps.list b/dotfiles/.config/mimeapps.list index 12f6a59..5d9541b 100644 --- a/dotfiles/.config/mimeapps.list +++ b/dotfiles/.config/mimeapps.list @@ -1,25 +1,30 @@ [Default Applications] x-scheme-handler/jetbrains=jetbrains-toolbox.desktop -x-scheme-handler/http=brave-browser.desktop -x-scheme-handler/https=brave-browser.desktop +x-scheme-handler/http=firefox.desktop +x-scheme-handler/https=firefox.desktop x-scheme-handler/chrome=firefox.desktop -text/html=brave-browser.desktop +text/html=firefox.desktop application/x-extension-htm=firefox.desktop application/x-extension-html=firefox.desktop application/x-extension-shtml=firefox.desktop application/xhtml+xml=firefox.desktop application/x-extension-xhtml=firefox.desktop application/x-extension-xht=firefox.desktop -x-scheme-handler/mailto=userapp-Thunderbird-2MAT80.desktop -x-scheme-handler/about=brave-browser.desktop -x-scheme-handler/unknown=brave-browser.desktop +x-scheme-handler/mailto=brave-browser.desktop +x-scheme-handler/about=firefox.desktop +x-scheme-handler/unknown=firefox.desktop application/pdf=org.pwmt.zathura.desktop -image/png=sxiv.desktop +image/png=nsxiv.desktop application/ppdf=FoxitReader.desktop x-scheme-handler/notion=notion-app.desktop -image/jpeg=sxiv.desktop +image/jpeg=nsxiv.desktop x-scheme-handler/ferdi=ferdi.desktop message/rfc822=userapp-Thunderbird-2MAT80.desktop +x-scheme-handler/postman=Postman.desktop +application/x-ica=citrix-wfica.desktop +application/x-wine-extension-ini=citrix-wfica.desktop; +x-scheme-handler/fleet=jetbrains-fleet.desktop +x-scheme-handler/magnet=magnet.desktop [Added Associations] x-scheme-handler/http=firefox.desktop; @@ -32,6 +37,12 @@ application/x-extension-shtml=firefox.desktop; application/xhtml+xml=firefox.desktop; application/x-extension-xhtml=firefox.desktop; application/x-extension-xht=firefox.desktop; -image/png=sxiv.desktop; +image/png=nsxiv.desktop;sxiv.desktop; x-scheme-handler/mailto=userapp-Thunderbird-2MAT80.desktop; message/rfc822=userapp-Thunderbird-2MAT80.desktop; +application/x-executable=nvim.desktop; +image/jpeg=nsxiv.desktop; +application/octet-stream=vim.desktop; +application/x-ica=citrix-wfica.desktop; +application/x-wine-extension-ini=citrix-wfica.desktop; +application/vnd.sqlite3=nvim.desktop; diff --git a/dotfiles/.config/zsh/.zshrc b/dotfiles/.config/zsh/.zshrc index aadbf5e..7aed238 100644 --- a/dotfiles/.config/zsh/.zshrc +++ b/dotfiles/.config/zsh/.zshrc @@ -8,14 +8,9 @@ HISTFILE=~/.cache/zsh/.histfile ZLE_REMOVE_SUFFIX_CHARS=$' \t\n;&' -if [[ -v LAPTOP ]]; then - export ZSH="/usr/share/oh-my-zsh" - ZSH_CUSTOM="/usr/share" - ZSH_THEME="zsh-theme-powerlevel10k/powerlevel10k" -else - export ZSH="$HOME/.oh-my-zsh" - ZSH_THEME="powerlevel10k/powerlevel10k" -fi +export ZSH="/usr/share/oh-my-zsh" +ZSH_CUSTOM="/usr/share" +ZSH_THEME="zsh-theme-powerlevel10k/powerlevel10k" # CASE_SENSITIVE="true" # HYPHEN_INSENSITIVE="true" diff --git a/dotfiles/.nvidia-settings-rc b/dotfiles/.nvidia-settings-rc index 6e9ed30..089f94e 100644 --- a/dotfiles/.nvidia-settings-rc +++ b/dotfiles/.nvidia-settings-rc @@ -1,8 +1,8 @@ # # /home/slococo/.nvidia-settings-rc # -# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility -# Generated on Sun Oct 3 09:35:26 2021 +# Configuration file for nvidia-settings - the NVIDIA Settings utility +# Generated on Fri Aug 18 20:59:09 2023 # # ConfigProperties: @@ -11,11 +11,10 @@ RcFileLocale = C DisplayStatusBar = No SliderTextEntries = Yes IncludeDisplayNameInConfigFile = No -ShowQuitDialog = No UpdateRulesOnProfileNameChange = Yes -Timer = Memory_Used_(GPU_0),Yes,3000 -Timer = Thermal_Monitor_(GPU_0),Yes,1000 Timer = PowerMizer_Monitor_(GPU_0),Yes,1000 +Timer = Thermal_Monitor_(GPU_0),Yes,1000 +Timer = Memory_Used_(GPU_0),Yes,3000 # Attributes: @@ -98,3 +97,5 @@ Timer = PowerMizer_Monitor_(GPU_0),Yes,1000 [DPY:DP-5]/ColorSpace=0 [DPY:DP-5]/ColorRange=0 [DPY:DP-5]/SynchronousPaletteUpdates=0 +[GPU:0]/GPUPowerMizerMode=2 +[GPU:0]/GPULogoBrightness=100 diff --git a/dotfiles/.xinitrc b/dotfiles/.xinitrc index 5478725..7be11c3 100644 --- a/dotfiles/.xinitrc +++ b/dotfiles/.xinitrc @@ -4,6 +4,8 @@ redshift -P -O 2750 &> /dev/null & # Disable mouse acceleration xset m 0 0 +xset r rate 300 50 + # Restore wallpaper nitrogen --restore 2> /dev/null & diff --git a/dotfiles/other/etc/X11/xorg.conf.d/10-monitor.conf b/dotfiles/other/etc/X11/xorg.conf.d/10-monitor.conf index 6db0858..e254d57 100644 --- a/dotfiles/other/etc/X11/xorg.conf.d/10-monitor.conf +++ b/dotfiles/other/etc/X11/xorg.conf.d/10-monitor.conf @@ -1,21 +1,46 @@ +#Section "Monitor" +# Identifier "DVI" +# ModelName "LG Electronics MP59G" +# HorizSync 30.0 - 85.0 +# VertRefresh 40.0 - 75.0 +# Option "DPMS" +#EndSection +# +#Section "Screen" +# Identifier "Screen0" +# Device "Device0" +# Monitor "DVI" +# DefaultDepth 24 +# Option "Stereo" "0" +# Option "nvidiaXineramaInfoOrder" "DFP-0" +# #Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" +# Option "metamodes" "DVI-D-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, HDMI-0: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" +# #Option "metamodes" "HDMI-0: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DVI-D-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" +# Option "SLI" "Off" +# Option "MultiGPU" "Off" +# Option "BaseMosaic" "off" +# SubSection "Display" +# Depth 24 +# EndSubSection +#EndSection + Section "Monitor" - Identifier "DVI" - ModelName "LG Electronics MP59G" - HorizSync 30.0 - 85.0 - VertRefresh 40.0 - 75.0 - Option "DPMS" + Identifier "Monitor0" + VendorName "Unknown" + ModelName "LG Electronics M2380A" + HorizSync 28.0 - 83.0 + VertRefresh 48.0 - 61.0 + Option "DPMS" EndSection Section "Screen" Identifier "Screen0" Device "Device0" - Monitor "DVI" + Monitor "Monitor0" DefaultDepth 24 Option "Stereo" "0" Option "nvidiaXineramaInfoOrder" "DFP-0" - #Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" - Option "metamodes" "DVI-D-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, HDMI-0: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" - #Option "metamodes" "HDMI-0: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DVI-D-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" + Option "metamodes" "DVI-D-0: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, HDMI-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" Option "SLI" "Off" Option "MultiGPU" "Off" Option "BaseMosaic" "off"