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
[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
#!/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
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
[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
#!/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
# | |
# /---------| |-- /--| * 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
{ | |
//Styles and Font Size of the editor (General) | |
"workbench.iconTheme": "material-icon-theme", | |
// "workbench.colorTheme": "One Dark Pro", | |
"editor.fontSize": 12, | |
"terminal.integrated.fontSize": 12, | |
"window.titleBarStyle": "custom", | |
"editor.tabSize": 2, | |
"editor.cursorStyle": "block", | |
"editor.acceptSuggestionOnEnter": "off", |
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
-- | |
-- xmonad example config file. | |
-- | |
-- A template showing all available configuration hooks, | |
-- and how to override the defaults in your own xmonad.hs conf file. | |
-- | |
-- Normally, you'd only override those defaults you care about. | |
-- | |
import XMonad |