Skip to content

Commit

Permalink
Updating a lot of scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardolm committed Aug 13, 2023
1 parent cb52bf9 commit c0a3bce
Show file tree
Hide file tree
Showing 58 changed files with 174 additions and 130 deletions.
58 changes: 7 additions & 51 deletions .config/Code/User/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"editor.defaultFormatter": "vscode.json-language-features",
"editor.tabSize": 2
},
// "[php]": {
// "editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
// },
"[php]": {
"editor.defaultFormatter": "vscode.php-language-features"
},
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint"
},
Expand All @@ -47,12 +47,6 @@
"editor.defaultFormatter": "redhat.vscode-yaml",
"editor.tabSize": 2
},
"dlvLoadConfig": {
"maxVariableRecurse": 3,
"maxStringLen": 1024,
"maxArrayValues": 400,
"maxStructFields": -1
},
"editor.rulers": [
79,
119
Expand Down Expand Up @@ -83,28 +77,12 @@
"gitlens.advanced.messages": {
"suppressLineUncommittedWarning": true
},
"go.editorContextMenuCommands": {
"removeTags": true,
"fillStruct": true,
"testFile": true,
"testPackage": true,
"generateTestForFile": true,
"generateTestForPackage": true,
"benchmarkAtCursor": true
},
"go.delveConfig": {
"dlvLoadConfig": {
"maxStringLen": 1024,
},
"apiVersion": 2,
},
"go.formatFlags": [
"-w"
],
"go.liveErrors": {
"enabled": true,
"delay": 500
},
"go.testFlags": [
"-short",
"-race"
Expand Down Expand Up @@ -212,55 +190,33 @@
"git.autofetch": true,
"git.confirmSync": false,
"git.enableSmartCommit": true,
"go.autocompleteUnimportedPackages": true,
"go.buildOnSave": "off",
"go.coverageOptions": "showUncoveredCodeOnly",
"go.coverOnSave": false,
"go.coverShowCounts": true,
"go.formatTool": "goimports",
"go.gotoSymbol.includeGoroot": true,
"go.gotoSymbol.includeImports": true,
"go.lintTool": "golangci-lint",
"go.testOnSave": false,
"go.testTimeout": "1m",
"go.toolsManagement.autoUpdate": true,
"go.useCodeSnippetsOnFunctionSuggest": true,
"go.useCodeSnippetsOnFunctionSuggestWithoutType": true,
"go.useLanguageServer": true,
"go.vetOnSave": "off",
"go.gopath": "~/gopath",
"intelephense.environment.phpVersion": "5.6.40",
"javascript.updateImportsOnFileMove.enabled": "always",
"partialDiff.enableTelemetry": false,
"python.envFile": "${workspaceFolder}/*.env",
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.pycodestyleEnabled": false,
"python.linting.pylintEnabled": true,
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": true,
"redhat.telemetry.enabled": false,
"scm.providerCountBadge": "auto",
"security.workspace.trust.untrustedFiles": "open",
"shellcheck.disableVersionCheck": true,
"synthwave84.brightness": 0.45,
"synthwave84.disableGlow": false,
"telemetry.telemetryLevel": "off",
"terminal.integrated.defaultProfile.linux": "zsh",
"trailing-spaces.deleteModifiedLinesOnly": true,
"trailing-spaces.liveMatching": false,
"trailing-spaces.liveMatching": true,
"trailing-spaces.trimOnSave": true,
"update.showReleaseNotes": false,
"vsicons.dontShowNewVersionMessage": true,
"window.newWindowDimensions": "maximized",
"window.restoreWindows": "none",
"window.title": "${dirty}${separator}${rootName}${separator}vs",
"window.titleSeparator": "",
"window.zoomLevel": -1,
"workbench.colorTheme": "Tokyo Hack",
"workbench.editor.restoreViewState": false,
"workbench.iconTheme": "vscode-icons",
"workbench.startupEditor": "newUntitledFile",
"yaml.format.singleQuote": true,
"yaml.keyOrdering": false,
"workbench.colorTheme": "SynthWave '84",
"git.openRepositoryInParentFolders": "never",
"window.zoomLevel": -1,
}
3 changes: 2 additions & 1 deletion .config/autostart/blueman.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ Type=Application
Categories=
X-Ubuntu-Gettext-Domain=blueman
X-GNOME-Autostart-enabled=false
Hidden=true
Hidden=false

11 changes: 0 additions & 11 deletions .config/autostart/dropbox.desktop

This file was deleted.

1 change: 1 addition & 0 deletions .config/autostart/ignore-lid-switch-tweak.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
Type=Application
Name=ignore-lid-switch-tweak
Exec=/usr/libexec/gnome-tweak-tool-lid-inhibitor
Hidden=false

2 changes: 2 additions & 0 deletions .config/gtk-3.0/bookmarks
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
file:///home/bernardo/Downloads
file:///home/bernardo/sync
file:///home/bernardo/workspaces/bernardolm
file:///home/bernardo/workspaces/bernardolm/dotfiles
Empty file modified .config/thefuck/settings.py
100644 → 100755
Empty file.
Empty file modified .devcontainer/postCreate.sh
100644 → 100755
Empty file.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"git.autoRepositoryDetection": false,
"git.detectSubmodules": false,
"git.ignoreSubmodules": true,
"python.analysis.typeCheckingMode": "basic"
"python.analysis.typeCheckingMode": "basic",
"yaml.schemas": null,
}
1 change: 0 additions & 1 deletion aliases
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ alias sau='sudo apt-get update'
alias sauu='sudo apt-get update; sudo apt-get upgrade --yes; sudo apt-get --purge --yes autoremove'
alias sl='screen -list'
alias sr='screen -r'
alias sudo='sudo '
alias td='todo_zsh'
alias tda='td add'
alias tdls='td top'
Expand Down
Empty file modified antigen/install
100755 → 100644
Empty file.
Empty file modified antigen/start
100755 → 100644
Empty file.
1 change: 1 addition & 0 deletions bash/.bash_aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alias lsa='ls -lah'
119 changes: 119 additions & 0 deletions bash/.bashrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# Fig pre block. Keep at the top of this file.
[[ -f "$HOME/.fig/shell/bashrc.pre.bash" ]] && builtin source "$HOME/.fig/shell/bashrc.pre.bash"
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi

if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
*)
;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'

alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi

# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
Empty file removed bash/bash.d/.keep
Empty file.
Empty file modified bash/scripts/enable-hibernate.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion crontab
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
*/5 * * * * dconf dump /apps/guake/ > ~/workspaces/bernardolm/dotfiles/guake/config.dconf
*/5 * * * * dconf dump /apps/guake/ > ~/workspaces/bernardolm/dotfiles/guake/config.dconf

*/15 * * * * /home/bernardo/sync/zsh/scripts/sync-local-home-with-external-hd.sh
0 docker/install → docker/setup
100755 → 100644
File renamed without changes.
2 changes: 0 additions & 2 deletions dropbox/install
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#!/usr/bin/env zsh

dropbox start -i
2 changes: 1 addition & 1 deletion dropbox/start
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

. "${DOTFILES}/dropbox/install"

python3 "~/.local/bin/dropbox.py" start
python3 "~/.local/bin/dropbox.py" start -i
Empty file modified fonts/install.sh
100644 → 100755
Empty file.
17 changes: 16 additions & 1 deletion gnome/extentions.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,30 @@
# ubuntu-appindicators@ubuntu.com
appindicatorsupport@rgcjonas.gmail.com
apps-menu@gnome-shell-extensions.gcampax.github.com
auto-move-windows@gnome-shell-extensions.gcampax.github.com
caffeine@patapon.info
clipboard-indicator@tudmotu.com
ControlBlurEffectOnLockScreen@pratap.fastmail.fm
desk-changer@eric.gach.gmail.com
ding@rastersoft.com
drive-menu@gnome-shell-extensions.gcampax.github.com
emoji-selector@maestroschan.fr
espresso@coadmunkee.github.com
gnome-shell-screenshot@ttll.de
just-perfection-desktop@just-perfection
launch-new-instance@gnome-shell-extensions.gcampax.github.com
native-window-placement@gnome-shell-extensions.gcampax.github.com
places-menu@gnome-shell-extensions.gcampax.github.com
screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com
sound-output-device-chooser@kgshank.net
status-area-horizontal-spacing@mathematical.coffee.gmail.com
tactile@lundal.io
trash-indicator@Dieg0Js.github.io
trayIconsReloaded@selfmade.pl
ubuntu-appindicators@ubuntu.com
ubuntu-dock@ubuntu.com
user-theme@gnome-shell-extensions.gcampax.github.com
volume-mixer@evermiss.net
WallpaperSwitcher@Rishu
window-list@gnome-shell-extensions.gcampax.github.com
windowsNavigator@gnome-shell-extensions.gcampax.github.com
workspace-indicator@gnome-shell-extensions.gcampax.github.com
2 changes: 1 addition & 1 deletion gnome/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using with gnome-extensions-cli, installed with python pip:

```bash
gnome-extensions-cli install `cat $DOTFILES/gnome/extentions.txt | grep -v '#'
gnome-extensions-cli install `cat $DOTFILES/gnome/extentions.txt | grep -v '#'`
```

maybe
Expand Down
2 changes: 0 additions & 2 deletions go/install
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#!/usr/bin/env zsh

# installing by snap
47 changes: 0 additions & 47 deletions guake/config.dconf

This file was deleted.

Empty file modified homebrew/install
100755 → 100644
Empty file.
Empty file modified homebrew/start
100755 → 100644
Empty file.
Empty file modified install
100755 → 100644
Empty file.
Empty file modified nano/install
100755 → 100644
Empty file.
Empty file modified ohmyposh/install
100755 → 100644
Empty file.
Empty file modified ohmyposh/start
100755 → 100644
Empty file.
Empty file modified ohmyzsh/functions/ohmyzsh_bundles_init
100755 → 100644
Empty file.
Empty file modified ohmyzsh/functions/ohmyzsh_plugins_list
100755 → 100644
Empty file.
Empty file modified ohmyzsh/install
100755 → 100644
Empty file.
Empty file modified ohmyzsh/start
100755 → 100644
Empty file.
Loading

0 comments on commit c0a3bce

Please sign in to comment.