aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/interface.pp
blob: e772a17937d1d4a5c3207004d7d744655d009f4a (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
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',
              'xtitle',           'xclip',             'pcmanfm',      'awesome-extra',  'numlockx',
              'metar',            'wmctrl',            'xsel',         'xinput',         'i3' ]:
    ensure => installed,
  }

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

  # 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',
    }
  }

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