-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 786c75a
Showing
102 changed files
with
3,745 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
# Matches multiple files with brace expansion notation | ||
# Set default charset | ||
[*.{js,json,lua}] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
[submodule "zsh/.oh-my-zsh"] | ||
path = zsh/.oh-my-zsh | ||
url = git@github.com:nweldev/ohmyzsh.git | ||
[submodule "zsh/.zshrc.d/spaceship-angular-prompt"] | ||
path = zsh/.zshrc.d/spaceship-angular-prompt | ||
url = git@gist.github.com:600f69b7bc8464ca67005a35eb0f7bb3.git | ||
[submodule "zsh/.zsh-custom/themes/spaceship-prompt"] | ||
path = zsh/.zsh-custom/themes/spaceship-prompt | ||
url = https://github.com/denysdovhan/spaceship-prompt.git | ||
[submodule "zsh/.zsh-custom/plugins/zsh-autosuggestions"] | ||
path = zsh/.zsh-custom/plugins/zsh-autosuggestions | ||
url = https://github.com/zsh-users/zsh-autosuggestions | ||
[submodule "aur/all-repository-fonts"] | ||
path = aur/all-repository-fonts | ||
url = https://aur.archlinux.org/all-repository-fonts.git | ||
[submodule "aur/nvm"] | ||
path = aur/nvm | ||
url = https://aur.archlinux.org/nvm.git | ||
[submodule "aur/hyper"] | ||
path = aur/hyper | ||
url = git@github.com:nweldev/aur-hyper.git | ||
[submodule "awesome/.config/awesome/copycats"] | ||
path = awesome/.config/awesome/copycats | ||
url = git@github.com:nweldev/awesome-copycats.git | ||
[submodule "awesome/.config/awesome/lain"] | ||
path = awesome/.config/awesome/lain | ||
url = git@github.com:lcpz/lain.git | ||
[submodule "awesome/.config/awesome/freedesktop"] | ||
path = awesome/.config/awesome/freedesktop | ||
url = git@github.com:lcpz/awesome-freedesktop.git | ||
[submodule "awesome/.config/awesome/jsonlua"] | ||
path = awesome/.config/awesome/jsonlua | ||
url = git@github.com:rxi/json.lua.git | ||
[submodule "nvm/.nvm"] | ||
path = nvm/.nvm | ||
url = git@github.com:nvm-sh/nvm.git | ||
[submodule "vim/.config/nvim"] | ||
path = vim/.config/nvim | ||
url = https://github.com/NvChad/NvChad |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"workbench.colorCustomizations": { | ||
"activityBar.background": "#6aac0e", | ||
"activityBar.activeBorder": "#c4e4fa", | ||
"activityBar.foreground": "#15202b", | ||
"activityBar.inactiveForeground": "#15202b99", | ||
"activityBarBadge.background": "#c4e4fa", | ||
"activityBarBadge.foreground": "#15202b", | ||
"titleBar.activeBackground": "#4d7d0a", | ||
"titleBar.inactiveBackground": "#4d7d0a99", | ||
"titleBar.activeForeground": "#e7e7e7", | ||
"titleBar.inactiveForeground": "#e7e7e799", | ||
"statusBar.background": "#4d7d0a", | ||
"statusBarItem.hoverBackground": "#6aac0e", | ||
"statusBar.foreground": "#e7e7e7", | ||
"activityBar.activeBackground": "#6aac0e", | ||
"sash.hoverBorder": "#6aac0e", | ||
"statusBarItem.remoteBackground": "#4d7d0a", | ||
"statusBarItem.remoteForeground": "#e7e7e7", | ||
"commandCenter.border": "#e7e7e799" | ||
}, | ||
"peacock.color": "#4d7d0a" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# My dotfiles (and more...) | ||
|
||
A bunch of dotfiles and some other stuff I use. That it. | ||
|
||
## Install | ||
|
||
``` | ||
cd ~ | ||
git clone --recurse-submodules -j8 https://github.com/nweldev/dotfiles.git | ||
cd dotfiles | ||
vim install.sh | ||
bash install.sh | ||
``` | ||
|
||
### Dotfiles | ||
|
||
Just clone this repository (or a fork) in your home directory, and use [GNU Stow](https://www.gnu.org/software/stow/) in order to use a specific configuration: | ||
|
||
`stow <file or folder>` | ||
|
||
### and some other stuff... | ||
|
||
I also keep some other usefull system config and scripts here: | ||
- [aur](./aur): some [Arch User Repositories](https://wiki.archlinux.org/index.php/Arch_User_Repository) repositories I use (and forked if needed) | ||
- [etc](./etc): system config to link in /etc | ||
|
||
> _**FYI**: I mainly use Arch Linux, and sometimes Debian. Obviously, some parts of this project would need some tweaking if you don't use Arch Linux yourself._ | ||
For more details see [install.sh](./install.sh). _Don't use this script directly! I only use it when if need to take down any notes about some commands I use, not for automating system installs._ | ||
|
||
## Sub-projects | ||
|
||
- [Spaceship Angular Prompt](./zsh/.zshrc.d/spaceship-angular-prompt) | ||
|
||
## Tools | ||
|
||
### Hyper.js | ||
|
||
A terminal built on web technologies | ||
|
||
| :octocat: repo | :globe_with_meridians: website | :arrow_down: install | | ||
|----------------|---------------------------------|------------------------| | ||
| [zeit/hyper](https://github.com/zeit/hyper)| [hyper.is](https://hyper.is/) | forked [AUR](./aur) | | ||
|
||
### VS Code | ||
|
||
Code editing.\ | ||
**Redefined.** | ||
|
||
| :octocat: repo | :globe_with_meridians: website | :arrow_down: install | | ||
|----------------|---------------------------------|------------------------| | ||
| [Microsoft/vscode](https://github.com/Microsoft/vscode)| [code.visualstudio.com](https://code.visualstudio.com) | `pacman -S code` | | ||
|
||
## Oh My ZSH | ||
|
||
Open source, community-driven framework for managing your zsh configuration. | ||
|
||
:electric_plug: Submodule in [/zsh](./zsh/) | ||
|
||
## Spaceship ZSH | ||
|
||
:rocket: :star: A Zsh prompt for Astronauts | ||
|
||
:electric_plug: Submodule in [/zsh/.zsh-custom/themes/](./zsh/.zsh-custom/themes/) | ||
|
||
## Awesome | ||
|
||
Highly configurable, next generation framework window manager for X. | ||
|
||
| :octocat: repo | :globe_with_meridians: website | :arrow_down: install | | ||
|----------------|---------------------------------|------------------------| | ||
| [awesomeWM/awesome](https://github.com/awesomeWM/awesome)| awesomewm.org | `pacman -S awesome` | | ||
|
||
## CLI | ||
|
||
### Hub | ||
|
||
A command-line tool that makes git easier to use with GitHub. | ||
|
||
| :octocat: repo | :globe_with_meridians: website | :arrow_down: install | | ||
|----------------|---------------------------------|------------------------| | ||
| [github/hub](https://github.com/github/hub)| [hub.github.com](https://hub.github.com/) | `$ sudo pacman -S hub` | | ||
|
||
### Physlock | ||
|
||
Lightweight linux console locking tool | ||
|
||
:octocat: [muennich/physlock](https://github.com/muennich/physlock) | ||
|
||
|
||
## Misc | ||
|
||
See this repository [submodules](./.gitmodules). |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
output DP-1 | ||
off | ||
output VGA-1 | ||
off | ||
output VIRTUAL-1 | ||
off | ||
output LVDS-1 | ||
crtc 1 | ||
mode 1920x1080 | ||
pos 0x0 | ||
rate 59.93 | ||
transform 0.799988,0.000000,0.000000,0.000000,0.799988,0.000000,0.000000,0.000000,1.000000 | ||
output HDMI-1 | ||
crtc 0 | ||
mode 1920x1080 | ||
pos 1920x0 | ||
primary | ||
rate 60.00 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
HDMI1 00ffffffffffff0034a441360101010100140103813c22782aeed5a555489b26125054bfef80b300a940950081408180950f714f9040023a801871382d40582c450056502100001e662150b051001b304070360056502100001e000000fd00374c1d5111000a202020202020000000fc004d4432303134370a202020202001c4020322f14f9f1413121116151005040302070601230907018301000065030c001000023a80d072382d40102c458056502100001f011d80d0721c1620102c250056502100009f011d00bc52d01e20b828554056502100001e8c0ad090204031200c405500565021000018023a801871382d40582c450056502100001e00000047 | ||
LVDS1 00ffffffffffff0030e459020000000000130103802313780a15d59e595098260e5054000000010101010101010101010101010101011a3680a070381f403020350059c210000019000000000000000000000000000000000000000000fe004c4720446973706c61790a2020000000fe004c503135365746312d544c4633003c |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
output DP-1 | ||
off | ||
output HDMI-1 | ||
off | ||
output VGA-1 | ||
off | ||
output VIRTUAL-1 | ||
off | ||
output LVDS-1 | ||
crtc 1 | ||
mode 1920x1080 | ||
pos 0x0 | ||
rate 59.93 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
LVDS1 00ffffffffffff0030e459020000000000130103802313780a15d59e595098260e5054000000010101010101010101010101010101011a3680a070381f403020350059c210000019000000000000000000000000000000000000000000fe004c4720446973706c61790a2020000000fe004c503135365746312d544c4633003c |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
xrandr --output LVDS-1 --mode 1920x1080 --scale 0.75x0.75 --pos 0x0 --rotate normal --output DP-1 --off --output HDMI-1 --primary --mode 1920x1080 --pos 1440x0 --rotate normal --output VGA-1 --off --output VIRTUAL-1 --off |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
xrandr --output LVDS1 --mode 1920x1080 --scale 1x1 --pos 0x0 --rotate normal --output DP1 --off --output HDMI1 --off --output VGA1 --off --output VIRTUAL1 --off |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
xrandr --output LVDS1 --gamma 1.5:1.5:1.5 --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --off --output HDMI1 --gamma 1:1:1 --primary --mode 1920x1080 --pos 1922x0 --rotate normal --output VGA1 --off --output VIRTUAL1 --off |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
xrandr --output eDP1 --primary --mode 1280x720_60.00 --pos 0x0 --rotate normal --output DP1 --mode 1280x720 --pos 0x0 --rotate normal --output DP2 --off |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
autojump 22.5.3-1 | ||
cpupower-gui 0.7.0-1 | ||
emoji-keyboard-git r27.afe17aa-3 | ||
firefox-nightly 72.0a1.20191111-1 | ||
google-chrome 78.0.3904.97-1 | ||
google-chrome-dev 80.0.3962.2-1 | ||
lsdesktopf 1.0.7-4 | ||
msi-perkeyrgb 2.1-1 | ||
scrcpy 1.10-2 | ||
slack-desktop 4.1.2-2 | ||
v4l2loopback-dkms 0.12.2-1 | ||
visual-studio-code-bin 1.40.0-1 |
Submodule all-repository-fonts
added at
9901e3
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
if [ ! -z "$1" ]; then | ||
if [ ! -d "$1" ]; then | ||
echo -e "\"$1\" isn't a valid directory. Aborting." | ||
exit 1 | ||
fi | ||
DIRECTORIES="$1" | ||
else | ||
DIRECTORIES=$(ls -d */) | ||
fi | ||
|
||
for aur in $DIRECTORIES; | ||
do | ||
cd $aur; | ||
|
||
echo -e "\n== $aur ==\n" | ||
|
||
BRANCH=$(git rev-parse --abbrev-ref HEAD) | ||
|
||
if [ "$BRANCH" != "master" ]; then | ||
echo -e "Not on master. Aborting." | ||
cd .. | ||
continue | ||
fi | ||
|
||
git fetch | ||
HEADHASH=$(git rev-parse HEAD) | ||
UPSTREAMHASH=$(git rev-parse master@{upstream}) | ||
|
||
if [ "$HEADHASH" = "$UPSTREAMHASH" ]; then | ||
echo -e "Current branch is up to date with origin/master. No update needed." | ||
cd .. | ||
continue | ||
fi | ||
|
||
git add --all | ||
git stash save "Pre-update: $(date '+%Y-%m-%d %H:%M:%S')" | ||
|
||
git reset --hard && git clean -dfx | ||
|
||
git pull | ||
makepkg -scCi | ||
cd .. | ||
done |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Awesome WM custom config | ||
|
||
## configuration | ||
|
||
Edit [config.json](./config.json). | ||
|
||
### config.theme | ||
|
||
- "powerarrow-dark" (recommended) | ||
- "blackburn" | ||
- "copland" | ||
- "dremora" | ||
- "holo" | ||
- "multicolor" | ||
- "powerarrow" | ||
- "rainbow" | ||
- "steamburn" | ||
- "vertex" | ||
|
||
### tags | ||
|
||
#### base | ||
|
||
`Array<string>` | ||
|
||
name of the tags created when awesomewm starts |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
local gears = require("gears") | ||
|
||
return gears.table.join( | ||
awful.button( | ||
{}, | ||
1, | ||
function(c) | ||
c:emit_signal("request::activate", "mouse_click", {raise = true}) | ||
end | ||
), | ||
awful.button( | ||
{modkey}, | ||
1, | ||
function(c) | ||
c:emit_signal("request::activate", "mouse_click", {raise = true}) | ||
awful.mouse.client.move(c) | ||
end | ||
), | ||
awful.button( | ||
{modkey}, | ||
3, | ||
function(c) | ||
c:emit_signal("request::activate", "mouse_click", {raise = true}) | ||
awful.mouse.client.resize(c) | ||
end | ||
) | ||
) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
return tableCompat.join( | ||
awful.button( | ||
{}, | ||
3, | ||
function() | ||
awful.util.mymainmenu:toggle() | ||
end | ||
), | ||
awful.button({}, 4, awful.tag.viewnext), | ||
awful.button({}, 5, awful.tag.viewprev) | ||
) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
return tableCompat.join( | ||
awful.button( | ||
{}, | ||
1, | ||
function(t) | ||
t:view_only() | ||
end | ||
), | ||
awful.button( | ||
{modkey}, | ||
1, | ||
function(t) | ||
if client.focus then | ||
client.focus:move_to_tag(t) | ||
end | ||
end | ||
), | ||
awful.button({}, 3, awful.tag.viewtoggle), | ||
awful.button( | ||
{modkey}, | ||
3, | ||
function(t) | ||
if client.focus then | ||
client.focus:toggle_tag(t) | ||
end | ||
end | ||
), | ||
awful.button( | ||
{}, | ||
4, | ||
function(t) | ||
awful.tag.viewnext(t.screen) | ||
end | ||
), | ||
awful.button( | ||
{}, | ||
5, | ||
function(t) | ||
awful.tag.viewprev(t.screen) | ||
end | ||
) | ||
) |
Oops, something went wrong.