diff --git a/ChromeOS/.profile b/ChromeOS/.profile deleted file mode 100644 index c4644a3..0000000 --- a/ChromeOS/.profile +++ /dev/null @@ -1,3 +0,0 @@ -export PATH="$HOME/.cargo/bin:$PATH" -sudo mount -o remount,exec /tmp -sudo mount -o remount,exec /media/removable/SD\ Card diff --git a/ChromeOS/.ssh/config b/ChromeOS/.ssh/config deleted file mode 100644 index 30be10f..0000000 --- a/ChromeOS/.ssh/config +++ /dev/null @@ -1,3 +0,0 @@ -Host github.com - Hostname ssh.github.com - Port 443 diff --git a/ChromeOS/README.md b/ChromeOS/README.md deleted file mode 100644 index 9ef2875..0000000 --- a/ChromeOS/README.md +++ /dev/null @@ -1 +0,0 @@ -# ChromeOS Dotfiles diff --git a/ChromeOS/banners/.current b/ChromeOS/banners/.current deleted file mode 100644 index ab5c1cf..0000000 --- a/ChromeOS/banners/.current +++ /dev/null @@ -1 +0,0 @@ -Shell started diff --git a/ChromeOS/bashrc/.bashrc b/ChromeOS/bashrc/.bashrc deleted file mode 100644 index 0a7cf63..0000000 --- a/ChromeOS/bashrc/.bashrc +++ /dev/null @@ -1,109 +0,0 @@ -# /etc/skel/.bashrc -# -# This file is sourced by all *interactive* bash shells on startup, -# including some apparently interactive shells such as scp and rcp -# that can't tolerate any output. So make sure this doesn't display -# anything or bad things will happen ! - - -# Test for an interactive shell. There is no need to set anything -# past this point for scp and rcp, and it's important to refrain from -# outputting anything in those cases. -if [[ $- != *i* ]] ; then - # Shell is non-interactive. Be done now! - return -fi - - -# Put your fun stuff here. -clear -screenfetch - -PS1='\[\033[38;5;43m\]\u\[\033[38;5;31m\]@\[\033[38;5;43m\]\h\[\033[38;5;31m\]:\[\033[38;5;183m\]\w\[\033[00m\] \[\033[38;5;214m\]$\[\033[0m\] ' - -# aliases -alias ll="ls -l" -alias la="ls -a" -alias please='sudo $(history -p !!)' -alias vi=vim -alias :q="exit" -alias :wq="exit" -alias cls=clear -alias bashreload="source ~/.bashrc" -alias lip="ip addr | grep inet | grep wlan0" -alias p4='ping 4.2.2.2 -c 4' - -sci(){ - if [ $# != 1 ]; then - crew -h - else - crew install $1 - fi -} - -csearch(){ - if [ $# != 1 ]; then - echo "Usage: csearch " - else - crew search | grep -e "$1" - fi -} - -mkcd() { - if [ $# != 1 ]; then - echo "Usage: mkcd " - else - mkdir -p $1 && cd $1 - fi -} - -cl() -{ - last_dir="$(ls -Frt | grep '/$' | tail -n1)" - if [ -d "$last_dir" ]; then - cd "$last_dir" - fi -} - -sud() { # do sudo, or sudo the last command if no argument given - if [[ $# == 0 ]]; then - sudo $(history -p '!!') - else - sudo "$@" - fi -} - -up(){ - local d="" - limit=$1 - for ((i=1 ; i <= limit ; i++)) - do - d=$d/.. - done - d=$(echo $d | sed 's/^\///') - if [ -z "$d" ]; then - d=.. - fi - cd $d -} -extract () { - if [ -f $1 ] ; then - case $1 in - *.tar.bz2) tar xvjf $1 ;; - *.tar.gz) tar xvzf $1 ;; - *.bz2) bunzip2 $1 ;; - *.rar) unrar x $1 ;; - *.gz) gunzip $1 ;; - *.tar) tar xvf $1 ;; - *.tbz2) tar xvjf $1 ;; - *.tgz) tar xvzf $1 ;; - *.zip) unzip $1 ;; - *.Z) uncompress $1 ;; - *.7z) 7z x $1 ;; - *) echo "don't know how to extract '$1'..." ;; - esac - else - echo "'$1' is not a valid file!" - fi - } - diff --git a/ChromeOS/bashrc/.bashrc.backup b/ChromeOS/bashrc/.bashrc.backup deleted file mode 100644 index 0d33ef5..0000000 --- a/ChromeOS/bashrc/.bashrc.backup +++ /dev/null @@ -1,18 +0,0 @@ -# /etc/skel/.bashrc -# -# This file is sourced by all *interactive* bash shells on startup, -# including some apparently interactive shells such as scp and rcp -# that can't tolerate any output. So make sure this doesn't display -# anything or bad things will happen ! - - -# Test for an interactive shell. There is no need to set anything -# past this point for scp and rcp, and it's important to refrain from -# outputting anything in those cases. -if [[ $- != *i* ]] ; then - # Shell is non-interactive. Be done now! - return -fi - - -# Put your fun stuff here. diff --git a/ChromeOS/bashrc/.bashrc1 b/ChromeOS/bashrc/.bashrc1 deleted file mode 100644 index 8038dc4..0000000 --- a/ChromeOS/bashrc/.bashrc1 +++ /dev/null @@ -1,25 +0,0 @@ -# /etc/skel/.bashrc -# -# This file is sourced by all *interactive* bash shells on startup, -# including some apparently interactive shells such as scp and rcp -# that can't tolerate any output. So make sure this doesn't display -# anything or bad things will happen ! - - -# Test for an interactive shell. There is no need to set anything -# past this point for scp and rcp, and it's important to refrain from -# outputting anything in those cases. -if [[ $- != *i* ]] ; then - # Shell is non-interactive. Be done now! - return -fi - - -# Put your fun stuff here. -clear - -# aliases -alias fucking=sudo - -# banner code -cat ~/banners/.current diff --git a/ChromeOS/bashrc/README.md b/ChromeOS/bashrc/README.md deleted file mode 100644 index 27c25a8..0000000 --- a/ChromeOS/bashrc/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# ChromeOS Bashrc Files -### Important! -The file named -``` -.bashrc -``` -is the file that i currently use. -
-The file named -``` -.bashrc.backup -``` -is the stock ChromeOS bashrc file. This is not to be messed with.. it exsists so that i can safely revert to a working file. -
-All other files will be named -``` -.bashrc[version name] -``` diff --git a/ChromeOS/zsh/.zshrc b/ChromeOS/zsh/.zshrc deleted file mode 100644 index d97a4b9..0000000 --- a/ChromeOS/zsh/.zshrc +++ /dev/null @@ -1,168 +0,0 @@ -# The following lines were added by compinstall - -zstyle ':completion:*' completer _complete _ignored -zstyle :compinstall filename '/home/chronos/user/.zshrc' - -autoload -Uz compinit -compinit -# End of lines added by compinstall -# Lines configured by zsh-newuser-install -HISTFILE=~/.histfile -HISTSIZE=1000 -SAVEHIST=1000 -unsetopt beep -bindkey -v -# End of lines configured by zsh-newuser-install - -#git clone https://github.com/zsh-users/zsh-syntax-highlighting.git -#echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc -#source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh - -alias gitpsswd="cat /media/removable/SD\ Card/gitpsswd" - -# prompt stuff -autoload -U colors && colors -NEWLINE=$'\n' -export PROMPT="%{$fg[green]%}%n@%M %{$fg[cyan]%}%~ $ %{$reset_color%}" -setopt prompt_subst -autoload -Uz vcs_info -zstyle ':vcs_info:*' actionformats \ - '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f ' -zstyle ':vcs_info:*' formats \ - '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{5}]%f ' -zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r' - -zstyle ':vcs_info:*' enable git cvs svn - -# or use pre_cmd, see man zshcontrib -vcs_info_wrapper() { - vcs_info - if [ -n "$vcs_info_msg_0_" ]; then - echo "%{$fg[grey]%}${vcs_info_msg_0_}%{$reset_color%}$del" - fi -} -export RPROMPT=$'%@ $(vcs_info_wrapper) %?' -#other stuff - -# clear -# screenfetch - -#dont mess with this -alias ls="ls --color=auto" - -alias pip="python3 -m pip" - -# aliases - -#pandoc -alias docx="pandoc -s -o" - -alias school="cd /media/removable/SD\ Card/School" -alias sdcard="cd /media/removable/SD\ Card/" -alias ll="ls -l" -alias la="ls -a" -alias please='sudo $(history -p !!)' -# alias vi=vim -alias :q="exit" -alias :wq="exit" -alias cls=clear -alias zshreload="source ~/.zshrc" -alias lip="ip addr | grep inet | grep wlan0" -alias p4='ping 4.2.2.2 -c 4' - -sci(){ - if [ $# != 1 ]; then - crew -h - else - crew install $1 - fi -} - -search(){ - if [ $# != 1 ]; then - echo "please enter a name to search for" - else - ls | grep "$1" - fi -} - -csearch(){ - if [ $# != 1 ]; then - echo "Usage: csearch " - else - crew search | grep -e "$1" - fi -} - -mkcd() { - if [ $# != 1 ]; then - echo "Usage: mkcd " - else - mkdir -p $1 && cd $1 - fi -} - -cl() -{ - last_dir="$(ls -Frt | grep '/$' | tail -n1)" - if [ -d "$last_dir" ]; then - cd "$last_dir" - fi -} - -sud() { # do sudo, or sudo the last command if no argument given - if [[ $# == 0 ]]; then - sudo $(history -p '!!') - else - sudo "$@" - fi -} - -up(){ - local d="" - limit=$1 - for ((i=1 ; i <= limit ; i++)) - do - d=$d/.. - done - d=$(echo $d | sed 's/^\///') - if [ -z "$d" ]; then - d=.. - fi - cd $d -} - -extract () { - if [ -f $1 ] ; then - case $1 in - *.tar.bz2) tar xvjf $1 ;; - *.tar.gz) tar xvzf $1 ;; - *.bz2) bunzip2 $1 ;; - *.rar) unrar x $1 ;; - *.gz) gunzip $1 ;; - *.tar) tar xvf $1 ;; - *.tbz2) tar xvjf $1 ;; - *.tgz) tar xvzf $1 ;; - *.zip) unzip $1 ;; - *.Z) uncompress $1 ;; - *.7z) 7z x $1 ;; - *) echo "don't know how to extract '$1'..." ;; - esac - else - echo "'$1' is not a valid file!" - fi -} -#cls -#screenfetch -#source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh -#source /home/chronos/user/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh - -eval $(thefuck --alias) -export PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/local/share/texlive/2017/bin/x86_64-linux -export MANPATH=/usr/local/share/man:/usr/share/man:/usr/local/share/texlive/2017/bin/texmf-dist/doc/man -export MANPATH=/usr/local/man:$MANPATH -export TMPDIR=/usr/local/tmp - -ln -s /media/removable/SD\ Card/go $HOME/go -export PATH="$HOME/go/bin:$PATH" -export TMPDIR=/usr/local/tmp diff --git a/README.md b/README.md deleted file mode 100644 index 0e606c6..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# dotfiles -My personal dotfiles diff --git a/ubuntu/Desktop/(movetousrlocalbin)-settings b/ubuntu/Desktop/(movetousrlocalbin)-settings deleted file mode 100644 index db7f134..0000000 --- a/ubuntu/Desktop/(movetousrlocalbin)-settings +++ /dev/null @@ -1,2 +0,0 @@ -#! /bin/bash -env XDG_CURRENT_DESKTOP=GNOME gnome-control-center diff --git a/ubuntu/Desktop/.config/.compton.conf b/ubuntu/Desktop/.config/.compton.conf deleted file mode 100644 index d2df2bb..0000000 --- a/ubuntu/Desktop/.config/.compton.conf +++ /dev/null @@ -1,6 +0,0 @@ -# Fading -fading = true; # Fade windows during opacity changes. -fade-delta = 12; # The time between steps in a fade in milliseconds. (default 10). -fade-in-step = 0.15; # Opacity change between steps while fading in. (default 0.028). -fade-out-step = 0.15; # Opacity change between steps while fading out. (default 0.03). -no-fading-openclose = false; # Fade windows in/out when opening/closing. diff --git a/ubuntu/Desktop/.config/i3/config b/ubuntu/Desktop/.config/i3/config deleted file mode 100644 index 77a8de3..0000000 --- a/ubuntu/Desktop/.config/i3/config +++ /dev/null @@ -1,231 +0,0 @@ -# This file has been auto-generated by i3-config-wizard(1). -# It will not be overwritten, so edit it as you like. -# -# Should you change your keyboard layout some time, delete -# this file and re-run i3-config-wizard(1). -# - -# i3 config file (v4) -# -# Please see https://i3wm.org/docs/userguide.html for a complete reference! - -set $mod Mod4 - -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. -font pango:monospace 8 - -# This font is widely installed, provides lots of unicode glyphs, right-to-left -# text rendering and scalability on retina/hidpi displays (thanks to pango). -#font pango:DejaVu Sans Mono 8 - -# Before i3 v4.8, we used to recommend this one as the default: -# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -# The font above is very space-efficient, that is, it looks good, sharp and -# clear in small sizes. However, its unicode glyph coverage is limited, the old -# X core fonts rendering does not support right-to-left and this being a bitmap -# font, it doesn’t scale on retina/hidpi displays. - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod - -# start a terminal -bindsym $mod+Return exec i3-sensible-terminal - -# kill focused window -bindsym $mod+Shift+q kill - -# start dmenu (a program launcher) -#bindsym $mod+d exec dmenu_run - -# use rofi instead - -bindsym $mod+d exec rofi -show run -lines 3 -eh 2 -width 100 -padding 800 -opacity "85" -bw 0 -bc "$bg-color" -bg "$bg-color" -fg "$text-color" -hlbg "$bg-color" -hlfg "#9575cd" - -# There also is the (new) i3-dmenu-desktop which only displays applications -# shipping a .desktop file. It is a wrapper around dmenu, so you need that -# installed. -# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop - -exec --no-startup-id nitrogen --restore -exec_always --no-startup-id compton -f - -# gaps - -gaps outer 5 -gaps inner 10 - -#smart_gaps on - -# windows style workspace switcher - -bindsym $mod+Control+Right workspace next -bindsym $mod+Control+Left workspace prev - -workspace_auto_back_and_forth yes - -# Set window focusing to only focus if requester is on screen - -focus_on_window_activation smart - -# Audio Manager - -bindsym $mod+Shift+a exec pavucontrol - -# window lock - -bindsym Control+Mod1+l exec i3lock-fancy - -# Go to sleep - -bindsym Control+Mod1+s exec systemctl suspend - -# Screen Shots -bindsym Print exec scrot '%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f ~/Pictures/' -bindsym Control+Print exec gnome-screenshot -i - -# Network Manager - -exec_always --no-startup-id nm-applet - - -# change focus -bindsym $mod+j focus left -bindsym $mod+k focus down -bindsym $mod+l focus up -bindsym $mod+semicolon focus right - -# alternatively, you can use the cursor keys: -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# move focused window -bindsym $mod+Shift+j move left -bindsym $mod+Shift+k move down -bindsym $mod+Shift+l move up -bindsym $mod+Shift+semicolon move right - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# split in horizontal orientation -bindsym $mod+h split h - -# split in vertical orientation -bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -bindsym $mod+space focus mode_toggle - -# focus the parent container -bindsym $mod+a focus parent - -# focus the child container -#bindsym $mod+d focus child - -# Define names for default workspaces for which we configure key bindings later on. -# We use variables to avoid repeating the names in multiple places. -set $ws1 "1" -set $ws2 "2" -set $ws3 "3" -set $ws4 "4" -set $ws5 "5" -set $ws6 "6" -set $ws7 "7" -set $ws8 "8" -set $ws9 "9" -set $ws10 "10" - -# switch to workspace -bindsym $mod+1 workspace $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace $ws5 -bindsym $mod+6 workspace $ws6 -bindsym $mod+7 workspace $ws7 -bindsym $mod+8 workspace $ws8 -bindsym $mod+9 workspace $ws9 -bindsym $mod+0 workspace $ws10 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace $ws1 -bindsym $mod+Shift+2 move container to workspace $ws2 -bindsym $mod+Shift+3 move container to workspace $ws3 -bindsym $mod+Shift+4 move container to workspace $ws4 -bindsym $mod+Shift+5 move container to workspace $ws5 -bindsym $mod+Shift+6 move container to workspace $ws6 -bindsym $mod+Shift+7 move container to workspace $ws7 -bindsym $mod+Shift+8 move container to workspace $ws8 -bindsym $mod+Shift+9 move container to workspace $ws9 -bindsym $mod+Shift+0 move container to workspace $ws10 - -# reload the configuration file -bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart -# exit i3 (logs you out of your X session) -bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" - -# resize window (you can also use the mouse for that) -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym j resize shrink width 10 px or 10 ppt - bindsym k resize grow height 10 px or 10 ppt - bindsym l resize shrink height 10 px or 10 ppt - bindsym semicolon resize grow width 10 px or 10 ppt - - # same bindings, but for the arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt - - # back to normal: Enter or Escape or $mod+r - bindsym Return mode "default" - bindsym Escape mode "default" - bindsym $mod+r mode "default" -} - -bindsym $mod+r mode "resize" - -# Start i3bar to display a workspace bar (plus the system information i3status -# finds out, if available) -bar { - colors { - background #2f343f - statusline #2f343f - separator #4b5262 - - # colour of border, background, and text - focused_workspace #2f343f #bf616a #d8dee8 - active_workspace #2f343f #2f343f #d8dee8 - inactive_workspace #2f343f #2f343f #d8dee8 - urgent_workspace #2f343f #ebcb8b #2f343f - } - status_command i3status - position top -} - -new_window 1pixel diff --git a/ubuntu/Desktop/.config/i3status/config b/ubuntu/Desktop/.config/i3status/config deleted file mode 100644 index e0d9a51..0000000 --- a/ubuntu/Desktop/.config/i3status/config +++ /dev/null @@ -1,46 +0,0 @@ -general { - output_format = "i3bar" - colors = false - markup = pango - interval = 5 - color_good = '#2f343f' - color_degraded = '#ebcb8b' - color_bad = '#ba5e57' -} - -order += "load" -order += "cpu_temperature 0" -order += "disk /" -order += "disk /home" -order += "ethernet enp1s0" -order += "wireless wlp2s0" -order += "volume master" -order += "battery 1" -order += "tztime local" - -load { - format = " %5min Load " -} - -cpu_temperature 0 { - format = " TEMP: %degrees °C " - path = "/sys/class/thermal/thermal_zone0/temp" -} - -disk "/" { - format = " HDD2: %free Free " -} - -volume master { - format = " VOL: %volume " - format_muted = "VOL: Muted " - device = "default" - mixer = "Master" - mixer_idx = 0 -} - - -tztime local { - format = " %time " - format_time = "%a %-d %b %H:%M" -} diff --git a/ubuntu/Desktop/.zshrc b/ubuntu/Desktop/.zshrc deleted file mode 100644 index 1456eb1..0000000 --- a/ubuntu/Desktop/.zshrc +++ /dev/null @@ -1,160 +0,0 @@ -# The following lines were added by compinstall - -zstyle ':completion:*' completer _complete _ignored -zstyle :compinstall filename '/home/chronos/user/.zshrc' - -autoload -Uz compinit -compinit -# End of lines added by compinstall -# Lines configured by zsh-newuser-install -HISTFILE=~/.histfile -HISTSIZE=1000 -SAVEHIST=1000 -unsetopt beep -bindkey -v -# End of lines configured by zsh-newuser-install - -#git clone https://github.com/zsh-users/zsh-syntax-highlighting.git -#echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc -#source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh - -# prompt stuff -autoload -U colors && colors -NEWLINE=$'\n' -export PROMPT="%{$fg[green]%}%n@%M %{$fg[cyan]%}%~ $ %{$reset_color%}" -setopt prompt_subst -autoload -Uz vcs_info -zstyle ':vcs_info:*' actionformats \ - '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f ' -zstyle ':vcs_info:*' formats \ - '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{5}]%f ' -zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r' - -zstyle ':vcs_info:*' enable git cvs svn - -# or use pre_cmd, see man zshcontrib -vcs_info_wrapper() { - vcs_info - if [ -n "$vcs_info_msg_0_" ]; then - echo "%{$fg[grey]%}${vcs_info_msg_0_}%{$reset_color%}$del" - fi -} -export RPROMPT=$'%@ $(vcs_info_wrapper) %?' -#other stuff - -# clear -# screenfetch - -#dont mess with this -alias ls="ls --color=auto" - -alias pip="python3 -m pip" - -# aliases - -#pandoc -alias docx="pandoc -s -o" - -alias school="cd /media/removable/SD\ Card/School" -alias sdcard="cd /media/removable/SD\ Card/" -alias ll="ls -l" -alias la="ls -a" -alias please='sudo $(history -p !!)' -# alias vi=vim -alias :q="exit" -alias :wq="exit" -alias cls=clear -alias zshreload="source ~/.zshrc" -alias lip="ip addr | grep inet | grep wlan0" -alias p4='ping 4.2.2.2 -c 4' - -sci(){ - if [ $# != 1 ]; then - crew -h - else - crew install $1 - fi -} - -search(){ - if [ $# != 1 ]; then - echo "please enter a name to search for" - else - ls | grep "$1" - fi -} - -csearch(){ - if [ $# != 1 ]; then - echo "Usage: csearch " - else - crew search | grep -e "$1" - fi -} - -mkcd() { - if [ $# != 1 ]; then - echo "Usage: mkcd " - else - mkdir -p $1 && cd $1 - fi -} - -cl() -{ - last_dir="$(ls -Frt | grep '/$' | tail -n1)" - if [ -d "$last_dir" ]; then - cd "$last_dir" - fi -} - -sud() { # do sudo, or sudo the last command if no argument given - if [[ $# == 0 ]]; then - sudo $(history -p '!!') - else - sudo "$@" - fi -} - -up(){ - local d="" - limit=$1 - for ((i=1 ; i <= limit ; i++)) - do - d=$d/.. - done - d=$(echo $d | sed 's/^\///') - if [ -z "$d" ]; then - d=.. - fi - cd $d -} - -extract () { - if [ -f $1 ] ; then - case $1 in - *.tar.bz2) tar xvjf $1 ;; - *.tar.gz) tar xvzf $1 ;; - *.bz2) bunzip2 $1 ;; - *.rar) unrar x $1 ;; - *.gz) gunzip $1 ;; - *.tar) tar xvf $1 ;; - *.tbz2) tar xvjf $1 ;; - *.tgz) tar xvzf $1 ;; - *.zip) unzip $1 ;; - *.Z) uncompress $1 ;; - *.7z) 7z x $1 ;; - *) echo "don't know how to extract '$1'..." ;; - esac - else - echo "'$1' is not a valid file!" - fi -} -#cls -#screenfetch -#source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh -#source /home/chronos/user/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh - -#eval $(thefuck --alias) -#export PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/local/share/texlive/2017/bin/x86_64-linux -#export MANPATH=/usr/local/share/man:/usr/share/man:/usr/local/share/texlive/2017/bin/texmf-dist/doc/man diff --git a/ubuntu/Laptop/.config/.compton.conf b/ubuntu/Laptop/.config/.compton.conf deleted file mode 100644 index d2df2bb..0000000 --- a/ubuntu/Laptop/.config/.compton.conf +++ /dev/null @@ -1,6 +0,0 @@ -# Fading -fading = true; # Fade windows during opacity changes. -fade-delta = 12; # The time between steps in a fade in milliseconds. (default 10). -fade-in-step = 0.15; # Opacity change between steps while fading in. (default 0.028). -fade-out-step = 0.15; # Opacity change between steps while fading out. (default 0.03). -no-fading-openclose = false; # Fade windows in/out when opening/closing. diff --git a/ubuntu/Laptop/.config/.zshrc b/ubuntu/Laptop/.config/.zshrc deleted file mode 100644 index e438006..0000000 --- a/ubuntu/Laptop/.config/.zshrc +++ /dev/null @@ -1,168 +0,0 @@ -# The following lines were added by compinstall - -zstyle ':completion:*' completer _complete _ignored -zstyle :compinstall filename '/home/chronos/user/.zshrc' - -autoload -Uz compinit -compinit -# End of lines added by compinstall -# Lines configured by zsh-newuser-install -HISTFILE=~/.histfile -HISTSIZE=1000 -SAVEHIST=1000 -unsetopt beep -bindkey -v -# End of lines configured by zsh-newuser-install - -#git clone https://github.com/zsh-users/zsh-syntax-highlighting.git -#echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc -#source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh - -# prompt stuff -autoload -U colors && colors -NEWLINE=$'\n' -export PROMPT="%{$fg[green]%}%n@%M %{$fg[cyan]%}%~ $ %{$reset_color%}" -setopt prompt_subst -autoload -Uz vcs_info -zstyle ':vcs_info:*' actionformats \ - '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f ' -zstyle ':vcs_info:*' formats \ - '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{5}]%f ' -zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r' - -zstyle ':vcs_info:*' enable git cvs svn - -# or use pre_cmd, see man zshcontrib -vcs_info_wrapper() { - vcs_info - if [ -n "$vcs_info_msg_0_" ]; then - echo "%{$fg[grey]%}${vcs_info_msg_0_}%{$reset_color%}$del" - fi -} -export RPROMPT=$'%@ $(vcs_info_wrapper) %?' -#other stuff - -# clear -# screenfetch - -#dont mess with this -alias ls="ls --color=auto" - -#alias pip="python3 -m pip" - -alias settings="env XDG_CURRENT_DESKTOP=GNOME gnome-control-center " - -# aliases - -#pandoc -alias docx="pandoc -s -o" - -#alias school="cd /media/removable/SD\ Card/School" -#alias sdcard="cd /media/removable/SD\ Card/" -alias ll="ls -l" -alias la="ls -a" -alias please='sudo $(history -p !!)' -# alias vi=vim -alias :q="exit" -alias :wq="exit" -alias cls=clear -alias zshreload="source ~/.zshrc" -alias lip="ip addr | grep inet | grep wlan0" -alias p4='ping 4.2.2.2 -c 4' -alias tracknjack="sudo /home/ewpratten/.local/bin/trackerjacker" - -sci(){ - if [ $# != 1 ]; then - crew -h - else - crew install $1 - fi -} - -search(){ - if [ $# != 1 ]; then - echo "please enter a name to search for" - else - ls | grep "$1" - fi -} - -csearch(){ - if [ $# != 1 ]; then - echo "Usage: csearch " - else - crew search | grep -e "$1" - fi -} - -mkcd() { - if [ $# != 1 ]; then - echo "Usage: mkcd " - else - mkdir -p $1 && cd $1 - fi -} - -cl() -{ - last_dir="$(ls -Frt | grep '/$' | tail -n1)" - if [ -d "$last_dir" ]; then - cd "$last_dir" - fi -} - -sud() { # do sudo, or sudo the last command if no argument given - if [[ $# == 0 ]]; then - sudo $(history -p '!!') - else - sudo "$@" - fi -} - -up(){ - local d="" - limit=$1 - for ((i=1 ; i <= limit ; i++)) - do - d=$d/.. - done - d=$(echo $d | sed 's/^\///') - if [ -z "$d" ]; then - d=.. - fi - cd $d -} - -extract () { - if [ -f $1 ] ; then - case $1 in - *.tar.bz2) tar xvjf $1 ;; - *.tar.gz) tar xvzf $1 ;; - *.bz2) bunzip2 $1 ;; - *.rar) unrar x $1 ;; - *.gz) gunzip $1 ;; - *.tar) tar xvf $1 ;; - *.tbz2) tar xvjf $1 ;; - *.tgz) tar xvzf $1 ;; - *.zip) unzip $1 ;; - *.Z) uncompress $1 ;; - *.7z) 7z x $1 ;; - *) echo "don't know how to extract '$1'..." ;; - esac - else - echo "'$1' is not a valid file!" - fi -} -#cls -#screenfetch -#source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh -#source /home/chronos/user/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh - -#eval $(thefuck --alias) -#export PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/local/share/texlive/2017/bin/x86_64-linux -#export MANPATH=/usr/local/share/man:/usr/share/man:/usr/local/share/texlive/2017/bin/texmf-dist/doc/man -#export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/jre" -export LD_LIBRARY="$LD_LIBRARY:/home/ewpratten/lib" -source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh - -export PATH="$PATH:/home/ewpratten/development/flutter/bin:/home/ewpratten/development/binalias:/home/ewpratten/bin:/home/ewpratten/bin/go/bin:/usr/lib/dart/bin" diff --git a/ubuntu/Laptop/.config/README.md b/ubuntu/Laptop/.config/README.md deleted file mode 100644 index 6541ab4..0000000 --- a/ubuntu/Laptop/.config/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Laptop config files - -My laptop is using the following programs: - - i3 gaps - - i3status - - compton - - nitrogen - - volumeicon-alsa - -backlight: - - https://www.reddit.com/r/i3wm/comments/ah2s78/tip_enable_keyboard_backlight_keys/ diff --git a/ubuntu/Laptop/.config/i3/config b/ubuntu/Laptop/.config/i3/config deleted file mode 100644 index af728d3..0000000 --- a/ubuntu/Laptop/.config/i3/config +++ /dev/null @@ -1,266 +0,0 @@ -# This file has been auto-generated by i3-config-wizard(1). -# It will not be overwritten, so edit it as you like. -# -# Should you change your keyboard layout some time, delete -# this file and re-run i3-config-wizard(1). -# - -# i3 config file (v4) -# -# Please see https://i3wm.org/docs/userguide.html for a complete reference! - -set $mod Mod4 - -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. -font pango:monospace 8 - -# This font is widely installed, provides lots of unicode glyphs, right-to-left -# text rendering and scalability on retina/hidpi displays (thanks to pango). -#font pango:DejaVu Sans Mono 8 - -# Before i3 v4.8, we used to recommend this one as the default: -# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -# The font above is very space-efficient, that is, it looks good, sharp and -# clear in small sizes. However, its unicode glyph coverage is limited, the old -# X core fonts rendering does not support right-to-left and this being a bitmap -# font, it doesn’t scale on retina/hidpi displays. - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod - -# start a terminal -bindsym $mod+Return exec i3-sensible-terminal - -# kill focused window -bindsym $mod+Shift+q kill - -# start dmenu (a program launcher) -#bindsym $mod+d exec dmenu_run - -# use rofi instead - -bindsym $mod+d exec rofi -show run - -# There also is the (new) i3-dmenu-desktop which only displays applications -# shipping a .desktop file. It is a wrapper around dmenu, so you need that -# installed. -# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop - -# settings -#byndsym $mod+Control+s exec env XDG_CURRENT_DESKTOP=GNOME gnome-control-center - -exec --no-startup-id nitrogen --restore -exec_always --no-startup-id compton -f -exec --no-startup-id nm-applet -exec --no-startup-id volumeicon -exec --no-startup-id kdeconnect-indicator - -# gaps - -gaps outer 0 -gaps inner 5 - -#smart_gaps on - -# windows style workspace switcher - -bindsym $mod+Control+Right workspace next -bindsym $mod+Control+Left workspace prev - -workspace_auto_back_and_forth yes - -# Set window focusing to only focus if requester is on screen - -focus_on_window_activation smart - -# Audio Manager - -bindsym $mod+Shift+a exec pavucontrol - -# window lock - -bindsym $mod+Control+l exec gnome-screensaver-command -l - -# locker -set $Locker i3lock -c 141414 && sleep 1 - -set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown -mode "$mode_system" { - bindsym l exec --no-startup-id $Locker, mode "default" - bindsym e exec --no-startup-id i3-msg exit, mode "default" - bindsym s exec --no-startup-id $Locker && systemctl suspend, mode "default" - bindsym h exec --no-startup-id $Locker && systemctl hibernate, mode "default" - bindsym r exec --no-startup-id systemctl reboot, mode "default" - bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default" - - # back to normal: Enter or Escape - bindsym Return mode "default" - bindsym Escape mode "default" -} - -bindsym $mod+Delete mode "$mode_system" - -# Go to sleep - -bindsym $mod+Shift+s exec systemctl suspend - -# Screen Shots -bindsym Print exec scrot '%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f ~/Pictures/' -bindsym Control+Print exec gnome-screenshot -i - -# Pulse Audio controls -bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume -bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume -bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound - -# Sreen brightness controls -bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness -bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness - -# Media player controls -bindsym XF86AudioPlay exec playerctl play -bindsym XF86AudioPause exec playerctl pause -bindsym XF86AudioNext exec playerctl next -bindsym XF86AudioPrev exec playerctl previous - -# change focus -bindsym $mod+j focus left -bindsym $mod+k focus down -bindsym $mod+l focus up -bindsym $mod+semicolon focus right - -# alternatively, you can use the cursor keys: -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# move focused window -bindsym $mod+Shift+j move left -bindsym $mod+Shift+k move down -bindsym $mod+Shift+l move up -bindsym $mod+Shift+semicolon move right - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# split in horizontal orientation -bindsym $mod+h split h - -# split in vertical orientation -bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -bindsym $mod+space focus mode_toggle - -# focus the parent container -bindsym $mod+a focus parent - -# focus the child container -#bindsym $mod+d focus child - -# Define names for default workspaces for which we configure key bindings later on. -# We use variables to avoid repeating the names in multiple places. -set $ws1 "1" -set $ws2 "2" -set $ws3 "3" -set $ws4 "4" -set $ws5 "5" -set $ws6 "6" -set $ws7 "7" -set $ws8 "8" -set $ws9 "9" -set $ws10 "10" - -# Auto-start programs -exec --no-startup-id i3msg "1"; exec /usr/bin/firefox - -# switch to workspace -bindsym $mod+1 workspace $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace $ws5 -bindsym $mod+6 workspace $ws6 -bindsym $mod+7 workspace $ws7 -bindsym $mod+8 workspace $ws8 -bindsym $mod+9 workspace $ws9 -bindsym $mod+0 workspace $ws10 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace $ws1 -bindsym $mod+Shift+2 move container to workspace $ws2 -bindsym $mod+Shift+3 move container to workspace $ws3 -bindsym $mod+Shift+4 move container to workspace $ws4 -bindsym $mod+Shift+5 move container to workspace $ws5 -bindsym $mod+Shift+6 move container to workspace $ws6 -bindsym $mod+Shift+7 move container to workspace $ws7 -bindsym $mod+Shift+8 move container to workspace $ws8 -bindsym $mod+Shift+9 move container to workspace $ws9 -bindsym $mod+Shift+0 move container to workspace $ws10 - -# reload the configuration file -bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart -# exit i3 (logs you out of your X session) -bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" - -# resize window (you can also use the mouse for that) -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym j resize shrink width 10 px or 10 ppt - bindsym k resize grow height 10 px or 10 ppt - bindsym l resize shrink height 10 px or 10 ppt - bindsym semicolon resize grow width 10 px or 10 ppt - - # same bindings, but for the arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt - - # back to normal: Enter or Escape or $mod+r - bindsym Return mode "default" - bindsym Escape mode "default" - bindsym $mod+r mode "default" -} - -bindsym $mod+r mode "resize" - -# Start i3bar to display a workspace bar (plus the system information i3status -# finds out, if available) -bar { - colors { - - # colour of border, background, and text - focused_workspace #2f343f #bf616a #d8dee8 - active_workspace #2f343f #2f343f #d8dee8 - inactive_workspace #2f343f #2f343f #d8dee8 - urgent_workspace #2f343f #ebcb8b #2f343f - } - status_command i3status - position top -} - -new_window 1pixel diff --git a/ubuntu/Laptop/.config/i3status/config b/ubuntu/Laptop/.config/i3status/config deleted file mode 100644 index 8ef83fa..0000000 --- a/ubuntu/Laptop/.config/i3status/config +++ /dev/null @@ -1,75 +0,0 @@ -general { - output_format = "i3bar" - colors = true - interval = 5 -} - -order += "load" -order += "cpu_temperature 0" -order += "disk /" -#order += "ethernet enp1s0" -#order += "wireless wlp2s0" -order += "wireless wlan0" -order += "ethernet eth0" -order += "volume master" -order += "battery 0" -order += "battery 1" -order += "tztime local" - -battery 0 { - format = "%status %percentage %remaining %emptytime" - format_down = "No battery" - status_chr = "⚡ CHR" - status_bat = "🔋 BAT" - status_unk = "? UNK" - status_full = "☻ FULL" - low_threshold = 10 -} -battery 1 { - format = "%status %percentage %remaining %emptytime" - format_down = "No battery" - status_chr = "⚡ CHR" - status_bat = "🔋 BAT" - status_unk = "? UNK" - status_full = "☻ FULL" - low_threshold = 10 -} - -load { - format = "%5min Load" -} - -cpu_temperature 0 { - format = "T: %degrees °C" - path = "/sys/devices/platform/coretemp.0/temp1_input" -} - -disk "/" { - format = "%free Free" -} - -volume master { - format = "♪: %volume" - format_muted = "♪: muted (%volume)" - device = "default" - mixer = "Master" - mixer_idx = 0 -} - - - -tztime local { - format = "%time" - format_time = "%a %-d %b %H:%M" -} - -wireless wlan0 { - format_up = "W: (%quality at %essid, %bitrate) %ip" - format_down = "W: down" -} - -ethernet eth0 { - # if you use %speed, i3status requires the cap_net_admin capability - format_up = "E: %ip (%speed)" - format_down = "E: down" -} diff --git a/ubuntu/Laptop/.config/i3status/config.backup b/ubuntu/Laptop/.config/i3status/config.backup deleted file mode 100644 index 3451891..0000000 --- a/ubuntu/Laptop/.config/i3status/config.backup +++ /dev/null @@ -1,65 +0,0 @@ -general { - output_format = "i3bar" - colors = false - markup = pango - interval = 5 - color_good = '#2f343f' - color_degraded = '#ebcb8b' - color_bad = '#ba5e57' -} - -order += "load" -order += "cpu_temperature 0" -order += "disk /" -order += "ethernet enp1s0" -order += "wireless wlp2s0" -order += "volume master" -order += "battery 0" -order += "battery 1" -order += "tztime local" - -battery 0 { - format = "%status %percentage %remaining" - format_down = "No battery" - status_chr = "⚡ CHR" - status_bat = "🔋 BAT" - status_unk = "? UNK" - status_full = "☻ FULL" - low_threshold = 10 -} -battery 1 { - format = "%status %percentage %remaining" - format_down = "No battery" - status_chr = "⚡ CHR" - status_bat = "🔋 BAT" - status_unk = "? UNK" - status_full = "☻ FULL" - low_threshold = 10 -} - -load { - format = " %5min Load " -} - -cpu_temperature 0 { - format = " TEMP: %degrees °C " - path = "/sys/class/thermal/thermal_zone0/temp" -} - -disk "/" { - format = " HDD2: %free Free " -} - -volume master { - format = " VOL: %volume " - format_muted = "VOL: Muted " - device = "default" - mixer = "Master" - mixer_idx = 0 -} - - -tztime local { - format = " %time " - format_time = "%a %-d %b %H:%M" -}