aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/interface.pp
blob: d5035c243b4ba0a6b7aa576aa44f4dd3590076ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
class nodo::utils::interface inherits nodo::utils::interface::console {
  # Interface
  package { [ 'awesome',          'eterm',             'weather-util', 'gnome-terminal', 'conky',
              'xterm',            'xscreensaver',      'thunar',       'x11-apps',       'conky-all',
              'gtk-theme-switch', 'gtk-smooth-themes', 'rxvt',         'lxappearance',   'xdotool',
              'xtitle',           'xclip',             'pcmanfm',      'awesome-extra',  'numlockx',
              'metar',            'wmctrl',            'xsel',         'xinput',         'i3' ]:
    ensure => installed,
  }

  # Fonts
  package { [ 'xfonts-terminus', 'ttf-bitstream-vera', 'fonts-inconsolata' ]:
    ensure => installed,
  }

  package { 'rxvt-unicode':
    ensure => present,
    # We need a workaround for this:
    # https://bbs.archlinux.org/viewtopic.php?id=50647
    # http://linuxforcynics.com/how-to/using-rxvt-unicode-with-screen
    name   => $lsbdistcodename ? {
      'squeeze' => 'rxvt-unicode',
      default   => 'rxvt-unicode-256color',
    }
  }

  package { "terminology":
    ensure  => $::lsbdistcodename ? {
      'wheezy' => absent,
      default  => present,
    },
  }

  # Old stuff
  package { [ 'conkyforecast', 'fluxbox' ]:
    ensure => absent,
  }

  # To be considered
  #package { 'needrestart-session':
  #  ensure  => present,
  #}
}