dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | Submodules | README | LICENSE

20_debian_apt.sh (1684B)


      1 #!/bin/bash
      2 [[ "$(uname)" != "Linux" ]] && return 1
      3 [[ "$(cat /etc/issue 2> /dev/null)" =~ Debian ]] || return 1
      4 
      5 read -p "Do you want to install APT packages? [y/n] " -n 1 -r
      6 [[ "$REPLY" == [Nn]* ]] && return 1
      7 
      8 apt_packages=(
      9     apt-transport-https
     10     autossh
     11     bogofilter
     12     build-essential
     13     cmake
     14     colordiff
     15     curl
     16     dict
     17     dict-gcide
     18     dictd
     19     dunst
     20     elinks
     21     exuberant-ctags
     22     ffmpeg
     23     git
     24     haskell-platform
     25     highlight
     26     hsetroot
     27     htop
     28     i3
     29     i3blocks
     30     i3lock
     31     imagemagick
     32     imapfilter
     33     ipython
     34     jhead
     35     latexmk
     36     libnotify-bin
     37     locate
     38     mpc
     39     mpd
     40     mpv
     41     msmtp
     42     msmtp-gnome
     43     mutt
     44     notmuch
     45     notmuch-mutt
     46     ntp
     47     offlineimap
     48     okular
     49     paraview
     50     pass
     51     python-ipdb
     52     python-matplotlib
     53     python-numpy
     54     python-pip
     55     python-scipy
     56     redshift 
     57     ruby
     58     rxvt-unicode-256color
     59     screenfetch
     60     scrot
     61     shellcheck
     62     sshfs
     63     texlive
     64     texlive-full
     65     tig
     66     tmux
     67     tor
     68     urlview
     69     vim
     70     vim-nox
     71     w3m
     72     weechat
     73     weechat-plugins
     74     weechat-scripts
     75     wordnet
     76     xautolock
     77     xbacklight
     78     xbindkeys
     79     xautomation
     80     xdotool
     81     youtube-dl
     82     zathura
     83     zsh
     84 )
     85 
     86 #for package in "${apt_packages[@]}"; do
     87     #sudo apt -qq install "$package"
     88 #done
     89 sudo apt -qq install "${apt_packages[@]}"
     90 
     91 
     92 # configure xdg-open with `mimeopen -d <file>`
     93 # set zathura as default pdf viewer
     94 xdg-mime default zathura.desktop application/pdf
     95 xdg-mime default files.desktop inode/directory   # nautilus
     96 xdg-mime default eog.desktop image/jpeg
     97 xdg-mime default eog.desktop image/png
     98 xdg-mime default eog.desktop image/gif
     99 xdg-mime default eog.desktop image/bmp