aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/interface.pp
blob: 4367627bf962aa7f884754e9dda9058cc4f3d0d3 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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,
  #}
}