remove uneeded files, update i3 config with proper usernames

This commit is contained in:
Amarpreet Minhas 2018-09-27 17:31:53 -04:00
parent 1c25eb9039
commit 25477afe06
7 changed files with 2 additions and 106 deletions

View file

@ -1,4 +0,0 @@
#!/usr/bin/env bash
i3-sensible-terminal -e cmatrix &
xtrlock
kill -9 $(pgrep cmatrix)

View file

@ -1,37 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>Start Page</title>
<style type="text/css">
html,body{height:100%;}
body{background-image:url('/tmp/wallpaper');font-family:monospace;background-position:center center;}
#floater{height:50%;margin-bottom:-61px;}
#links{width:400px;height:232px;margin:0 auto;background-color:#FFE7CB;padding:10px;border:solid 10px #821E38;}
ul,li{display:inline-block;list-style:none;margin:0px;padding:0px;}
li a:link{display:block;background-color:#404040;margin:3px;padding:5px;color:#F1F1F1;text-decoration:none;width:180px;float:left;text-align:center;}
li a:visited{display:block;background-color:#404040;margin:3px;padding:5px;color:#F1F1F1;}
li a:hover{background-color:#7BC8A4;color:#404040}
h2{text-align:center;color:#404040;}
</style>
</head>
<body>
<div id="floater">
</div>
<div id="links">
<h2>Welcome Home Child</h2>
<ul>
<li><a href="https://github.com/Asara">Github</a></li>
<li><a href="https://bitbucket.org/AmarpreetMinhas">Bitbuckett</a></li>
<li><a href="http://fuckinghomepage.com/">Fucking Homepage</a></li>
<li><a href="http://interactivepython.org/runestone/static/thinkcspy/toc.html">Think Like a CS</a></li>
<li><a href="http://www.django-rest-framework.org/tutorial/1-serialization#">Django REST</a></li>
<li><a href="https://www.ibm.com/developerworks/library/l-awk1/">AWK</a></li>
<li><a href="https://www.trello.com/">Trello</a></li>
<li><a href="#">Add More!</a></li>
</ul>
</div>
</body>
</html>

View file

@ -153,13 +153,13 @@ bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status # Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available) # finds out, if available)
bar { bar {
status_command i3status -c /home/george/.i3status.conf status_command i3status -c /home/asara/.config/i3/i3status.conf
} }
# F key commands # F key commands
# Lock # Lock
bindsym $mod+F5 exec i3lock -n -c 000000 -i /tmp/wallpaper bindsym $mod+F5 exec slimlock
bindsym $mod+F6 exec xbacklight -dec 5 bindsym $mod+F6 exec xbacklight -dec 5
bindsym $mod+F7 exec xbacklight -inc 2 bindsym $mod+F7 exec xbacklight -inc 2
@ -179,4 +179,3 @@ assign [class="Pidgin"] $ws9
# Load # Load
exec xbacklight -set 20 exec xbacklight -set 20
exec nm-applet exec nm-applet
exec feh --bg-fill /tmp/wallpaper

View file

@ -1,4 +0,0 @@
#!/usr/bin/env bash
i3-sensible-terminal -e livestreamer -Q http://ustream.tv/channel/iss-hdev-payload best --player 'mpv --fs ' &
xtrlock
kill -9 $(ps aux | grep 'mpv' | grep -v grep | awk '{print $2}')

View file

@ -1,10 +0,0 @@
[Unit]
Description=Sets wallpaper across slim/i3/i3lock
Before=slim.service
[Service]
Type=oneshot
ExecStart=/home/USER/.wallpaper.sh
[Install]
WantedBy=multi-user.target

View file

@ -1,15 +0,0 @@
#!/bin/bash
# Set Slim background file here
SLIM="/usr/share/slim/themes/default/background.jpg"
# Set directory with wallpapers here
WPDIR="/home/$USER/macros/wallpapers/"
WP=$WPDIR$(ls -a $WPDIR | shuf -n 1)
# Set random wallpaper as Slim background
cp $WP $SLIM
# Symlink the wallpaper
ln -s $WP /tmp/wallpaper

33
update
View file

@ -1,33 +0,0 @@
# Pacman/Yaourt
if command -v 'pacman' >/dev/null $$ [[ $?==0 ]]; then
alias distro='echo Arch'
alias install='yaourt -S '
alias fupdate='echo "Updating system" && yaourt -Syyua --devel && echo "Cleaning" && sudo pacman -Rs $(pacman -Qtdq))'
alias search='yaourt -Ss '
alias paccache='paccache -rv'
fi
# Debian
if command -v 'apt-get' >/dev/null && [[ $?==0 ]]; then
alias distro='echo Debian'
alias install='sudo apt-get install '
alias fupdate='sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade'
alias search='sudo apt-cache search '
fi
# RHEL
if command -v 'yum' >/dev/null && [[ $?==0 ]]; then
alias distro='echo Red Hat'
alias install='sudo yum install '
alias fupdate='sudo yum upgrade'
alias search='sudo yum search '
fi
# Gentoo
if command -v 'emerge' >/dev/null && [[ $?==0 ]]; then
alias distro='echo Gentoo'
alias install='sudo emerge -av '
echo -e "Updating ports \n\n\n" && sudo emerge-webrsync && echo -e "Updating system\n\n\n" && sudo emerge --update --deep --with-bdeps=y --newuse --ask @world && echo "Rebuilding preserved" && sudo emerge @preserved-rebuild && echo -e "Cleaning \n\n\n" && sudo emerge --depclean
alias search='emerge --search '
fi