Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyrg committed Jan 4, 2021
2 parents 3a499fc + 74bacf8 commit 7360c05
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 18 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ modifier $mod

#general user launch bindings
bindsym $mod+Shift+e exec emacs-same-frame
bindsym $mod+Shift+f exec google-chrome
bindsym $mod+Shift+f exec google-chrome --disable-session-crashed-bubble
bindsym $mod+Control+t exec "notify-send -t 2000 'Opening NEW Terminator instance' && terminator -e tmux"
bindsym $mod+Control+l exec (sleep 1 && xset dpms force standby) #triggers xss-lock
bindsym $mod+Control+o exec xmg-neo-rgb-kbd-lights toggle && x-backlight-persist restore
Expand Down Expand Up @@ -2035,15 +2035,14 @@ reset github as if it's newly born. ALL history will be lost.
#!/bin/bash
#Maintained in linux-init-files.org
tfile=$(mktemp /tmp/config.XXXXXXXXX)
GITCONF=".git/config"
commitmsg=${1:-git repository initialised}
if [ -f $GITCONF ]; then
mv .git/config tfile
commitmsg=${1:-"git repository initialised"}
if [ -f .git/config ]; then
mv .git/config "$tfile"
rm -rf .git
git init .
mv tfile .git/config
mv "$tfile" .git/config
git add .
git commit -a -m "${commitmsg}"
git commit -a -m "$commitmsg"
git push -f
else
echo "Warning: No git config file found. Aborting.";exit;
Expand Down
6 changes: 3 additions & 3 deletions directories/bin/resgithub
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
tfile=$(mktemp /tmp/config.XXXXXXXXX)
GITCONF=".git/config"
commitmsg=${1:-git repository initialised}
if [ -f $GITCONF ]; then
mv .git/config tfile
if [ -f "$GITCONF" ]; then
mv "$GITCONF" tfile
rm -rf .git
git init .
mv tfile .git/config
mv tfile "$GITCONF"
git add .
git commit -a -m "${commitmsg}"
git push -f
Expand Down
2 changes: 1 addition & 1 deletion dot-config/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ modifier $mod

#general user launch bindings
bindsym $mod+Shift+e exec emacs-same-frame
bindsym $mod+Shift+f exec google-chrome
bindsym $mod+Shift+f exec google-chrome --disable-session-crashed-bubble
bindsym $mod+Control+t exec "notify-send -t 2000 'Opening NEW Terminator instance' && terminator -e tmux"
bindsym $mod+Control+l exec (sleep 1 && xset dpms force standby) #triggers xss-lock
bindsym $mod+Control+o exec xmg-neo-rgb-kbd-lights toggle && x-backlight-persist restore
Expand Down
13 changes: 6 additions & 7 deletions linux-init-files.org
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@

#general user launch bindings
bindsym $mod+Shift+e exec emacs-same-frame
bindsym $mod+Shift+f exec google-chrome
bindsym $mod+Shift+f exec google-chrome --disable-session-crashed-bubble
bindsym $mod+Control+t exec "notify-send -t 2000 'Opening NEW Terminator instance' && terminator -e tmux"
bindsym $mod+Control+l exec (sleep 1 && xset dpms force standby) #triggers xss-lock
bindsym $mod+Control+o exec xmg-neo-rgb-kbd-lights toggle && x-backlight-persist restore
Expand Down Expand Up @@ -1899,15 +1899,14 @@
#!/bin/bash
#Maintained in linux-init-files.org
tfile=$(mktemp /tmp/config.XXXXXXXXX)
GITCONF=".git/config"
commitmsg=${1:-git repository initialised}
if [ -f $GITCONF ]; then
mv .git/config tfile
commitmsg=${1:-"git repository initialised"}
if [ -f .git/config ]; then
mv .git/config "$tfile"
rm -rf .git
git init .
mv tfile .git/config
mv "$tfile" .git/config
git add .
git commit -a -m "${commitmsg}"
git commit -a -m "$commitmsg"
git push -f
else
echo "Warning: No git config file found. Aborting.";exit;
Expand Down

0 comments on commit 7360c05

Please sign in to comment.