-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
101 lines (98 loc) · 2.73 KB
/
config.py
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
from os.path import expanduser
class System:
HOME_DIR = expanduser('~')
CONFIG_DIR = f"{HOME_DIR}/.config"
USR_SHARE_DIR = '/usr/share'
IMG_DIR = f"{HOME_DIR}/Immagini"
LOCAL_SHARE_DIR = f"{HOME_DIR}/.local/share"
configs = {
"kde" : {
"path": {
System.CONFIG_DIR : [
'albafetch/',
'autostart/',
'btop/',
'dolphinrc',
'fish/',
'flameshot/',
'flameshotrc',
'fontconfig/',
'kdedefaults/',
'konsolerc',
'krunnerrc',
'kscreenlockerrc',
'Kvantum/',
'kwinrc',
'latte',
'neofetch/',
'plasma-org.kde.plasma.desktop-appletsrc',
'plasmarc', 'powermanagementprofilesrc',
'xsettingsd/',
'yakuakerc'
],
System.HOME_DIR :[
'.alias.conf',
'.bash_profile',
'.bashrc',
'.bashrc1',
'.logseq/',
'.screenlayout/'
],
System.USR_SHARE_DIR : [
'defaultbg/'
],
System.IMG_DIR : [
'desktop.png',
'bg konsole.png',
'opera.jpg',
'icon/'
],
System.LOCAL_SHARE_DIR : [
'applications/',
'dolphin/',
'konsole/',
'plasma_icons/',
'uptime-record'
]
},
"msg" : lambda : print("saving KDE Plasma's config")
},
"hyprland" : {
"path" : {
System.CONFIG_DIR : [
"albafetch/",
"btop/",
"discord-screenaudio/",
"fish/",
"gtk-2.0/",
"gtk-3.0/",
"hypr/",
"hyprland-autoname-workspaces/",
"kitty/",
"Logseq/",
"neofetch/",
"nvim/",
"pipes-rs/",
"rofi/",
"scripts/",
"thunar/",
"waybar/",
"user-dirs.dirs",
"user-dirs.locale"
],
System.HOME_DIR : [
".logseq/",
".alias.conf",
".bash_profile",
".bashrc"
],
System.LOCAL_SHARE_DIR : [
"uptime-record"
],
System.IMG_DIR : [
"wallpaper/"
]
},
"msg" : lambda : print("saving Hyprland's config")
}
}