summarylogtreecommitdiffstats
path: root/dwm-9wm-rio.diff
blob: fbe4c1e75dead0fd3397e2c90eb0f79611f25945 (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
Patch made by Salonia Matteo <saloniamatteo@protonmail.com>
Made for saluto-lightdm-theme-dwm
Apply to Saluto/src/lightdm.js and to Saluto/src/components/SelectItem.vue
--- lightdm.js
+++ lightdm.js
@@ -19,7 +19,7 @@ if (window.lightdm_debug) {
 
     window.lightdm = {
         is_authenticated: false,
-        hostname: 'malorum',
+        hostname: 'arch',
         authentication_user: undefined,
         default_session: 'plasma-shell',
         can_suspend: true,
@@ -47,22 +47,27 @@ if (window.lightdm_debug) {
             {
                 name: 'xmonad',
                 key: 'xmonad'
-            }
+            },
+            {
+		name: 'dwm',
+		key: 'dwm'
+	    },
+            {
+		name: '9wm',
+		key: '9wm'
+	    },
+            {
+		name: 'rio',
+		key: 'rio'
+	    }
         ],
         users: [{
-            display_name: 'Marcus Tullius Cicero',
-            username: 'cicero',
-            image: 'cicero'
-        }, {
-            display_name: 'John Doe',
-            username: 'johnd'
+            display_name: 'User',
+            username: 'username'
         }],
         languages: [{
             name: 'American English',
             code: 'en_US.utf8'
-        }, {
-            name: 'Français',
-            code: 'fr_FR.utf8'
         }],
         language: 'American English',
         start_authentication: (username) => {
--- components/SelectItem.vue
+++ components/SelectItem.vue
@@ -72,6 +72,12 @@ export default {
                     icon = "liri";
                 } else if (key.indexOf("i3") > -1) {
                     icon = "i3";
+                } else if (key.indexOf("dwm") > -1) {
+                    icon = "dwm";
+                } else if (key.indexOf("9wm") > -1) {
+                    icon = "9wm";
+                } else if (key.indexOf("rio") > -1) {
+                    icon = "rio";
                 } else if (key.indexOf("xmonad") > -1) {
                     icon = "xmonad";
                 } else if (key.indexOf("budgie") > -1 || key.indexOf("solus") > -1) {