/usr/share/sawfish/themes/absolute-metal/theme.jl is in sawfish-themes 0.13.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 | ;; absolute-metal/theme.jl
;; By Andrew S. Midthune
;; This theme is heavily derived from Dr. Harper's absolute-e theme and
;; retains his copyright and the Gnu GPL license it was originally released
;; under as part of the sawfish window manager.
;; Props to John Harper for his clean and elegant code, and tigert and
;; Hallvar Helleseth for their killer graphics.
;; Copyright (C) 1999 John Harper <john@dcs.warwick.ac.uk>
;; sawmill is free software; you can redistribute it and/or modify it
;; under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
;; sawmill is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with sawmill; see the file COPYING. If not, write to
;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
;; Some of the images in this theme are by tigert, it matches the GTK theme of
;; the same name; they were originally taken from Enlightenment 0.15
;; Some of the images in this theme are from Hallvar Helleseth's
;; Absolute E theme for Enlightenment
(let*
((bottom-images (list (make-image "border_bottom_normal.png")
(make-image "border_bottom_active.png")))
(top-images (list (make-image "border_top_normal.png")
(make-image "border_top_active.png")))
(right-images (list (flip-image-diagonally
(copy-image (nth 0 bottom-images)))
(flip-image-diagonally
(copy-image (nth 1 bottom-images)))))
(left-images (list (flip-image-diagonally
(copy-image (nth 0 top-images)))
(flip-image-diagonally
(copy-image (nth 1 top-images)))))
(top-left-images (list (make-image "corner_top_left_normal.png")
(make-image "corner_top_left_active.png")))
(bottom-left-images (list (make-image "corner_bottom_left_normal.png")
(make-image "corner_bottom_left_active.png")))
(top-right-images (list (make-image "corner_top_right_normal.png")
(make-image "corner_top_right_active.png")))
(bottom-right-images (list (make-image "corner_bottom_right_normal.png")
(make-image "corner_bottom_right_active.png")))
(title-images (list (set-image-border (make-image "bar_normal.png")
4 4 4 4)
(set-image-border (make-image "bar_active.png")
4 4 4 4)))
(close-images (list (set-image-border (make-image "bar_normal.png")
4 4 4 4)
(set-image-border (make-image "bar_active.png")
4 4 4 4)
(set-image-border (make-image "bar_hilited.png")
4 4 4 4)
(set-image-border (make-image "bar_clicked.png")
4 4 4 4)))
(close-icons (list (make-image "close_normal.png")
(make-image "close_active.png")))
(frame `(((background . ,left-images)
(left-edge . -4)
(top-edge . 0)
(bottom-edge . 0)
(class . left-border))
((background . ,right-images)
(right-edge . -4)
(top-edge . -15)
(bottom-edge . 0)
(class . right-border))
((background . ,bottom-images)
(left-edge . 0)
(right-edge . 0)
(bottom-edge . -4)
(class . bottom-border))
((background . ,top-right-images)
(right-edge . -4)
(top-edge . -19)
(class . top-right-corner))
((background . ,bottom-left-images)
(left-edge . -4)
(bottom-edge . -4)
(class . bottom-left-corner))
((background . ,bottom-right-images)
(right-edge . -4)
(bottom-edge . -4)
(class . bottom-right-corner))
((background . ,title-images)
(foreground . ("grey" "white" "white" "white"))
(text . ,window-name)
(x-justify . center)
(y-justify . center)
(left-edge . 15)
(right-edge . 0)
(top-edge . -19)
(height . 19)
(class . title))
((background . ,close-images)
(foreground . ,close-icons)
(x-justify . center)
(y-justify . center)
(left-edge . -4)
(top-edge . -19)
(width . 19)
(height . 19)
(class . close-button))))
(shaped-frame `(((background . ,bottom-images)
(left-edge . 0)
(right-edge . 0)
(top-edge . 0)
(class . bottom-border))
((background . ,right-images)
(right-edge . -4)
(top-edge . -19)
(height . 23)
(class . right-border))
((background . ,top-right-images)
(right-edge . -4)
(top-edge . -19)
(class . top-right-corner))
((background . ,bottom-left-images)
(left-edge . -4)
(top-edge . 0)
(class . bottom-left-corner))
((background . ,bottom-right-images)
(right-edge . -4)
(top-edge . 0)
(class . bottom-right-corner))
((background . ,title-images)
(foreground . ("grey" "white" "white" "white"))
(text . ,window-name)
(x-justify . center)
(y-justify . center)
(left-edge . 15)
(right-edge . 0)
(top-edge . -19)
(height . 19)
(class . title))
((background . ,close-images)
(foreground . ,close-icons)
(x-justify . center)
(y-justify . center)
(left-edge . -4)
(top-edge . -19)
(width . 19)
(height . 19)
(class . close-button))))
(transient-frame `(((background . ,top-images)
(left-edge . 0)
(right-edge . 0)
(top-edge . -4)
(class . title))
((background . ,bottom-images)
(left-edge . 0)
(right-edge . 0)
(bottom-edge . -4)
(class . bottom-border))
((background . ,left-images)
(left-edge . -4)
(top-edge . -4)
(bottom-edge . 0)
(class . left-border))
((background . ,right-images)
(right-edge . -4)
(top-edge . -4)
(bottom-edge . 0)
(class . right-border))
((background . ,top-left-images)
(left-edge . -4)
(top-edge . -4)
(class . top-left-corner))
((background . ,top-right-images)
(right-edge . -4)
(top-edge . -4)
(class . top-right-corner))
((background . ,bottom-left-images)
(left-edge . -4)
(bottom-edge . -4)
(class . bottom-left-corner))
((background . ,bottom-right-images)
(right-edge . -4)
(bottom-edge . -4)
(class . bottom-right-corner))))
(shaped-transient-frame `(((background . ,top-images)
(left-edge . 0)
(right-edge . 0)
(top-edge . -4)
(class . title))
((background . ,top-left-images)
(left-edge . -4)
(top-edge . -4)
(class . top-left-corner))
((background . ,top-right-images)
(right-edge . -4)
(top-edge . -4)
(class . top-right-corner)))))
(add-frame-style 'absolute-metal
(lambda (w type)
(case type
((default) frame)
((transient) transient-frame)
((shaped) shaped-frame)
((shaped-transient) shaped-transient-frame)))))
|