This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# /---------| |-- /--| * mendes13 - Gustavo Mendes de Medeiros | |
# | /-------| | \ / | * GitHub: https://www.github.com/mendes13 | |
# | | | \ \ / /| | | |
# | | |---\ | | | \__/ | | My .vimrc configuration file, feel free to try | |
# | \-----/ | | | | | it out! Keep in mind that I do use Vim Plug as | |
# \---------/ |_| |_| my plugin manager, so don't forget to install it! | |
# | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
setxkbmap -query | grep -q 'variant:\s\+intl' && setxkbmap -layout us || setxkbmap -layout us -variant intl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
email = [email protected] | |
name = Gustavo Mendes de Medeiros | |
[core] | |
editor = vim | |
[alias] | |
st = status | |
co = checkout | |
lg = log --all --graph --decorate --oneline --abbrev-commit | |
d = diff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [[ ! -e /tmp/$(date +"%Y%m%d").sem ]] | |
then | |
# Do your one-time stuff | |
if (dialog --title "update packages" --yesno "Let's update our pacman packages?(yay command)" 6 30) | |
then | |
touch /tmp/$(date +"%Y%m%d").sem | |
clear | |
yay | |
else | |
touch /tmp/$(date +"%Y%m%d").sem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# depends on the pacman-contrib | |
cupd=$(checkupdates | wc -l) | |
echo "$cupd available " | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
### Display ### | |
# Which monitor should the notifications be displayed on. | |
monitor = 0 | |
# Display notification on focused monitor. Possible modes are: | |
# mouse: follow mouse pointer | |
# keyboard: follow window with keyboard focus | |
# none: don't follow anything |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# clone & configure dotfiles | |
git clone --bare https://github.com/mendes13/dotfiles.git $HOME/.dotfiles | |
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' | |
mkdir -p .dotfiles-backup | |
dotfiles checkout | |
if [ $? = 0 ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shadow = true; | |
detect-rounded-corners = true; | |
shadow-radius = 5; | |
shadow-offset-x = 1; | |
shadow-offset-y = 1; | |
shadow-opacity = 0.3; | |
shadow-ignore-shaped = false; | |
shadow-exclude = [ "name = 'Notification'", "override_redirect = 1 && !WM_CLASS@:s", "class_g ?= 'Dmenu'", "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "_GTK_FRAME_EXTENTS@:c", "class_g ?= 'i3-frame'", "class_g ?= 'trayer'" ]; | |
inactive-opacity = 1.0; | |
active-opacity = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code --install-extension bierner.markdown-preview-github-styles | |
code --install-extension colinkaopu.d | |
code --install-extension Dart-Code.dart-code | |
code --install-extension Dart-Code.flutter | |
code --install-extension dbaeumer.vscode-eslint | |
code --install-extension EditorConfig.EditorConfig | |
code --install-extension esbenp.prettier-vscode | |
code --install-extension GraphQL.vscode-graphql | |
code --install-extension JakeBecker.elixir-ls | |
code --install-extension jdinhlife.gruvbox |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# fix-cedilla | |
# | |
# This is a very simple program to configure your personal ".XCompose" file and | |
# your environment so that typing 'c will generate a cedilla c instead of an | |
# accented c. | |
# | |
# For further information, visit: | |
# http://github.com/marcopaganini/gnome-cedilla-fix |